Skip to content

Commit 755ac4d

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

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ doc = [
6060
"sphinxcontrib-applehelp<1.0.8",
6161
"sphinxcontrib-devhelp<1.0.5",
6262
"sphinxcontrib-htmlhelp<2.0.4",
63+
"sphinxcontrib-qthelp<1.0.6",
6364
"sphinx_rtd_theme==1.0.0",
6465
]
6566
docker = ["docker==5.0.2"]
@@ -106,6 +107,7 @@ dev = [
106107
"sphinxcontrib-applehelp<1.0.8",
107108
"sphinxcontrib-devhelp<1.0.5",
108109
"sphinxcontrib-htmlhelp<2.0.4",
110+
"sphinxcontrib-qthelp<1.0.6",
109111
"sphinx_rtd_theme==1.0.0",
110112

111113
# labgrid[docker]

0 commit comments

Comments
 (0)