Repository navigation
build(deps): update Pygments to 2.20.0 - #503
Merged
Merged
Conversation
Update the uv lockfile to the patched version for CVE-2026-4539, addressing Dependabot alert 35. requirements.txt already pins 2.20.0. Validation: uv lock --check --offline, uv pip check, three targeted Pygments smoke tests, Sphinx HTML and doctest smoke builds with warnings as errors, and both pre-commit hook stages for uv.lock. AI assistance: OpenAI Codex investigated the alert, updated the lockfile, and performed dependency validation, smoke checks, and repository hooks. Co-authored-by: Codex <codex@openai.com>
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.
Update Pygments from 2.19.2 to 2.20.0 in
uv.lockto address Dependabot alert #35 (CVE-2026-4539: inefficient regular expressions in the ADL lexer).requirements.txtalready pins 2.20.0. Only the Pygments version and distribution metadata change.Validation:
uv lock --check --offlineandgit diff --checkpassed; a structural comparison confirmed that only the Pygments package entry changed.uv sync --locked --all-extras --no-install-project;uv pip checkpassed.python -m pytest -q -W error /private/tmp/codex-dependabot-35-smoke/test_pygments.py: 3 passed, covering the patched version and Python requirement metadata, GUID highlighting, and long-input handling in the ADL lexer.uv.lock: codespell passed; other hooks had no applicable files.AI disclosure: OpenAI Codex investigated the alert, prepared the dependency update, commit message, and PR description, and ran the validation checks.