From 286458816562e119f15ea075d18d87ef1eb55988 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Fri, 8 Oct 2021 18:19:48 +0300 Subject: [PATCH] Add support for Python 3.10 (#461) --- .github/workflows/test.yml | 2 +- noxfile.py | 2 +- setup.py | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ccee0ce5..d6a30afb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,7 +19,7 @@ jobs: matrix: os: [Ubuntu, Windows, macOS] python_version: - ["3.6", "3.7", "3.8", "3.9", "pypy3"] + ["3.6", "3.7", "3.8", "3.9", "3.10", "pypy3"] exclude: # This is failing due to pip not being in the virtual environment. # https://github.com/pypa/packaging/runs/424785871#step:7:9 diff --git a/noxfile.py b/noxfile.py index ed9ad47d..d5389b50 100644 --- a/noxfile.py +++ b/noxfile.py @@ -21,7 +21,7 @@ nox.options.reuse_existing_virtualenvs = True -@nox.session(python=["3.6", "3.7", "3.8", "3.9", "pypy3"]) +@nox.session(python=["3.6", "3.7", "3.8", "3.9", "3.10", "pypy3"]) def tests(session): def coverage(*args): session.run("python", "-m", "coverage", *args) diff --git a/setup.py b/setup.py index 47051910..419aa284 100644 --- a/setup.py +++ b/setup.py @@ -61,6 +61,7 @@ "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", ],