Skip to content

Update Pygments expectations and stabilize build tests - #14674

Open
adamtheturtle wants to merge 1 commit into
sphinx-doc:masterfrom
adamtheturtle:test-dependency-compatibility
Open

adamtheturtle wants to merge 1 commit into
sphinx-doc:masterfrom
adamtheturtle:test-dependency-compatibility

Conversation

@adamtheturtle

@adamtheturtle adamtheturtle commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

Keep highlighting assertions compatible with Pygments before and after 2.21's quote-escaping change. Isolate the numfig warning test and make the translation-rebuild timestamp independent of test duration.

Validation: 303 relevant tests pass with both locked Pygments and Pygments 2.21.

Split from #14672. Docutils development compatibility is handled in #14673; those CI failures remain until it merges.

AI disclosure: OpenAI Codex generated the changes and description, ran checks, and submitted this PR at the owner's request; no human review is claimed.

hesam-oxe pushed a commit to hesam-oxe/sphinx that referenced this pull request Sep 18, 2026
Keep highlighting assertions compatible with Pygments before and after 2.21's
quote-escaping change. Isolate the numfig warning test and make the
translation-rebuild timestamp independent of test duration.

Cherry-picked from upstream PR sphinx-doc#14674 (patch by Adam Dangoor).

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant