Skip to content

Commit c4aef65

Browse files
Add support for Python 3.9
This also updates the tox minversion to a very recent version in hopes of triggering tox provisioning, which seems to avoid tox-dev/tox#1484
1 parent 911263a commit c4aef65

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

.github/workflows/validation.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
runs-on: ubuntu-latest
66
strategy:
77
matrix:
8-
python-version: [3.5, 3.6, 3.7, 3.8]
8+
python-version: [3.5, 3.6, 3.7, 3.8, 3.9]
99
steps:
1010
- uses: actions/checkout@v2
1111
- uses: actions/setup-python@v2

setup.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ def read(fname):
3939
'filelock>=3.0',
4040
'pytest>=3.5',
4141
'mypy>=0.500; python_version<"3.8"',
42-
'mypy>=0.700; python_version>="3.8"',
42+
'mypy>=0.700; python_version>="3.8" and python_version<"3.9"',
43+
'mypy>=0.780; python_version>="3.9"',
4344
],
4445
classifiers=[
4546
'Development Status :: 4 - Beta',
@@ -52,6 +53,7 @@ def read(fname):
5253
'Programming Language :: Python :: 3.6',
5354
'Programming Language :: Python :: 3.7',
5455
'Programming Language :: Python :: 3.8',
56+
'Programming Language :: Python :: 3.9',
5557
'Programming Language :: Python :: Implementation :: CPython',
5658
'Operating System :: OS Independent',
5759
'License :: OSI Approved :: MIT License',

tox.ini

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
# For more information about tox, see https://tox.readthedocs.io/en/latest/
22
[tox]
3-
min_version = 3.7.0
3+
minversion = 3.20
44
isolated_build = true
55
envlist =
66
py35-pytest{3.5, 3.x, 4.0, 4.x, 5.0, 5.x, 6.0, 6.x}-mypy{0.50, 0.5x, 0.60, 0.6x, 0.70, 0.7x}
77
py36-pytest{3.5, 3.x, 4.0, 4.x, 5.0, 5.x, 6.0, 6.x}-mypy{0.50, 0.5x, 0.60, 0.6x, 0.70, 0.7x}
88
py37-pytest{3.5, 3.x, 4.0, 4.x, 5.0, 5.x, 6.0, 6.x}-mypy{0.50, 0.5x, 0.60, 0.6x, 0.70, 0.7x}
99
py38-pytest{3.5, 3.x, 4.0, 4.x, 5.0, 5.x, 6.0, 6.x}-mypy{0.71, 0.7x}
10+
py39-pytest{3.5, 3.x, 4.0, 4.x, 5.0, 5.x, 6.0, 6.x}-mypy{0.78, 0.7x}
1011
publish
1112
static
1213

@@ -16,6 +17,7 @@ python =
1617
3.6: py36-pytest{3.5, 3.x, 4.0, 4.x, 5.0, 5.x, 6.0, 6.x}-mypy{0.50, 0.5x, 0.60, 0.6x, 0.70, 0.7x}
1718
3.7: py37-pytest{3.5, 3.x, 4.0, 4.x, 5.0, 5.x, 6.0, 6.x}-mypy{0.50, 0.5x, 0.60, 0.6x, 0.70, 0.7x}
1819
3.8: py38-pytest{3.5, 3.x, 4.0, 4.x, 5.0, 5.x, 6.0, 6.x}-mypy{0.71, 0.7x}, publish, static
20+
3.9: py39-pytest{3.5, 3.x, 4.0, 4.x, 5.0, 5.x, 6.0, 6.x}-mypy{0.78, 0.7x}
1921

2022
[testenv]
2123
deps =

0 commit comments

Comments
 (0)