Skip to content

Commit cf225df

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

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
@@ -58,6 +58,7 @@ doc = [
5858
"docutils==0.17.1",
5959
"Sphinx==4.2.0",
6060
"sphinxcontrib-applehelp<1.0.8",
61+
"sphinxcontrib-devhelp<1.0.5",
6162
"sphinx_rtd_theme==1.0.0",
6263
]
6364
docker = ["docker==5.0.2"]
@@ -102,6 +103,7 @@ dev = [
102103
"docutils==0.17.1",
103104
"Sphinx==4.2.0",
104105
"sphinxcontrib-applehelp<1.0.8",
106+
"sphinxcontrib-devhelp<1.0.5",
105107
"sphinx_rtd_theme==1.0.0",
106108

107109
# labgrid[docker]

0 commit comments

Comments
 (0)