Skip to content

Commit

Permalink
Add support for Python 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
stevepiercy committed Nov 3, 2020
1 parent ea0bd65 commit ab40bda
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
- "3.6"
- "3.7"
- "3.8"
- "3.9"
- "pypy3"
os:
- "ubuntu-latest"
Expand Down
3 changes: 3 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ unreleased
Features
--------

- Add support for Python 3.9.
See https://github.com/Pylons/pyramid/issue/3622

- The ``aslist`` method now handles non-string object when flattening.
See https://github.com/Pylons/pyramid/pull/3594

Expand Down
8 changes: 4 additions & 4 deletions HACKING.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.5, 3.6, 3.7, and 3.8 on both UNIX and Windows.
- The feature must work fully on the following CPython versions: 3.5, 3.6, 3.7, 3.8, and 3.9 on both UNIX and Windows.

- The feature must work on the latest version of PyPy3.

Expand Down Expand Up @@ -80,9 +80,9 @@ Running Tests

$ $TOX -e py

To run `tox` for Python 3.8 explicitly, you may use:
To run `tox` for Python 3.9 explicitly, you may use:

$ $TOX -e py38
$ $TOX -e py39

- 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
Expand All @@ -103,7 +103,7 @@ Test Coverage
-------------

- The codebase *must* have 100% test statement coverage after each commit. You
can test coverage via `tox -e py38`.
can test coverage via `tox -e py39`.


Documentation Coverage and Building HTML Documentation
Expand Down
2 changes: 1 addition & 1 deletion docs/narr/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ the following sections.

.. sidebar:: Python Versions

As of this writing, :app:`Pyramid` is tested against Python 3.5, 3.6, Python 3.7, Python 3.8, and PyPy3.
As of this writing, :app:`Pyramid` is tested against Python 3.5, 3.6, 3.7, 3.8, and 3.9 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
Expand Down
1 change: 1 addition & 0 deletions docs/narr/upgrading.rst
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ Python is when security updates are no longer released.
- `Python 3.6 Lifespan <https://devguide.python.org/#status-of-python-branches>`_ 2021-12-23.
- `Python 3.7 Lifespan <https://devguide.python.org/#status-of-python-branches>`_ 2023-06-27.
- `Python 3.8 Lifespan <https://devguide.python.org/#status-of-python-branches>`_ 2024-10-??.
- `Python 3.9 Lifespan <https://devguide.python.org/#status-of-python-branches>`_ TBD.

To determine the Python support for a specific release of Pyramid, view its
``tox.ini`` file at the root of the repository's version.
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ def readfile(name):
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Framework :: Pyramid",
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
envlist =
lint,
py35,py36,py37,py38,pypy3,
py35,py36,py37,py38,py39,pypy3,
py38-cover,coverage,
docs

Expand Down

0 comments on commit ab40bda

Please sign in to comment.