diff --git a/changelog/14303.doc.rst b/changelog/14303.doc.rst new file mode 100644 index 00000000000..377c6d6057b --- /dev/null +++ b/changelog/14303.doc.rst @@ -0,0 +1 @@ +The documentation is now built with Sphinx >= 9. diff --git a/doc/en/conf.py b/doc/en/conf.py index 81156493131..39cd169cdb3 100644 --- a/doc/en/conf.py +++ b/doc/en/conf.py @@ -89,6 +89,8 @@ ("py:class", "_pytest.python_api.RaisesContext"), ("py:class", "_pytest.recwarn.WarningsChecker"), ("py:class", "_pytest.reports.BaseReport"), + # Sphinx bugs(?) + ("py:class", "RewriteHook"), # Undocumented third parties ("py:class", "_tracing.TagTracerSub"), ("py:class", "warnings.WarningMessage"), diff --git a/doc/en/requirements.txt b/doc/en/requirements.txt index d672a9d7e15..ecaf889cd9e 100644 --- a/doc/en/requirements.txt +++ b/doc/en/requirements.txt @@ -2,9 +2,8 @@ pluggy>=1.5.0 pygments-pytest>=2.5.0 sphinx-removed-in>=0.2.0 -# Pinning to <9.0 due to https://github.com/python-trio/sphinxcontrib-trio/issues/399. -sphinx>=7,<9.0 -sphinxcontrib-trio +sphinx>=9 +sphinxcontrib-trio>=1.2.0 sphinxcontrib-svg2pdfconverter furo sphinxcontrib-towncrier