Skip to content

Commit c8f4a8f

Browse files
pyproject.toml: limit sphinx_rtd_theme to <3.0.0
sphinx_rtd_theme deprecated `html_theme_path` and is now compatible with docutils 0.21. We could drop `html_theme_path` on stable, but the switch to a newer docutils version would break our Python 3.8 CI jobs due to the rst2man change [1]. So for stable, simply limit the sphinx_rtd_theme dependency to <3.0.0. For master, see [1]. [1] #1519 Signed-off-by: Bastian Krause <bst@pengutronix.de>
1 parent 08b1cfb commit c8f4a8f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ dynamic = ["version"] # via setuptools_scm
5252

5353
[project.optional-dependencies]
5454
doc = [
55-
"sphinx_rtd_theme>=1.0.0",
55+
"sphinx_rtd_theme>=1.0.0,<3.0.0",
5656
"Sphinx>=2.0.0",
5757
]
5858
docker = ["docker>=5.0.2"]
@@ -86,7 +86,7 @@ deb = [
8686
dev = [
8787
# references to other optional dependency groups
8888
# labgrid[doc]
89-
"sphinx_rtd_theme>=1.0.0",
89+
"sphinx_rtd_theme>=1.0.0,<3.0.0",
9090
"Sphinx>=2.0.0",
9191

9292
# labgrid[docker]

0 commit comments

Comments
 (0)