summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Lulek <info@webreactor.eu>2022-01-07 13:22:32 +0100
committerMarcin Lulek <info@webreactor.eu>2022-01-07 13:22:32 +0100
commit513d88c0627a31bd99404bc74cb3175c61a82296 (patch)
treed812b03a58219819be3f5495ab9f9843949d7b6c
parent0b24ac16cc04746b25cf460f1497c157f6d3d6f4 (diff)
downloadpyramid-513d88c0627a31bd99404bc74cb3175c61a82296.tar.gz
pyramid-513d88c0627a31bd99404bc74cb3175c61a82296.tar.bz2
pyramid-513d88c0627a31bd99404bc74cb3175c61a82296.zip
Add support for Python 3.10
-rw-r--r--.github/workflows/ci-tests.yml1
-rw-r--r--HACKING.txt8
-rw-r--r--docs/narr/install.rst2
-rw-r--r--setup.py1
-rw-r--r--tox.ini2
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