mirror of
https://github.com/readthedocs/sphinx_rtd_theme.git
synced 2025-02-25 18:55:21 -06:00
Add Python 3.10 support (#1334)
* Add Python 3.10 support * Add new Sphinx versions to tox test matrix, but do not allow docutils >= 0.17 on Sphinx>=4.3 * Stop py2 and py27 support from sphinxlatest because of build breakage * Circle CI: Repeat sphinx versions for Python 2.7 (pending adjustments) * tox.ini config: Ensure that we are getting the expected Sphinx version * Set sphinx versions for Python 3.10
This commit is contained in:
parent
3e73d1ea1c
commit
aeae4c1cf6
@ -71,12 +71,22 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- run-tox:
|
- run-tox:
|
||||||
version: py39
|
version: py39
|
||||||
|
py310:
|
||||||
|
docker:
|
||||||
|
- image: 'cimg/python:3.10'
|
||||||
|
steps:
|
||||||
|
- run-tox:
|
||||||
|
version: py310
|
||||||
|
sphinx-version: "42,43,44,45,50,51,latest"
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
tests:
|
tests:
|
||||||
jobs:
|
jobs:
|
||||||
- build
|
- build
|
||||||
|
- py310:
|
||||||
|
requires:
|
||||||
|
- build
|
||||||
- py39:
|
- py39:
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
|
@ -24,6 +24,7 @@ classifiers =
|
|||||||
Programming Language :: Python :: 3.7
|
Programming Language :: Python :: 3.7
|
||||||
Programming Language :: Python :: 3.8
|
Programming Language :: Python :: 3.8
|
||||||
Programming Language :: Python :: 3.9
|
Programming Language :: Python :: 3.9
|
||||||
|
Programming Language :: Python :: 3.10
|
||||||
Operating System :: OS Independent
|
Operating System :: OS Independent
|
||||||
Topic :: Documentation
|
Topic :: Documentation
|
||||||
Topic :: Software Development :: Documentation
|
Topic :: Software Development :: Documentation
|
||||||
|
1
tox.ini
1
tox.ini
@ -2,6 +2,7 @@
|
|||||||
envlist =
|
envlist =
|
||||||
py{2,27}-sphinx{16,17,18,20,21,22,23,24,30,31,32,33,34,35,40,41,42,43,44,45,50,51}{-html4,-html5,}{-qa,}
|
py{2,27}-sphinx{16,17,18,20,21,22,23,24,30,31,32,33,34,35,40,41,42,43,44,45,50,51}{-html4,-html5,}{-qa,}
|
||||||
py{3,36,37,38,39}-sphinx{16,17,18,20,21,22,23,24,30,31,32,33,34,35,40,41,42,43,44,45,50,51,latest}{-html4,-html5,}{-qa,}
|
py{3,36,37,38,39}-sphinx{16,17,18,20,21,22,23,24,30,31,32,33,34,35,40,41,42,43,44,45,50,51,latest}{-html4,-html5,}{-qa,}
|
||||||
|
py{310}-sphinx{42,43,44,45,50,51,latest}{-html4,-html5,}{-qa,}
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
setev =
|
setev =
|
||||||
|
Loading…
Reference in New Issue
Block a user