Bump pygments from 2.20.0 to 2.21.0 (#13502) · aio-libs/aiohttp@dfdcc7d · GitHub
Skip to content

Commit dfdcc7d

Browse files
Bump pygments from 2.20.0 to 2.21.0 (#13502)
Bumps [pygments](https://github.com/pygments/pygments) from 2.20.0 to 2.21.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pygments/pygments/releases">pygments's releases</a>.</em></p> <blockquote> <h2>2.21.0</h2> <ul> <li> <p>New lexers:</p> <ul> <li>BitBake (<a href="https://redirect.github.com/pygments/pygments/issues/3103">#3103</a>)</li> <li>Caddyfile (<a href="https://redirect.github.com/pygments/pygments/issues/3225">#3225</a>)</li> <li>CEL (<a href="https://redirect.github.com/pygments/pygments/issues/3048">#3048</a>)</li> <li>PureScript (<a href="https://redirect.github.com/pygments/pygments/issues/1077">#1077</a>, <a href="https://redirect.github.com/pygments/pygments/issues/3054">#3054</a>)</li> </ul> </li> <li> <p>Updated lexers:</p> <ul> <li>Bash: Fix coloured keyword at the beginning of a name (<a href="https://redirect.github.com/pygments/pygments/issues/2926">#2926</a>)</li> <li>Boogie: Add missing Boogie and Civl Verifier keywords (<a href="https://redirect.github.com/pygments/pygments/issues/3156">#3156</a>)</li> <li>C#: <ul> <li>Recognize interpolated verbatim strings with either <code>$@</code> or <code>@$</code> prefixes (<a href="https://redirect.github.com/pygments/pygments/issues/2685">#2685</a>)</li> <li>Support dollar-prefixed and multi-quote raw strings (<a href="https://redirect.github.com/pygments/pygments/issues/3129">#3129</a>, <a href="https://redirect.github.com/pygments/pygments/issues/2897">#2897</a>)</li> <li>Recognize <code>union</code> (<a href="https://redirect.github.com/pygments/pygments/issues/3182">#3182</a>)</li> </ul> </li> <li>C/C++: <ul> <li>Add C23/C++26 attributes (<a href="https://redirect.github.com/pygments/pygments/issues/3084">#3084</a>)</li> <li>Add more C2Y keywords (<a href="https://redirect.github.com/pygments/pygments/issues/3092">#3092</a>)</li> <li>Highlight a function following a namespace body (<a href="https://redirect.github.com/pygments/pygments/issues/2928">#2928</a>)</li> <li>Fix C/C++ lexer support for multiline pre-processor comments (<a href="https://redirect.github.com/pygments/pygments/issues/3051">#3051</a>)</li> <li>Add <code>.ipp</code> as a file extension (<a href="https://redirect.github.com/pygments/pygments/issues/3141">#3141</a>, <a href="https://redirect.github.com/pygments/pygments/issues/1008">#1008</a>)</li> </ul> </li> <li>Clojure: Recognize named, octal and unicode character literals such as <code>\space</code> and <code>\o377</code> as a single token (<a href="https://redirect.github.com/pygments/pygments/issues/979">#979</a>)</li> <li>Csound: Add missing opcode parameter type letter (<a href="https://redirect.github.com/pygments/pygments/issues/3161">#3161</a>)</li> <li>CUDA: Derive from the C++ lexer instead of C to highlight C++ constructs such as <code>template</code>, <code>class</code> and <code>namespace</code> (<a href="https://redirect.github.com/pygments/pygments/issues/3127">#3127</a>)</li> <li>D: Allow non-ASCII (Unicode) identifiers (<a href="https://redirect.github.com/pygments/pygments/issues/1088">#1088</a>)</li> <li>Fish: Fix single quote backslash escape (<a href="https://redirect.github.com/pygments/pygments/issues/3138">#3138</a>, <a href="https://redirect.github.com/pygments/pygments/issues/2821">#2821</a>)</li> <li>Go: Various lexer improvements (<a href="https://redirect.github.com/pygments/pygments/issues/3199">#3199</a>)</li> <li>GoogleSQL: Require a word break after <code>SET</code> (<a href="https://redirect.github.com/pygments/pygments/issues/3167">#3167</a>)</li> <li>Hexdump: Only match valid digits (<a href="https://redirect.github.com/pygments/pygments/issues/3200">#3200</a>, <a href="https://redirect.github.com/pygments/pygments/issues/2847">#2847</a>)</li> <li>JavaScript: Highlight the <code>arguments</code> object (<a href="https://redirect.github.com/pygments/pygments/issues/3146">#3146</a>)</li> <li>Jsonnet: Recognize colons in array slice expressions (<a href="https://redirect.github.com/pygments/pygments/issues/2828">#2828</a>)</li> <li>JSX: Allow apostrophes in element text (<a href="https://redirect.github.com/pygments/pygments/issues/2816">#2816</a>)</li> <li>Julia: Fix rstrings backslash (<a href="https://redirect.github.com/pygments/pygments/issues/3140">#3140</a>, <a href="https://redirect.github.com/pygments/pygments/issues/2537">#2537</a>)</li> <li>Kotlin: Support companion objects without an explicit name (<a href="https://redirect.github.com/pygments/pygments/issues/2525">#2525</a>)</li> <li>Kotlin: Don't let a nullable type marker (<code>?</code>) consume the following character, so <code>Foo?,</code> and <code>a?:b</code> tokenize correctly (<a href="https://redirect.github.com/pygments/pygments/issues/2964">#2964</a>)</li> <li>Kusto: Recognize member-access dots in dynamic objects (<a href="https://redirect.github.com/pygments/pygments/issues/2779">#2779</a>)</li> <li>Lua: Various improvements (<a href="https://redirect.github.com/pygments/pygments/issues/3143">#3143</a>)</li> <li>Macaulay2: Update symbols to 1.26.05 (<a href="https://redirect.github.com/pygments/pygments/issues/3120">#3120</a>)</li> <li>Markdown: <ul> <li>Highlight bold-italics (<code>***...***</code> and <code>___...___</code>) (<a href="https://redirect.github.com/pygments/pygments/issues/3067">#3067</a>)</li> <li>Fix mention regex to support hyphens in usernames (<a href="https://redirect.github.com/pygments/pygments/issues/3139">#3139</a>, <a href="https://redirect.github.com/pygments/pygments/issues/3135">#3135</a>)</li> </ul> </li> <li>Markdown, reStructuredText, TiddlyWiki5: Fix wrong token offsets for embedded code blocks (<a href="https://redirect.github.com/pygments/pygments/issues/3133">#3133</a>)</li> <li>Mathematica: Recognize <code>\[Name]</code> named-character escapes such as <code>\[Nu]</code> instead of emitting an <code>Error</code> token (<a href="https://redirect.github.com/pygments/pygments/issues/3097">#3097</a>)</li> </ul> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pygments/pygments/blob/master/CHANGES">pygments's changelog</a>.</em></p> <blockquote> <h2>Version 2.21.0</h2> <p>(released August 17th, 2026)</p> <ul> <li> <p>New lexers:</p> <ul> <li>BitBake (<a href="https://redirect.github.com/pygments/pygments/issues/3103">#3103</a>)</li> <li>Caddyfile (<a href="https://redirect.github.com/pygments/pygments/issues/3225">#3225</a>)</li> <li>CEL (<a href="https://redirect.github.com/pygments/pygments/issues/3048">#3048</a>)</li> <li>PureScript (<a href="https://redirect.github.com/pygments/pygments/issues/1077">#1077</a>, <a href="https://redirect.github.com/pygments/pygments/issues/3054">#3054</a>)</li> </ul> </li> <li> <p>Updated lexers:</p> <ul> <li>Bash: Fix coloured keyword at the beginning of a name (<a href="https://redirect.github.com/pygments/pygments/issues/2926">#2926</a>)</li> <li>Boogie: Add missing Boogie and Civl Verifier keywords (<a href="https://redirect.github.com/pygments/pygments/issues/3156">#3156</a>)</li> <li>C#: <ul> <li>Recognize interpolated verbatim strings with either <code>$@</code> or <code>@$</code> prefixes (<a href="https://redirect.github.com/pygments/pygments/issues/2685">#2685</a>)</li> <li>Support dollar-prefixed and multi-quote raw strings (<a href="https://redirect.github.com/pygments/pygments/issues/3129">#3129</a>, <a href="https://redirect.github.com/pygments/pygments/issues/2897">#2897</a>)</li> <li>Recognize <code>union</code> (<a href="https://redirect.github.com/pygments/pygments/issues/3182">#3182</a>)</li> </ul> </li> <li>C/C++: <ul> <li>Add C23/C++26 attributes (<a href="https://redirect.github.com/pygments/pygments/issues/3084">#3084</a>)</li> <li>Add more C2Y keywords (<a href="https://redirect.github.com/pygments/pygments/issues/3092">#3092</a>)</li> <li>Highlight a function following a namespace body (<a href="https://redirect.github.com/pygments/pygments/issues/2928">#2928</a>)</li> <li>Fix C/C++ lexer support for multiline pre-processor comments (<a href="https://redirect.github.com/pygments/pygments/issues/3051">#3051</a>)</li> <li>Add <code>.ipp</code> as a file extension (<a href="https://redirect.github.com/pygments/pygments/issues/3141">#3141</a>, <a href="https://redirect.github.com/pygments/pygments/issues/1008">#1008</a>)</li> </ul> </li> <li>Clojure: Recognize named, octal and unicode character literals such as <code>\space</code> and <code>\o377</code> as a single token (<a href="https://redirect.github.com/pygments/pygments/issues/979">#979</a>)</li> <li>Csound: Add missing opcode parameter type letter (<a href="https://redirect.github.com/pygments/pygments/issues/3161">#3161</a>)</li> <li>CUDA: Derive from the C++ lexer instead of C to highlight C++ constructs such as <code>template</code>, <code>class</code> and <code>namespace</code> (<a href="https://redirect.github.com/pygments/pygments/issues/3127">#3127</a>)</li> <li>D: Allow non-ASCII (Unicode) identifiers (<a href="https://redirect.github.com/pygments/pygments/issues/1088">#1088</a>)</li> <li>Fish: Fix single quote backslash escape (<a href="https://redirect.github.com/pygments/pygments/issues/3138">#3138</a>, <a href="https://redirect.github.com/pygments/pygments/issues/2821">#2821</a>)</li> <li>Go: Various lexer improvements (<a href="https://redirect.github.com/pygments/pygments/issues/3199">#3199</a>)</li> <li>GoogleSQL: Require a word break after <code>SET</code> (<a href="https://redirect.github.com/pygments/pygments/issues/3167">#3167</a>)</li> <li>Hexdump: Only match valid digits (<a href="https://redirect.github.com/pygments/pygments/issues/3200">#3200</a>, <a href="https://redirect.github.com/pygments/pygments/issues/2847">#2847</a>)</li> <li>JavaScript: Highlight the <code>arguments</code> object (<a href="https://redirect.github.com/pygments/pygments/issues/3146">#3146</a>)</li> <li>Jsonnet: Recognize colons in array slice expressions (<a href="https://redirect.github.com/pygments/pygments/issues/2828">#2828</a>)</li> <li>JSX: Allow apostrophes in element text (<a href="https://redirect.github.com/pygments/pygments/issues/2816">#2816</a>)</li> <li>Julia: Fix rstrings backslash (<a href="https://redirect.github.com/pygments/pygments/issues/3140">#3140</a>, <a href="https://redirect.github.com/pygments/pygments/issues/2537">#2537</a>)</li> <li>Kotlin: Support companion objects without an explicit name (<a href="https://redirect.github.com/pygments/pygments/issues/2525">#2525</a>)</li> <li>Kotlin: Don't let a nullable type marker (<code>?</code>) consume the following character, so <code>Foo?,</code> and <code>a?:b</code> tokenize correctly (<a href="https://redirect.github.com/pygments/pygments/issues/2964">#2964</a>)</li> <li>Kusto: Recognize member-access dots in dynamic objects (<a href="https://redirect.github.com/pygments/pygments/issues/2779">#2779</a>)</li> <li>Lua: Various improvements (<a href="https://redirect.github.com/pygments/pygments/issues/3143">#3143</a>)</li> <li>Macaulay2: Update symbols to 1.26.05 (<a href="https://redirect.github.com/pygments/pygments/issues/3120">#3120</a>)</li> <li>Markdown: <ul> <li>Highlight bold-italics (<code>***...***</code> and <code>___...___</code>) (<a href="https://redirect.github.com/pygments/pygments/issues/3067">#3067</a>)</li> <li>Fix mention regex to support hyphens in usernames (<a href="https://redirect.github.com/pygments/pygments/issues/3139">#3139</a>, <a href="https://redirect.github.com/pygments/pygments/issues/3135">#3135</a>)</li> </ul> </li> <li>Markdown, reStructuredText, TiddlyWiki5: Fix wrong token offsets for</li> </ul> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pygments/pygments/commit/a43b45dcf081b6010c6ab4428f149f7f6d2499c4"><code>a43b45d</code></a> Get ready for the 2.21.0 release.</li> <li><a href="https://github.com/pygments/pygments/commit/d8f14cb395026abb288db38839f57499cba695e0"><code>d8f14cb</code></a> Fix version_added for Purescript.</li> <li><a href="https://github.com/pygments/pygments/commit/19c581704c466cde59fd1a49e04c3424449110f3"><code>19c5817</code></a> Remove superfluous parentheses from PostgresExplainLexer (<a href="https://redirect.github.com/pygments/pygments/issues/3232">#3232</a>)</li> <li><a href="https://github.com/pygments/pygments/commit/9992e0992ad273565f19ffb1b4c9cae96cd8dd00"><code>9992e09</code></a> Merge pull request <a href="https://redirect.github.com/pygments/pygments/issues/3191">#3191</a> from jvoisin/dupes</li> <li><a href="https://github.com/pygments/pygments/commit/bd225771e856b79e8cb5b81533e1eba0cf9fbf85"><code>bd22577</code></a> Fix regexlint warnings after latest update.</li> <li><a href="https://github.com/pygments/pygments/commit/6a62df1d1fc77af7e9fc61325ef376297cadffbb"><code>6a62df1</code></a> Release preparation: Update the changelog.</li> <li><a href="https://github.com/pygments/pygments/commit/aabba32860b5ba15acabdcba9b436a32e92ce75e"><code>aabba32</code></a> Merge pull request <a href="https://redirect.github.com/pygments/pygments/issues/3221">#3221</a> from jvoisin/alter</li> <li><a href="https://github.com/pygments/pygments/commit/d3441d00a33467255b8b3ae9862f454e3aa58e3d"><code>d3441d0</code></a> Merge pull request <a href="https://redirect.github.com/pygments/pygments/issues/3225">#3225</a> from jvoisin/caddy</li> <li><a href="https://github.com/pygments/pygments/commit/c593f3f2f69e09670e58a121437a3c830a643071"><code>c593f3f</code></a> Add a lexer for Caddy</li> <li><a href="https://github.com/pygments/pygments/commit/0644b532c8df1dd67b26471871d432d100252a11"><code>0644b53</code></a> Simplify single-character regex alternations to character classes</li> <li>Additional commits viewable in <a href="https://github.com/pygments/pygments/compare/2.20.0...2.21.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pygments&package-manager=pip&previous-version=2.20.0&new-version=2.21.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 8c8906a commit dfdcc7d

10 files changed

Lines changed: 10 additions & 10 deletions

File tree

‎requirements/constraints.txt‎

Lines changed: 1 addition & 1 deletion

‎requirements/dev.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ pydantic==2.13.4
189189
# via python-on-whales
190190
pydantic-core==2.46.4
191191
# via pydantic
192-
pygments==2.20.0
192+
pygments==2.21.0
193193
# via
194194
# pytest
195195
# rich

‎requirements/doc-spelling.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ packaging==26.3
4646
# via sphinx
4747
pyenchant==3.3.0
4848
# via sphinxcontrib-spelling
49-
pygments==2.20.0
49+
pygments==2.21.0
5050
# via sphinx
5151
pyyaml==6.0.3
5252
# via

‎requirements/doc.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ myst-parser==4.0.1
4444
# via -r requirements/doc.in
4545
packaging==26.3
4646
# via sphinx
47-
pygments==2.20.0
47+
pygments==2.21.0
4848
# via sphinx
4949
pyyaml==6.0.3
5050
# via

‎requirements/lint.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ pydantic==2.13.4
104104
# via python-on-whales
105105
pydantic-core==2.46.4
106106
# via pydantic
107-
pygments==2.20.0
107+
pygments==2.21.0
108108
# via
109109
# pytest
110110
# rich

‎requirements/test-common-base.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ propcache==0.5.2
4646
# yarl
4747
proxy-py==2.4.10
4848
# via -r requirements/test-common-base.in
49-
pygments==2.20.0
49+
pygments==2.21.0
5050
# via pytest
5151
pytest==9.1.1
5252
# via

‎requirements/test-common.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ pydantic==2.13.4
8484
# via python-on-whales
8585
pydantic-core==2.46.4
8686
# via pydantic
87-
pygments==2.20.0
87+
pygments==2.21.0
8888
# via
8989
# pytest
9090
# rich

‎requirements/test-ft.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ pydantic==2.13.4
111111
# via python-on-whales
112112
pydantic-core==2.46.4
113113
# via pydantic
114-
pygments==2.20.0
114+
pygments==2.21.0
115115
# via
116116
# pytest
117117
# rich

‎requirements/test-mobile.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ pycares==5.0.1 ; sys_platform != "android" and sys_platform != "ios"
8181
# aiodns
8282
pycparser==3.0
8383
# via cffi
84-
pygments==2.20.0
84+
pygments==2.21.0
8585
# via pytest
8686
pytest==9.1.1
8787
# via

‎requirements/test.txt‎

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)