22# You may add new sections, but any changes made to the following sections will be lost:
33# * tox
44# * envlists
5- # * testenv
65# * testenv:docs
76# * testenv:build
87# * testenv:lint
1817
1918[tox]
2019envlist =
21- py36-sphinx{3.2,3. 3,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5}
22- py37-sphinx{3.2,3.3 ,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5,5.0,5.1}
23- py38-sphinx{3.2,3.3 ,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5,5.0,5.1}
24- py39-sphinx{3.2,3.3 ,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5,5.0,5.1}
25- py310-sphinx{3.2,3.3 ,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5,5.0,5.1}
26- py311-dev-sphinx{3.2,3.3 ,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5,5.0,5.1}
20+ py36-sphinx{3.3,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5}
21+ py37-sphinx{3.3 ,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5,5.0,5.1,5.2 }
22+ py38-sphinx{3.3 ,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5,5.0,5.1,5.2 }
23+ py39-sphinx{3.3 ,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5,5.0,5.1,5.2 }
24+ py310-sphinx{3.3 ,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5,5.0,5.1,5.2 }
25+ py311-dev-sphinx{3.3 ,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5,5.0,5.1,5.2 }
2726 py36-docutils{0.16}
2827 py37-docutils{0.16,0.17,0.18}
2928 py38-docutils{0.16,0.17,0.18}
@@ -41,46 +40,20 @@ requires =
4140
4241[envlists]
4342test =
44- py36-sphinx{3.2,3. 3,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5}
45- py37-sphinx{3.2,3.3 ,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5,5.0,5.1}
46- py38-sphinx{3.2,3.3 ,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5,5.0,5.1}
47- py39-sphinx{3.2,3.3 ,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5,5.0,5.1}
48- py310-sphinx{3.2,3.3 ,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5,5.0,5.1}
49- py311-dev-sphinx{3.2,3.3 ,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5,5.0,5.1}
43+ py36-sphinx{3.3,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5}
44+ py37-sphinx{3.3 ,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5,5.0,5.1,5.2 }
45+ py38-sphinx{3.3 ,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5,5.0,5.1,5.2 }
46+ py39-sphinx{3.3 ,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5,5.0,5.1,5.2 }
47+ py310-sphinx{3.3 ,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5,5.0,5.1,5.2 }
48+ py311-dev-sphinx{3.3 ,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5,5.0,5.1,5.2 }
5049 py36-docutils{0.16}
5150 py37-docutils{0.16,0.17,0.18}
5251 py38-docutils{0.16,0.17,0.18}
5352 py39-docutils{0.16,0.17,0.18}
5453 py310-docutils{0.16,0.17,0.18}
5554 py311-dev-docutils{0.16,0.17,0.18}
5655qa = mypy, lint
57- cov = py36-sphinx3.2, coverage
58-
59- [testenv]
60- setenv =
61- PYTHONDEVMODE =1
62- PIP_DISABLE_PIP_VERSION_CHECK =1
63- SETUPTOOLS_USE_DISTUTILS =stdlib
64- deps =
65- -r{toxinidir}/tests/requirements.txt
66- sphinx3.2: sphinx~=3.2.0
67- sphinx3.3: sphinx~=3.3.0
68- sphinx3.4: sphinx~=3.4.0
69- sphinx3.5: sphinx~=3.5.0
70- sphinx4.0: sphinx~=4.0.0
71- sphinx4.1: sphinx~=4.1.0
72- sphinx4.2: sphinx~=4.2.0
73- sphinx4.3: sphinx~=4.3.0
74- sphinx4.4: sphinx~=4.4.0
75- sphinx4.5: sphinx~=4.5.0
76- sphinx5.0: sphinx~=5.0.0
77- sphinx5.1: sphinx~=5.1.0
78- docutils0.16: docutils~=0.16.0
79- docutils0.17: docutils~=0.17.0
80- docutils0.18: docutils~=0.18.0
81- commands =
82- python --version
83- python -m pytest --cov =html_section -r aR tests/ {posargs}
56+ cov = py36-sphinx3.3, coverage
8457
8558[testenv:build]
8659skip_install = True
@@ -232,3 +205,28 @@ filterwarnings =
232205 always:'imghdr' is deprecated and slated for removal in Python 3.13:DeprecationWarning:sphinx.util.images
233206 always:The `docutils.parsers.rst.directive.html` module will be removed in Docutils 1.2:DeprecationWarning
234207markers = sphinx
208+
209+ [testenv]
210+ setenv =
211+ PYTHONDEVMODE=1
212+ PIP_DISABLE_PIP_VERSION_CHECK=1
213+ SETUPTOOLS_USE_DISTUTILS=stdlib
214+ deps =
215+ -r{toxinidir}/tests/requirements.txt
216+ -r{toxinidir}/requirements.txt
217+ sphinx3.3: sphinx==3.3.1
218+ sphinx3.4: sphinx==3.4.3
219+ sphinx3.5: sphinx==3.5.4
220+ sphinx3.{2,3,4,5}: docutils==0.16
221+ sphinx4.0: sphinx==4.0.3
222+ sphinx4.1: sphinx==4.1.2
223+ sphinx4.2: sphinx==4.2.0
224+ sphinx4.3: sphinx==4.3.2
225+ sphinx4.4: sphinx==4.4.0
226+ sphinx4.5: sphinx==4.5.0
227+ sphinx5.0: sphinx==5.0.2
228+ sphinx5.1: sphinx==5.1.1
229+ sphinx5.2: sphinx==5.2.1
230+ commands =
231+ python --version
232+ python -m pytest --cov=html_section -r aR tests/ {posargs}
0 commit comments