Skip to content

Commit 41df8fe

Browse files
committed
Fix broken Sphinx builds on Python 3.10. Fixes #2763. Ref sphinx-doc/sphinx#9562.
1 parent d831e4b commit 41df8fe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tox.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ toxworkdir={env:TOX_WORK_DIR:.tox}
77

88
[testenv]
99
deps =
10+
# workaround for sphinx-doc/sphinx#9562
11+
# TODO: remove after Sphinx>4.1.2 is available.
12+
sphinx@git+https://github.com/sphinx-doc/sphinx; python_version>="3.10"
1013
commands =
1114
pytest {posargs}
1215
usedevelop = True

0 commit comments

Comments
 (0)