Skip to content

Commit ae183a1

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

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
@@ -61,6 +61,7 @@ doc = [
6161
"sphinxcontrib-devhelp<1.0.5",
6262
"sphinxcontrib-htmlhelp<2.0.4",
6363
"sphinxcontrib-qthelp<1.0.6",
64+
"sphinxcontrib-jsmath<1.0.2",
6465
"sphinx_rtd_theme==1.0.0",
6566
]
6667
docker = ["docker==5.0.2"]
@@ -108,6 +109,7 @@ dev = [
108109
"sphinxcontrib-devhelp<1.0.5",
109110
"sphinxcontrib-htmlhelp<2.0.4",
110111
"sphinxcontrib-qthelp<1.0.6",
112+
"sphinxcontrib-jsmath<1.0.2",
111113
"sphinx_rtd_theme==1.0.0",
112114

113115
# labgrid[docker]

0 commit comments

Comments
 (0)