Skip to content

Commit 28f0ef7

Browse files
authored
feat: Add Python 3.9 & 3.10 support
* ci: add Python 3.9-310 to the build * fix: support Python 3.9-3.10 in trove classifiers
1 parent 4340c89 commit 28f0ef7

File tree

3 files changed

+18
-4
lines changed

3 files changed

+18
-4
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,32 @@ jobs:
2222
toxenv: "django22-py36"
2323
- python: "3.7"
2424
toxenv: "django22-py37"
25+
- python: "3.8"
26+
toxenv: "django22-py38"
27+
- python: "3.9"
28+
toxenv: "django22-py39"
2529
- python: "3.6"
2630
toxenv: "django30-py36"
2731
- python: "3.7"
2832
toxenv: "django30-py37"
2933
- python: "3.8"
3034
toxenv: "django30-py38"
35+
- python: "3.9"
36+
toxenv: "django30-py39"
3137
- python: "3.6"
3238
toxenv: "django31-py36"
3339
- python: "3.7"
3440
toxenv: "django31-py37"
3541
- python: "3.8"
3642
toxenv: "django31-py38"
43+
- python: "3.9"
44+
toxenv: "django31-py39"
3745
- python: "3.8"
3846
toxenv: "django32-py38"
47+
- python: "3.9"
48+
toxenv: "django32-py39"
49+
- python: "3.10"
50+
toxenv: "django32-py310"
3951

4052
name: "Python ${{ matrix.versions.python }} - ${{ matrix.versions.toxenv }}"
4153
runs-on: ubuntu-latest

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,7 @@
2323
"Programming Language :: Python :: 3.6",
2424
"Programming Language :: Python :: 3.7",
2525
"Programming Language :: Python :: 3.8",
26+
"Programming Language :: Python :: 3.9",
27+
"Programming Language :: Python :: 3.10",
2628
],
2729
)

tox.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
envlist =
55
django20-{py36,py37},
66
django21-{py36,py37},
7-
django22-{py36,py37},
8-
django30-{py36,py37,py38},
9-
django31-{py36,py37,py38},
10-
django32-{py36,py37,py38},
7+
django22-{py36,py37,py38,py39},
8+
django30-{py36,py37,py38,py39},
9+
django31-{py36,py37,py38,py39},
10+
django32-{py36,py37,py38,py39,py310},
1111
# run one of the tests again but with coverage
1212
coveralls-django21-py37,
1313
skipsdist = True

0 commit comments

Comments
 (0)