Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit eccf3a5

Browse files
committed
don't have an opinion about Sphinx version
CPython docs want Sphinx<9.0.0, and we need to work with them.
1 parent 91bd08f commit eccf3a5

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ classifiers = [
1515
requires-python = ">= 3.12"
1616

1717
dependencies = [
18-
"Sphinx>9.0.0",
18+
"Sphinx",
1919
]
2020

2121
dynamic = ["version"]

tox.ini

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
[tox]
22
requires =
33
tox>=4.32
4-
env_list = py3{12-15}, coverage
4+
env_list = py3{12-15}-sphinx{8,9}, coverage
55

66
[testenv]
77
extras =
88
dev
99
pass_env =
1010
FORCE_COLOR
11+
deps =
12+
sphinx8: sphinx>8,<9
13+
sphinx9: sphinx>9,<10
1114
commands =
1215
coverage run -m pytest {posargs}
1316

0 commit comments

Comments
 (0)