From 513d88c0627a31bd99404bc74cb3175c61a82296 Mon Sep 17 00:00:00 2001 From: Marcin Lulek Date: Fri, 7 Jan 2022 13:22:32 +0100 Subject: Add support for Python 3.10 --- .github/workflows/ci-tests.yml | 1 + HACKING.txt | 8 ++++---- docs/narr/install.rst | 2 +- setup.py | 1 + tox.ini | 2 +- 5 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index 625c6a60f..2680ac779 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -19,6 +19,7 @@ jobs: - "3.7" - "3.8" - "3.9" + - "3.10" - "pypy3" os: - "ubuntu-latest" diff --git a/HACKING.txt b/HACKING.txt index b9cdcc940..86f916f3f 100644 --- a/HACKING.txt +++ b/HACKING.txt @@ -50,7 +50,7 @@ In order to add a feature to Pyramid: - The feature must be documented in both the API and narrative documentation (in `docs/`). -- The feature must work fully on the following CPython versions: 3.6, 3.7, 3.8, and 3.9 on both UNIX and Windows. +- The feature must work fully on the following CPython versions: 3.6, 3.7, 3.8, 3.9 and 3.10 on both UNIX and Windows. - The feature must work on the latest version of PyPy3. @@ -80,9 +80,9 @@ Running Tests $ $TOX -e py - To run `tox` for Python 3.9 explicitly, you may use: + To run `tox` for Python 3.10 explicitly, you may use: - $ $TOX -e py39 + $ $TOX -e py310 - To run individual tests (i.e., during development), you can use `pytest` syntax as follows, where `$VENV` is an environment variable set to the path @@ -103,7 +103,7 @@ Test Coverage ------------- - The codebase *must* have 100% test statement coverage after each commit. You - can test coverage via `tox -e py39`. + can test coverage via `tox -e py310`. Documentation Coverage and Building HTML Documentation diff --git a/docs/narr/install.rst b/docs/narr/install.rst index 1801f3c9a..09e2ddc72 100644 --- a/docs/narr/install.rst +++ b/docs/narr/install.rst @@ -21,7 +21,7 @@ the following sections. .. sidebar:: Python Versions - As of this writing, :app:`Pyramid` is tested against Python 3.6, 3.7, 3.8, and 3.9 and PyPy3. + As of this writing, :app:`Pyramid` is tested against Python 3.6, 3.7, 3.8, 3.9 and 3.10 and PyPy3. :app:`Pyramid` is known to run on all popular Unix-like systems such as Linux, macOS, and FreeBSD, as well as on Windows platforms. It is also known to diff --git a/setup.py b/setup.py index aae4e80e9..3e17527e8 100644 --- a/setup.py +++ b/setup.py @@ -77,6 +77,7 @@ setup( "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", "Framework :: Pyramid", diff --git a/tox.ini b/tox.ini index f90bd9166..1fa025639 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] envlist = lint, - py36,py37,py38,py39,pypy3, + py36,py37,py38,py39,py310,pypy3, py38-cover,coverage, docs -- cgit v1.2.3