Skip to content

Commit f13ad80

Browse files
committed
Support Python 3.10
1 parent c922189 commit f13ad80

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
name: [py36, py37, py38, py39]
11+
name: [py36, py37, py38, py39, py310]
1212
include:
1313
- name: py36
1414
python: 3.6
@@ -23,8 +23,11 @@ jobs:
2323
python: 3.9
2424
docutils: du17
2525
coverage: "--cov ./ --cov-append --cov-config setup.cfg"
26-
- name: py310-dev
27-
python: 3.10-dev
26+
- name: py310
27+
python: "3.10"
28+
docutils: du17
29+
- name: py311-dev
30+
python: 3.11-dev
2831
docutils: du17
2932
env:
3033
PYTEST_ADDOPTS: ${{ matrix.coverage }}

CHANGES

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ Release 4.3.0 (in development)
44
Dependencies
55
------------
66

7+
* Support Python 3.10
8+
79
Incompatible changes
810
--------------------
911

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ def _run_domain_js(self, domain):
207207
'Programming Language :: Python :: 3.7',
208208
'Programming Language :: Python :: 3.8',
209209
'Programming Language :: Python :: 3.9',
210+
'Programming Language :: Python :: 3.10',
210211
'Programming Language :: Python :: Implementation :: CPython',
211212
'Programming Language :: Python :: Implementation :: PyPy',
212213
'Framework :: Setuptools Plugin',

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
minversion = 2.4.0
3-
envlist = docs,flake8,mypy,twine,coverage,py{36,37,38,39},du{14,15,16,17}
3+
envlist = docs,flake8,mypy,twine,coverage,py{36,37,38,39,310},du{14,15,16,17}
44

55
[testenv]
66
usedevelop = True
@@ -15,7 +15,7 @@ passenv =
1515
EPUBCHECK_PATH
1616
TERM
1717
description =
18-
py{36,37,38,39}: Run unit tests against {envname}.
18+
py{36,37,38,39,310}: Run unit tests against {envname}.
1919
du{12,13,14}: Run unit tests with the given version of docutils.
2020
deps =
2121
du14: docutils==0.14.*

0 commit comments

Comments
 (0)