Skip to content

Require Sphinx 8; test Sphinx 8 and 9 in CI#690

Open
stefanv wants to merge 3 commits into
numpy:mainfrom
stefanv:require-sphinx-8-9
Open

Require Sphinx 8; test Sphinx 8 and 9 in CI#690
stefanv wants to merge 3 commits into
numpy:mainfrom
stefanv:require-sphinx-8-9

Conversation

@stefanv
Copy link
Copy Markdown
Contributor

@stefanv stefanv commented May 23, 2026

Attempt to resurrect #607 by @jarrodmillman

  • Bump minimum Sphinx dependency from 6 to 8
  • Replace test-oldsphinx job (sphinx<7/8/9) with test-sphinx
    testing sphinx>=8,<9 and sphinx>=9,<10
  • Simplify EMPTY sentinel import: remove innermost fallback
    that guarded against Sphinx <7 not having EMPTY at all

stefanv added 3 commits May 23, 2026 00:32
- Bump minimum Sphinx dependency from 6 to 8
- Replace test-oldsphinx job (sphinx<7/8/9) with test-sphinx
  testing sphinx>=8,<9 and sphinx>=9,<10
- Simplify EMPTY sentinel import: remove innermost fallback
  that guarded against Sphinx <7 not having EMPTY at all
Sphinx 8 requires docutils>=0.18.1, which introduced node.findall().
The compatibility shim is no longer needed.
@larsoner
Copy link
Copy Markdown
Collaborator

Sphinx 8 isn't quite 2 years old yet (July 29 2024). 7 would be more conservative (April 29 2023). Do we gain a lot by seeing the minimum to 8?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants