Skip to content

Commit aeae4c1

Browse files
authored
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
1 parent 3e73d1e commit aeae4c1

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

.circleci/config.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,22 @@ jobs:
7171
steps:
7272
- run-tox:
7373
version: py39
74+
py310:
75+
docker:
76+
- image: 'cimg/python:3.10'
77+
steps:
78+
- run-tox:
79+
version: py310
80+
sphinx-version: "42,43,44,45,50,51,latest"
7481

7582
workflows:
7683
version: 2
7784
tests:
7885
jobs:
7986
- build
87+
- py310:
88+
requires:
89+
- build
8090
- py39:
8191
requires:
8292
- build

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ classifiers =
2424
Programming Language :: Python :: 3.7
2525
Programming Language :: Python :: 3.8
2626
Programming Language :: Python :: 3.9
27+
Programming Language :: Python :: 3.10
2728
Operating System :: OS Independent
2829
Topic :: Documentation
2930
Topic :: Software Development :: Documentation

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
envlist =
33
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,}
44
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,}
5+
py{310}-sphinx{42,43,44,45,50,51,latest}{-html4,-html5,}{-qa,}
56

67
[testenv]
78
setev =

0 commit comments

Comments
 (0)