Skip to content

Commit

Permalink
Declare support for Python 3.12 (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
gotmax23 authored Oct 5, 2023
1 parent b1ab833 commit c43b43d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- name: Setup nox
uses: wntrblm/nox@2023.04.22
with:
python-versions: "3.9, 3.10, 3.11"
python-versions: "3.9, 3.10, 3.11, 3.12"
- name: Run unit tests
run: |
nox -v -e test
Expand Down
4 changes: 2 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ def install(session: nox.Session, *args, editable=False, **kwargs):
session.install(*args, "-U", **kwargs)


@nox.session(python=["3.9", "3.10", "3.11"])
@nox.session(python=["3.9", "3.10", "3.11", "3.12"])
def test(session: nox.Session):
install(session, ".[test, coverage]", editable=True)
covfile = Path(session.create_tmp(), ".coverage")
more_args = []
if session.python == "3.11":
if session.python == "3.12":
more_args.append("--error-for-skips")
session.run(
"pytest",
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Typing :: Typed",
]
dependencies = [
Expand Down

0 comments on commit c43b43d

Please sign in to comment.