From 99d05a74520ee063771cf268a47ebf01e9c484c6 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Sat, 17 Feb 2024 18:04:01 -0300 Subject: [PATCH] Allow Sphinx 7.x Thanks to https://github.com/pytest-dev/pytest/issues/11988#issuecomment-1950318888, the problem was our custom template. The solution was to copy the template from Sphinx 7 and remove the header. --- doc/en/_templates/slim_searchbox.html | 5 ++--- doc/en/requirements.txt | 3 +-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/doc/en/_templates/slim_searchbox.html b/doc/en/_templates/slim_searchbox.html index e98ad4ed9..f088ff8d3 100644 --- a/doc/en/_templates/slim_searchbox.html +++ b/doc/en/_templates/slim_searchbox.html @@ -5,11 +5,10 @@ - + {%- endif %} diff --git a/doc/en/requirements.txt b/doc/en/requirements.txt index 3369bd10b..524157404 100644 --- a/doc/en/requirements.txt +++ b/doc/en/requirements.txt @@ -2,8 +2,7 @@ pallets-sphinx-themes pluggy>=1.2.0 pygments-pytest>=2.3.0 sphinx-removed-in>=0.2.0 -# In Sphinx 6 and 7, the search bar disappears; restrict this for now until we find a solution. -sphinx>=5,<6 +sphinx>=7 sphinxcontrib-trio sphinxcontrib-svg2pdfconverter # Pin packaging because it no longer handles 'latest' version, which