Skip to content

Commit 292d9fc

Browse files
committed
feat: support Python 3.10
Adds official support for Python 3.10 by including this version in the test suite.
1 parent 43979c1 commit 292d9fc

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Set up Python 3.8
2828
uses: actions/setup-python@v2
2929
with:
30-
python-version: 3.8
30+
python-version: "3.10"
3131
- name: Install tox
3232
run: |
3333
python -m pip install --upgrade pip
@@ -52,7 +52,7 @@ jobs:
5252
strategy:
5353
max-parallel: 4
5454
matrix:
55-
python-version: [3.7, 3.8, 3.9]
55+
python-version: ["3.7", "3.8", "3.9", "3.10"]
5656

5757
steps:
5858
- name: Clone repo

tox.ini

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = coverage-clean,test-py{37,38,39}, check, coverage
2+
envlist = coverage-clean,test-py{37,38,39,310}, check, coverage
33

44
[testenv]
55
extras = test
@@ -18,7 +18,7 @@ commands = coverage erase
1818
depends =
1919

2020
[testenv:coverage]
21-
depends = test-py{37,38}
21+
depends = test-py{37,38,39,310}
2222
deps =
2323
coverage
2424
skip_install = true
@@ -41,3 +41,4 @@ python =
4141
3.7: py37, coverage
4242
3.8: py38, coverage
4343
3.9: py39, coverage
44+
3.10: py310, coverage

0 commit comments

Comments
 (0)