Merge pull request #9712 from sphinx-doc/support_py310

Support Python 3.10
This commit is contained in:
Takeshi KOMIYA 2021-10-09 13:54:08 +09:00 committed by GitHub
commit 7dc4a75019
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 5 deletions

View File

@ -8,7 +8,7 @@ jobs:
strategy:
fail-fast: false
matrix:
name: [py36, py37, py38, py39]
name: [py36, py37, py38, py39, py310]
include:
- name: py36
python: 3.6
@ -23,9 +23,12 @@ jobs:
python: 3.9
docutils: du17
coverage: "--cov ./ --cov-append --cov-config setup.cfg"
- name: py310-dev
python: 3.10-dev
- name: py310
python: "3.10"
docutils: du17
- name: py311-dev
python: 3.11-dev
docutils: py311
env:
PYTEST_ADDOPTS: ${{ matrix.coverage }}

View File

@ -4,6 +4,8 @@ Release 4.3.0 (in development)
Dependencies
------------
* Support Python 3.10
Incompatible changes
--------------------

View File

@ -207,6 +207,7 @@ setup(
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Framework :: Setuptools Plugin',

View File

@ -1,6 +1,6 @@
[tox]
minversion = 2.4.0
envlist = docs,flake8,mypy,twine,coverage,py{36,37,38,39},du{14,15,16,17}
envlist = docs,flake8,mypy,twine,coverage,py{36,37,38,39,310},du{14,15,16,17}
[testenv]
usedevelop = True
@ -15,13 +15,14 @@ passenv =
EPUBCHECK_PATH
TERM
description =
py{36,37,38,39}: Run unit tests against {envname}.
py{36,37,38,39,310}: Run unit tests against {envname}.
du{12,13,14}: Run unit tests with the given version of docutils.
deps =
du14: docutils==0.14.*
du15: docutils==0.15.*
du16: docutils==0.16.*
du17: docutils==0.17.*
py311: git+https://github.com/pytest-dev/py
extras =
test
setenv =