From 07b79b0b39229c6304c6813cc19c2c41d4cd4ba9 Mon Sep 17 00:00:00 2001 From: Douglas Raillard Date: Thu, 20 Feb 2025 11:03:01 +0000 Subject: [PATCH 1/2] doc/doc_requirements.txt: Bump sphinx version doc_requirements.txt is only used by readthedocs currently, but still bump it in case we needed to fallback to it. --- doc/doc_requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/doc_requirements.txt b/doc/doc_requirements.txt index 6c1da952b..9284ebc8b 100644 --- a/doc/doc_requirements.txt +++ b/doc/doc_requirements.txt @@ -1,5 +1,5 @@ -sphinx==8.0.2 +sphinx==8.1.3 # A streamlined version of devmode_requirements.txt for doc building -e ./tools/exekall -- GitLab From 721a2b74d2429a8294d31603abfe7df0851451bf Mon Sep 17 00:00:00 2001 From: Douglas Raillard Date: Thu, 20 Feb 2025 11:03:40 +0000 Subject: [PATCH 2/2] setup.py: Force Sphinx version <8.2.0 Avoid nbsphinx issue by forcing Sphinx in a supported version until this gets resolved: https://github.com/spatialaudio/nbsphinx/issues/825 --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 4ee661f2c..bc67560ce 100755 --- a/setup.py +++ b/setup.py @@ -91,7 +91,9 @@ extras_require={ extras_require["doc"] = [ # Force ReadTheDocs to use a recent version, rather than the defaults used # for old projects. - "sphinx > 2", + # Add higher bound until this nbsphinx issue is resolved: + # https://github.com/spatialaudio/nbsphinx/issues/825 + "sphinx > 2, <8.2.0", "pydata-sphinx-theme", "sphinxcontrib-plantuml", "nbsphinx", -- GitLab