diff --git a/pyproject.toml b/pyproject.toml index 6697cbc5144..5a2dbce91a6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -142,7 +142,7 @@ test_extra = [ # Dependencies for building the documentation doc = [ - "sphinx>=6", + "sphinx>=6,<7.3", "numpydoc", "pydata_sphinx_theme==0.15.2", "sphinx-gallery",