Repository navigation
Update Pygments expectations and stabilize build tests - #14674
Open
adamtheturtle wants to merge 1 commit into
Open
adamtheturtle wants to merge 1 commit into
adamtheturtle wants to merge 1 commit into
Conversation
This was referenced Sep 13, 2026
This was referenced Sep 13, 2026
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.