From 19d41f8ec94ab0148d2f09a5d560ae237a87ffdb Mon Sep 17 00:00:00 2001 From: Tres Seaver Date: Thu, 7 Oct 2021 13:05:19 -0400 Subject: [PATCH] feat: add support for Python 3.10 (#882) --- CONTRIBUTING.rst | 2 +- noxfile.py | 2 +- setup.py | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 0e784af48..255f33c74 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -19,7 +19,7 @@ A few notes on making changes to ``google-auth-library-python``. using ``nox -s docgen``. - The change must work fully on the following CPython versions: - 3.6, 3.7, 3.8, 3.9 across macOS, Linux, and Windows. + 3.6, 3.7, 3.8, 3.9, 3.10 across macOS, Linux, and Windows. - The codebase *must* have 100% test statement coverage after each commit. You can test coverage via ``nox -e cover``. diff --git a/noxfile.py b/noxfile.py index caeb2725a..2e6e88971 100644 --- a/noxfile.py +++ b/noxfile.py @@ -86,7 +86,7 @@ def blacken(session): session.run("black", *BLACK_PATHS) -@nox.session(python=["3.6", "3.7", "3.8", "3.9"]) +@nox.session(python=["3.6", "3.7", "3.8", "3.9", "3.10"]) def unit(session): constraints_path = str( CURRENT_DIRECTORY / "testing" / f"constraints-{session.python}.txt" diff --git a/setup.py b/setup.py index 54a2c900b..343e660f1 100644 --- a/setup.py +++ b/setup.py @@ -63,6 +63,7 @@ "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License",