summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2021-09-04 10:35:38 -0400
committerJason R. Coombs <jaraco@jaraco.com>2021-09-04 10:35:38 -0400
commit41df8fea702b80fc2bfa1828a01f0b5b89bc36ac (patch)
tree1002017ef58f452ba249a956bb8f50d245eef0d4
parentd831e4bef9122488d1bb1caf9d56597967c10d1b (diff)
downloadpython-setuptools-git-41df8fea702b80fc2bfa1828a01f0b5b89bc36ac.tar.gz
Fix broken Sphinx builds on Python 3.10. Fixes #2763. Ref sphinx-doc/sphinx#9562.v57.5.0
-rw-r--r--tox.ini3
1 files changed, 3 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 28ff16a6..8a48a1cd 100644
--- a/tox.ini
+++ b/tox.ini
@@ -7,6 +7,9 @@ toxworkdir={env:TOX_WORK_DIR:.tox}
[testenv]
deps =
+ # workaround for sphinx-doc/sphinx#9562
+ # TODO: remove after Sphinx>4.1.2 is available.
+ sphinx@git+https://github.com/sphinx-doc/sphinx; python_version>="3.10"
commands =
pytest {posargs}
usedevelop = True