Skip to content

Commit c985ba5

Browse files
committed
Test and document Python 3.9 support
1 parent 063f2ae commit c985ba5

File tree

5 files changed

+9
-7
lines changed

5 files changed

+9
-7
lines changed

.github/workflows/linting.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ jobs:
2323

2424
steps:
2525
- uses: actions/checkout@v2
26-
- name: Set up Python 3.8
27-
uses: actions/setup-python@v1
26+
- name: Set up Python 3.9
27+
uses: actions/setup-python@v2
2828
with:
29-
python-version: 3.8
29+
python-version: 3.9
3030

3131
# Setup Caching
3232
- name: pip cache

news/8971.feature.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Support Python 3.9.

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def should_update_common_wheels():
6969
# completely to nox for all our automation. Contributors should prefer using
7070
# `tox -e ...` until this note is removed.
7171
# -----------------------------------------------------------------------------
72-
@nox.session(python=["2.7", "3.5", "3.6", "3.7", "3.8", "pypy", "pypy3"])
72+
@nox.session(python=["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "pypy", "pypy3"])
7373
def test(session):
7474
# Get the common wheels.
7575
if should_update_common_wheels():

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ def get_version(rel_path):
4747
"Programming Language :: Python :: 3.6",
4848
"Programming Language :: Python :: 3.7",
4949
"Programming Language :: Python :: 3.8",
50+
"Programming Language :: Python :: 3.9",
5051
"Programming Language :: Python :: Implementation :: CPython",
5152
"Programming Language :: Python :: Implementation :: PyPy",
5253
],

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
minversion = 3.4.0
33
envlist =
44
docs, packaging, lint, vendoring,
5-
py27, py35, py36, py37, py38, pypy, pypy3
5+
py27, py35, py36, py37, py38, py39, pypy, pypy3
66

77
[helpers]
88
# Wrapper for calls to pip that make sure the version being used is the
@@ -49,7 +49,7 @@ setenv =
4949
[testenv:docs]
5050
# Don't skip install here since pip_sphinxext uses pip's internals.
5151
deps = -r{toxinidir}/tools/requirements/docs.txt
52-
basepython = python3.8
52+
basepython = python3
5353
commands =
5454
sphinx-build -W -d {envtmpdir}/doctrees/html -b html docs/html docs/build/html
5555
# Having the conf.py in the docs/html is weird but needed because we
@@ -66,7 +66,7 @@ commands =
6666
pre-commit run [] --all-files --show-diff-on-failure
6767

6868
[testenv:vendoring]
69-
basepython = python3.8
69+
basepython = python3
7070
skip_install = True
7171
commands_pre =
7272
deps =

0 commit comments

Comments
 (0)