Skip to content

Commit 7586771

Browse files
pyproject.toml: prevent sphinxcontrib-serializinghtml incompatibilities
sphinxcontrib-serializinghtml>=1.1.6 depends on Sphinx>=5. This wasn't an issue until now, since labgrid pins Sphinx==4.2.0 on stable. With sphinxcontrib-serializinghtml>=1.1.10, this explicit dependency was dropped to prevent cyclic dependencies, so the latest version gets installed, although it's clearly incompatible. This is detected during runtime: The sphinxcontrib.serializinghtml extension used by this project needs at least Sphinx v5.0; it therefore cannot be built with this version. So set sphinxcontrib-serializinghtml to a version lower than when the explicit Sphinx dependency was dropped. Signed-off-by: Bastian Krause <[email protected]>
1 parent ae183a1 commit 7586771

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pyproject.toml

+2
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ doc = [
6262
"sphinxcontrib-htmlhelp<2.0.4",
6363
"sphinxcontrib-qthelp<1.0.6",
6464
"sphinxcontrib-jsmath<1.0.2",
65+
"sphinxcontrib-serializinghtml<1.1.10",
6566
"sphinx_rtd_theme==1.0.0",
6667
]
6768
docker = ["docker==5.0.2"]
@@ -110,6 +111,7 @@ dev = [
110111
"sphinxcontrib-htmlhelp<2.0.4",
111112
"sphinxcontrib-qthelp<1.0.6",
112113
"sphinxcontrib-jsmath<1.0.2",
114+
"sphinxcontrib-serializinghtml<1.1.10",
113115
"sphinx_rtd_theme==1.0.0",
114116

115117
# labgrid[docker]

0 commit comments

Comments
 (0)