22
22
23
23
[tox]
24
24
envlist =
25
- py37-sphinx{3.2,3.3,3.4,3.5}
26
- py38-sphinx{3.2,3.3,3.4,3.5}
27
- py39-sphinx{3.2,3.3,3.4,3.5}
28
- py310-sphinx{3.2,3.3,3.4,3.5}
29
- py311-sphinx{3.2,3.3,3.4,3.5}
30
- py312-sphinx{3.2,3.3,3.4,3.5}
31
- py313-sphinx{3.2,3.3,3.4,3.5}
32
- pypy37-sphinx{3.2,3.3,3.4,3.5}
33
- pypy38-sphinx{3.2,3.3,3.4,3.5}
34
- pypy39-sphinx{3.2,3.3,3.4,3.5}
25
+ py37-sphinx{3.2,3.3,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5}
26
+ py38-sphinx{3.2,3.3,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5}
27
+ py39-sphinx{3.2,3.3,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5}
28
+ py310-sphinx{3.2,3.3,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5}
29
+ py311-sphinx{3.2,3.3,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5}
30
+ pypy37-sphinx{3.2,3.3,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5}
31
+ pypy38-sphinx{3.2,3.3,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5}
32
+ pypy39-sphinx{3.2,3.3,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5}
35
33
mypy
36
34
build
37
35
skip_missing_interpreters = True
@@ -44,16 +42,14 @@ requires =
44
42
45
43
[envlists]
46
44
test =
47
- py37-sphinx{3.2,3.3,3.4,3.5}
48
- py38-sphinx{3.2,3.3,3.4,3.5}
49
- py39-sphinx{3.2,3.3,3.4,3.5}
50
- py310-sphinx{3.2,3.3,3.4,3.5}
51
- py311-sphinx{3.2,3.3,3.4,3.5}
52
- py312-sphinx{3.2,3.3,3.4,3.5}
53
- py313-sphinx{3.2,3.3,3.4,3.5}
54
- pypy37-sphinx{3.2,3.3,3.4,3.5}
55
- pypy38-sphinx{3.2,3.3,3.4,3.5}
56
- pypy39-sphinx{3.2,3.3,3.4,3.5}
45
+ py37-sphinx{3.2,3.3,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5}
46
+ py38-sphinx{3.2,3.3,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5}
47
+ py39-sphinx{3.2,3.3,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5}
48
+ py310-sphinx{3.2,3.3,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5}
49
+ py311-sphinx{3.2,3.3,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5}
50
+ pypy37-sphinx{3.2,3.3,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5}
51
+ pypy38-sphinx{3.2,3.3,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5}
52
+ pypy39-sphinx{3.2,3.3,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5}
57
53
qa = mypy, lint
58
54
cov = py38-sphinx3.2, coverage
59
55
raspi = py3{7,8,9,10}-sphinx3.5
@@ -63,19 +59,6 @@ setenv =
63
59
PYTHONDEVMODE =1
64
60
PIP_DISABLE_PIP_VERSION_CHECK =1
65
61
66
- [testenv:py313]
67
- download = True
68
- setenv =
69
- PYTHONDEVMODE =1
70
- PIP_DISABLE_PIP_VERSION_CHECK =1
71
- UNSAFE_PYO3_SKIP_VERSION_CHECK =1
72
-
73
- [testenv:py312]
74
- download = True
75
- setenv =
76
- PYTHONDEVMODE =1
77
- PIP_DISABLE_PIP_VERSION_CHECK =1
78
-
79
62
[testenv:docs]
80
63
setenv = SHOW_TODOS = 1
81
64
passenv = SPHINX_BUILDER
@@ -250,13 +233,13 @@ filterwarnings =
250
233
always::FutureWarning
251
234
markers = sphinx
252
235
253
- [testenv:py312-sphinx{3.2,3.3,3.4,3.5}]
236
+ [testenv:py312-sphinx{3.2,3.3,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5 }]
254
237
download = True
255
238
setenv =
256
239
PYTHONDEVMODE=1
257
240
PIP_DISABLE_PIP_VERSION_CHECK=1
258
241
259
- [testenv:py313-sphinx{3.2,3.3,3.4,3.5}]
242
+ [testenv:py313-sphinx{3.2,3.3,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5 }]
260
243
download = True
261
244
setenv =
262
245
PYTHONDEVMODE=1
@@ -270,10 +253,17 @@ setenv =
270
253
SETUPTOOLS_USE_DISTUTILS=stdlib
271
254
deps =
272
255
-r{toxinidir}/tests/requirements.txt
273
- sphinx3.2: sphinx~=3.2.0
274
- sphinx3.3: sphinx~=3.3.0
275
- sphinx3.4: sphinx~=3.4.0
276
- sphinx3.5: sphinx~=3.5.0
256
+ sphinx3.2: sphinx==3.2.1
257
+ sphinx3.3: sphinx==3.3.1
258
+ sphinx3.4: sphinx==3.4.3
259
+ sphinx3.5: sphinx==3.5.4
260
+ sphinx4.0: sphinx==4.0.3
261
+ sphinx4.1: sphinx==4.1.2
262
+ sphinx4.2: sphinx==4.2.0
263
+ sphinx4.3: sphinx==4.3.2
264
+ sphinx4.4: sphinx==4.4.0
265
+ sphinx4.5: sphinx==4.5.0
266
+
277
267
sphinxcontrib-applehelp<=1.0.4
278
268
sphinxcontrib-devhelp<=1.0.2
279
269
sphinxcontrib-htmlhelp<=2.0.1
@@ -285,7 +275,62 @@ commands =
285
275
python --version
286
276
python -m pytest --cov=sphinx_highlights -r aR tests/ {posargs}
287
277
288
- [testenv:py312-dev-sphinx{3.2,3.3,3.4,3.5}]
289
- setenv =
290
- PYTHONDEVMODE=1
291
- PIP_DISABLE_PIP_VERSION_CHECK=1
278
+ [testenv:py{39,310,311,312,313,py39}-sphinx7.2]
279
+ deps =
280
+ -r{toxinidir}/tests/requirements.txt
281
+ -r{toxinidir}/requirements.txt
282
+ commands =
283
+ pip install sphinx==7.2.6
284
+ pip install pygments>=2.7.4,<=2.13.0
285
+ python --version
286
+ python -m pytest --cov=sphinx_highlights -r aR tests/ {posargs}
287
+
288
+ [testenv:py{39,310,311,312,313,py39}-sphinx7.3]
289
+ deps =
290
+ -r{toxinidir}/tests/requirements.txt
291
+ -r{toxinidir}/requirements.txt
292
+ commands =
293
+ pip install sphinx==7.3.7
294
+ pip install pygments>=2.7.4,<=2.13.0
295
+ python --version
296
+ python -m pytest --cov=sphinx_highlights -r aR tests/ {posargs}
297
+
298
+ [testenv:py{39,310,311,312,313,py39}-sphinx7.4]
299
+ deps =
300
+ -r{toxinidir}/tests/requirements.txt
301
+ -r{toxinidir}/requirements.txt
302
+ commands =
303
+ pip install sphinx==7.4.7
304
+ pip install pygments>=2.7.4,<=2.13.0
305
+ python --version
306
+ python -m pytest --cov=sphinx_highlights -r aR tests/ {posargs}
307
+
308
+ [testenv:py{310,311,312,313}-sphinx8.0]
309
+ deps =
310
+ -r{toxinidir}/tests/requirements.txt
311
+ -r{toxinidir}/requirements.txt
312
+ commands =
313
+ pip install sphinx==8.0.2
314
+ pip install pygments>=2.7.4,<=2.13.0
315
+ python --version
316
+ python -m pytest --cov=sphinx_highlights -r aR tests/ {posargs}
317
+
318
+ [testenv:py{310,311,312,313}-sphinx8.1]
319
+ deps =
320
+ -r{toxinidir}/tests/requirements.txt
321
+ -r{toxinidir}/requirements.txt
322
+ commands =
323
+ pip install sphinx==8.1.3
324
+ pip install pygments>=2.7.4,<=2.13.0
325
+ python --version
326
+ python -m pytest --cov=sphinx_highlights -r aR tests/ {posargs}
327
+
328
+ [testenv:py{311,312,313}-sphinx8.2]
329
+ deps =
330
+ -r{toxinidir}/tests/requirements.txt
331
+ -r{toxinidir}/requirements.txt
332
+ commands =
333
+ pip install sphinx==8.2.1
334
+ pip install pygments>=2.7.4,<=2.13.0
335
+ python --version
336
+ python -m pytest --cov=sphinx_highlights -r aR tests/ {posargs}
0 commit comments