chore(deps): update dependency pygments to v2.21.0 - #263
Conversation
There was a problem hiding this comment.
LGTM — trivial dev-dependency patch bump.
Extended reasoning...
Overview
This PR only bumps pygments from 2.20.0 to 2.21.0 in requirements-dev.txt, a lockfile entry autogenerated by pip-compile. Pygments is a transitive dev dependency pulled in by pytest and sphinx for syntax highlighting in test output and documentation builds; it is not part of the shipped pyUSPTO package or any production code path.
Security risks
None. Pygments has no interaction with runtime application logic, user input, or network/auth surfaces in this repo — it's only invoked during local test runs and doc generation. A patch-level bump introduces no new risk here.
Level of scrutiny
Minimal scrutiny is appropriate: this is a mechanical, Renovate-generated lockfile change with no logic changes, no touched source files, and no CODEOWNER-sensitive paths.
Other factors
The diff is a single-line version bump with no other file changes. No outstanding review comments exist on this PR.
This PR contains the following updates:
==2.20.0→==2.21.0Release Notes
pygments/pygments (pygments)
v2.21.0Compare Source
(released August 17th, 2026)
New lexers:
Updated lexers:
$@or@$prefixes (#2685)
union(#3182).ippas a file extension (#3141, #1008)\spaceand\o377as a single token (#979)constructs such as
template,classandnamespace(#3127)SET(#3167)argumentsobject (#3146)?) consume the followingcharacter, so
Foo?,anda?:btokenize correctly (#2964)***...***and___...___) (#3067)embedded code blocks (#3133)
\[Name]named-character escapes such as\[Nu]instead of emitting anErrortoken (#3097)...line continuations in functiondefinition signatures (#659)
SET(#3110)sentinel(#3114)frozendict(#3119).and+in directive/role names (#3085)<<after),]or}as the shift operatorrather than the start of a heredoc (#760)
funca keyword inclass functype methods (#1125)$namevariable references at a dash (#1720)moduleas a keyword when followed bywhitespace, so identifiers like
modulesandmodule.exportsare highlighted correctly (#2823)
ymlalias (#3169), recognize non-breaking spaces as validscalar content (#2827)
New styles:
Fix catastrophic backtracking in
looks_like_xml(#2931, #3112)Improve monokai theme colors (#3100)
Improve handling of non-string types in
html_escapeto fix broken clients (#3090, #3086)LaTeX formatter: honor the wrapped lexer's
stripnland other inputoptions when
escapeinsideis set, so blank lines are no longer strippedunder
stripnl=false(#2975)RawTokenFormatter: fix a crash when
error_coloris set (#3215)Groff formatter: don't duplicate a character when word-wrapping (
wrap)a token that is not at the end of a line (#3201)
Add support for Python 3.15 (#3099)
Fix invalid
-Lvalues report success (#3217)Allow
transparentas a color style definition (#3180, #3170)HtmlFormatter:
"and'now render literally (#3185)Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.