diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6b6a5cc8..9c122f79 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,7 +23,7 @@ jobs: matrix: os: [Ubuntu, Windows, macOS] python_version: - ["3.7", "3.8", "3.9", "3.10", "pypy3.7", "pypy3.8", "pypy3.9"] + ["3.7", "3.8", "3.9", "3.10", "3.11-dev", "pypy3.7", "pypy3.8", "pypy3.9"] steps: - uses: actions/checkout@v3 @@ -35,4 +35,9 @@ jobs: cache: "pip" - name: Run nox - run: pipx run nox --error-on-missing-interpreters -s tests-${{ matrix.python_version }} + run: | + # Need to remove "-dev" suffix + INTERPRETER=${{ matrix.python_version }} + INTERPRETER=${INTERPRETER/-dev/} + pipx run nox --error-on-missing-interpreters -s tests-${INTERPRETER} + shell: bash diff --git a/noxfile.py b/noxfile.py index 768ef8b8..cd334173 100644 --- a/noxfile.py +++ b/noxfile.py @@ -21,7 +21,9 @@ nox.options.reuse_existing_virtualenvs = True -@nox.session(python=["3.7", "3.8", "3.9", "3.10", "pypy3.7", "pypy3.8", "pypy3.9"]) +@nox.session( + python=["3.7", "3.8", "3.9", "3.10", "3.11", "pypy3.7", "pypy3.8", "pypy3.9"] +) def tests(session): def coverage(*args): session.run("python", "-m", "coverage", *args) diff --git a/setup.py b/setup.py index d2cb3eea..b81d6330 100644 --- a/setup.py +++ b/setup.py @@ -60,6 +60,7 @@ "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", ],