Skip to content

Commit 215ddad

Browse files
authored
Pin the docs extensions that Sphinx 9 broke (#810)
1 parent c492649 commit 215ddad

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

pyproject.toml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,16 @@ docs = [
7777
"lxml-html-clean",
7878
"markdown",
7979
"mpltern",
80-
"nbsphinx",
80+
# Floors below are the versions that work with Sphinx 9, which removed
81+
# sphinx.ext.autosummary.get_documenter. Without them pip is free to pair a
82+
# current Sphinx with an extension that cannot import it, and the build
83+
# dies with "Extension error (sphinx_automodapi.automodsumm)".
84+
"nbsphinx>=0.9.8", # 0.9.7 declares sphinx<8.2
8185
"sphinx",
8286
"sphinx-autoapi",
83-
"sphinx-automodapi",
87+
"sphinx-automodapi>=0.22", # 0.19 imports the removed get_documenter
8488
"sphinx-copybutton",
85-
"sphinx-design",
89+
"sphinx-design>=0.7", # 0.6.1 declares sphinx<9
8690
"sphinx-gallery",
8791
"shibuya",
8892
"sphinx-sitemap",

0 commit comments

Comments
 (0)