mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #9712 from sphinx-doc/support_py310
Support Python 3.10
This commit is contained in:
commit
7dc4a75019
9
.github/workflows/main.yml
vendored
9
.github/workflows/main.yml
vendored
@ -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 }}
|
||||
|
||||
|
2
CHANGES
2
CHANGES
@ -4,6 +4,8 @@ Release 4.3.0 (in development)
|
||||
Dependencies
|
||||
------------
|
||||
|
||||
* Support Python 3.10
|
||||
|
||||
Incompatible changes
|
||||
--------------------
|
||||
|
||||
|
1
setup.py
1
setup.py
@ -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',
|
||||
|
5
tox.ini
5
tox.ini
@ -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 =
|
||||
|
Loading…
Reference in New Issue
Block a user