Tests: fix Sphinx versions not working with Python 3.10
[tox]
-envlist = sphinx-{18,20,21,22,23,24,30,31,32,33,34,35,40,41,42,latest}
+# 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}
[testenv]
description = run test suite for the EmbedAPIv3
@@ -24,10 +25,10 @@ deps =
sphinx-32: Sphinx~=3.2.0
sphinx-33: Sphinx~=3.3.0
sphinx-34: Sphinx~=3.4.0
- sphinx-35: Sphinx~=3.5.0
- sphinx-40: Sphinx~=4.0.0
- sphinx-41: Sphinx~=4.1.0
sphinx-42: Sphinx~=4.2.0
+ sphinx-43: Sphinx~=4.3.0
+ sphinx-44: Sphinx~=4.4.0
+ sphinx-45: Sphinx~=4.5.0
sphinx-latest: Sphinx
jinja2<3.1.0
setenv =
