From 3d308f9b6a621cb4e932b846a44b6c666720833b Mon Sep 17 00:00:00 2001 From: Lars Kruse Date: Sun, 14 Jan 2024 22:11:18 +0100 Subject: [PATCH] build: remove version pin for Sphinx In cf69cad56f6 the Sphinx version was pinned to "<4.4.0". The issue at that time (a spurious warning) is described in: https://github.com/sphinx-doc/sphinx/issues/10112 The problematic check was removed in Sphinx v4.5: https://www.sphinx-doc.org/en/master/changes.html#id334 The issue of spurious warnings was finally fixed in v5.x: https://github.com/sphinx-doc/sphinx/pull/10137 Technically it would be suitable to add a negative version pin of Sphinx for "4.4". But that version is quite outdated and at least Debian never shipped Sphinx v4.4 in a stable release. We force sphinx to be at least v5 in order to fix an unrelated recent compatibility requirement of `sphinxcontrib.applehelp`. --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index fb0027177e..8d993140d0 100644 --- a/tox.ini +++ b/tox.ini @@ -34,7 +34,7 @@ commands = [testenv:docs] basepython = python3.10 deps = - sphinx<4.4.0 + sphinx>=5 pydata_sphinx_theme commands = sphinx-build -W -q -b html docs {envtmpdir}/html {posargs}