Bump pygments from 2.19.2 to 2.20.0#277
Conversation
rtibblesbot
left a comment
There was a problem hiding this comment.
Dependency Update Review
Package: pygments 2.19.2 → 2.20.0
Semver risk: Minor
Dependency type: Transitive dev/test dependency (pulled in by pytest, which is under [project.optional-dependencies].test in pyproject.toml)
CI status: Linting and download checks passing; unit tests and APK build still in progress at time of review.
Changelog Analysis
Sources consulted:
- Release notes and changelog included in PR body (pygments 2.20.0, released March 29, 2026)
Breaking changes: None.
Notable changes:
- New lexer: Rell
- Fix catastrophic backtracking in archetype, Devicetree, and Lua(u) lexers — ReDoS hardening
- Python: Add
t-string support (Python 3.13+) - Drop Python 3.8 support; add Python 3.14
- Performance: Cache entry points to improve startup
- Bug fix:
kwargsdictionary no longer mutated on each call (#3044) - New commit not in changelog: "Harden the HTML formatter against CSS" (commit
0f97e7c)
Security fixes: None listed. The backtracking fixes in the lexers are a denial-of-service hardening improvement.
Compatibility Assessment
- Project uses pygments directly: no — it is a transitive dependency via
pytest, used only in test/dev environments - Peer dependency changes: none
- Code changes required: none
- Breaking API changes affecting this project: none
- Lockfile diff is clean: only the
pygmentspackage entry updated (version, URLs, hashes)
Recommendation
APPROVE — Minor bump, dev/test-only transitive dependency, no breaking changes, clean lockfile update. Safe to merge once CI completes.
@rtibblesbot's comments are generated by an LLM, and should be evaluated accordingly
How was this generated?
Reviewed the pull request diff checking for:
- Correctness: bugs, edge cases, undocumented behavior, resource leaks, hardcoded values
- Design: unnecessary complexity, naming, readability, comment accuracy, redundant state
- Architecture: duplicated concerns, minimal interfaces, composition over inheritance
- Testing: behavior-based assertions, mocks only at hard boundaries, accurate coverage
- Completeness: missing dependencies, unupdated usages, i18n, accessibility, security
- Principles: DRY (same reason to change), SRP, Rule of Three (no premature abstraction)
- Checked CI status and linked issue acceptance criteria
- For UI changes: inspected screenshots for layout, visual completeness, and consistency
Bumps [pygments](https://github.com/pygments/pygments) from 2.19.2 to 2.20.0. - [Release notes](https://github.com/pygments/pygments/releases) - [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES) - [Commits](pygments/pygments@2.19.2...2.20.0) --- updated-dependencies: - dependency-name: pygments dependency-version: 2.20.0 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
d9e5f1c to
d34df4d
Compare
Bumps pygments from 2.19.2 to 2.20.0.
Release notes
Sourced from pygments's releases.
Changelog
Sourced from pygments's changelog.
Commits
708197dFix underline length.1d4538aPrepare 2.20 release.2ceaee4Update CHANGES.e3a3c54Fix Haskell lexer: handle escape sequences in character literals (#3069)d7c3453Merge pull request #3071 from pygments/harden-html-formatter0f97e7cHarden the HTML formatter against CSS.9f981b2Update CHANGES.1d88915Update CHANGES.c3d93adFix ASN.1 lexer: recognize minus sign and fix range operator (#3060)4f06bcffix bad behaving backtracking regex in CommonLispLexer