diff --git a/pyproject.toml b/pyproject.toml index 43fdd09db..821efb89a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -64,7 +64,8 @@ test = ["mne_bids[full]", "pytest >= 8", "pytest-cov", "pytest-sugar", "ruff"] # Dependencies for building the documentation doc = [ "nilearn", - "sphinx", + # TODO: Remove pin once https://github.com/sphinx-doc/sphinx/issues/12589 is fixed + "sphinx!=7.4", "sphinx_gallery", "sphinx-copybutton", "pydata-sphinx-theme",