Skip to content

Commit 404475f

Browse files
committed
Bump Sphinx to V5 to fix build.
1 parent e2b1c0c commit 404475f

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ build:
55
os: ubuntu-22.04
66
tools:
77
# Keep version in sync with tox.ini (docs and gh-actions).
8-
python: "3.11"
8+
python: "3.12"
99

1010
sphinx:
1111
configuration: doc/conf.py

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ classifiers = [
4646
dynamic = ["version"]
4747

4848
[project.optional-dependencies]
49-
docs = ["sphinx~=4.0", "alabaster~=0.7"]
49+
docs = ["sphinx~=5.0", "alabaster~=0.7"]
5050
tests = [
5151
"pytest>=5.0",
5252
"pytest-sugar",

tox.ini

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ python =
1616
3.8: py38, py38-numpy
1717
3.9: py39, py39-numpy
1818
3.10: py310, py310-numpy
19-
3.11: py311, py311-numpy, typing, manifest, docs
20-
3.12: py312, py312-numpy, lint, changelog
19+
3.11: py311, py311-numpy
20+
3.12: py312, py312-numpy, lint, changelog, typing, manifest, docs
2121
pypy-2: pypy2
2222
pypy-3: pypy3
2323

@@ -137,14 +137,14 @@ commands =
137137

138138
[testenv:docs]
139139
# Keep basepython in sync with gh-actions and .readthedocs.yml.
140-
basepython = python3.11
140+
basepython = python3.12
141141
extras = docs
142142
commands =
143143
sphinx-build -n -T -b html -d {envtmpdir}/doctrees doc doc/_build/html
144144

145145

146146
[testenv:manifest]
147-
basepython = python3.11
147+
basepython = python3.12
148148
deps =
149149
check-manifest
150150
setuptools-scm
@@ -173,7 +173,7 @@ commands = towncrier --draft
173173

174174

175175
[testenv:typing]
176-
basepython = python3.11
176+
basepython = python3.12
177177
deps =
178178
mypy
179179
types-mock

0 commit comments

Comments
 (0)