Skip to content

Commit 35e1deb

Browse files
pyproject.toml: prevent sphinxcontrib-htmlhelp incompatibilities
sphinxcontrib-htmlhelp>=2.0.2 depends on Sphinx>=5. This wasn't an issue until now, since labgrid pins Sphinx==4.2.0 on stable. With sphinxcontrib-htmlhelp>=2.0.4, 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.htmlhelp extension used by this project needs at least Sphinx v5.0; it therefore cannot be built with this version. So set sphinxcontrib-htmlhelp to a version lower than when the explicit Sphinx dependency was dropped. Signed-off-by: Bastian Krause <bst@pengutronix.de>
1 parent cf225df commit 35e1deb

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ doc = [
5959
"Sphinx==4.2.0",
6060
"sphinxcontrib-applehelp<1.0.8",
6161
"sphinxcontrib-devhelp<1.0.5",
62+
"sphinxcontrib-htmlhelp<2.0.4",
6263
"sphinx_rtd_theme==1.0.0",
6364
]
6465
docker = ["docker==5.0.2"]
@@ -104,6 +105,7 @@ dev = [
104105
"Sphinx==4.2.0",
105106
"sphinxcontrib-applehelp<1.0.8",
106107
"sphinxcontrib-devhelp<1.0.5",
108+
"sphinxcontrib-htmlhelp<2.0.4",
107109
"sphinx_rtd_theme==1.0.0",
108110

109111
# labgrid[docker]

0 commit comments

Comments
 (0)