EmbedAPI: remove support for Sphinx 1.8.x and 2.0.x
There are some incompatibilities that make the tests hard to fix and maintain.
The code will keep working with these Sphinx versions, but we are slowly
deprecating them by stop testing them as first step.
[tox]
# NOTE: Sphinx 3.5 and 4.x < 4.2 fails with Python 3.10 because of a typing issue
-envlist = sphinx-{18,20,21,22,23,24,30,31,32,33,34,42,43,44,45,latest}
+#
+# NOTE: Sphinx 1.8 and 2.0 are not tested anymore because of some
+# incompatibilities with Python 3.10 and sphinxcontrib-bibtex
+envlist = sphinx-{21,22,23,24,30,31,32,33,34,42,43,44,45,50,latest}
[testenv]
description = run test suite for the EmbedAPIv3
@@ -11,11 +14,8 @@ install_command =
cat {toxinidir}/requirements/pip.txt | grep -v "Sphinx" > {toxinidir}/requirements/embedapi.txt; \
sed {toxinidir}/requirements/testing.txt -e "s|pip.txt|embedapi.txt|g" > {toxinidir}/requirements/testing.embedapi.txt; \
pip install -r {toxinidir}/requirements/testing.embedapi.txt; \
- pip install sphinxcontrib-bibtex; \
pip install $*;' -- {opts} {packages}
deps =
- sphinx-18: Sphinx~=1.8.0
- sphinx-20: Sphinx~=2.0.0
sphinx-21: Sphinx~=2.1.0
sphinx-22: Sphinx~=2.2.0
sphinx-23: Sphinx~=2.3.0
@@ -29,7 +29,9 @@ deps =
sphinx-43: Sphinx~=4.3.0
sphinx-44: Sphinx~=4.4.0
sphinx-45: Sphinx~=4.5.0
+ sphinx-50: Sphinx~=5.0.0
sphinx-latest: Sphinx
+ sphinxcontrib-bibtex~=2.3.0
jinja2<3.1.0
setenv =
DJANGO_SETTINGS_MODULE=readthedocs.settings.test
