Skip to content

Commit 995ae8a

Browse files
Bump packaging from 26.0 to 26.1 (#12379)
Bumps [packaging](https://github.com/pypa/packaging) from 26.0 to 26.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pypa/packaging/releases">packaging's releases</a>.</em></p> <blockquote> <h2>26.1</h2> <p>Features:</p> <ul> <li><del>PEP 783: add handling for Emscripten wheel tags by <a href="https://github.com/hoodmane"><code>@​hoodmane</code></a> in <a href="https://redirect.github.com/pypa/packaging/pull/804">pypa/packaging#804</a></del> (old name used in implementation, will be fixed in next release)</li> <li>PEP 803: add handling for the <code>abi3.abi3t</code> free-threading tag by <a href="https://github.com/ngoldbaum"><code>@​ngoldbaum</code></a> in <a href="https://redirect.github.com/pypa/packaging/pull/1099">pypa/packaging#1099</a></li> <li>PEP 723: add <code>packaging.dependency_groups</code> module, based on the <code>dependency-groups</code> package by <a href="https://github.com/sirosen"><code>@​sirosen</code></a> in <a href="https://redirect.github.com/pypa/packaging/pull/1065">pypa/packaging#1065</a></li> <li>Add the <code>packaging.direct_url</code> module by <a href="https://github.com/sbidoul"><code>@​sbidoul</code></a> in <a href="https://redirect.github.com/pypa/packaging/pull/944">pypa/packaging#944</a></li> <li>Add the <code>packaging.errors</code> module by <a href="https://github.com/henryiii"><code>@​henryiii</code></a> in <a href="https://redirect.github.com/pypa/packaging/pull/1071">pypa/packaging#1071</a></li> <li>Add <code>SpecifierSet.is_unsatisfiable</code> using ranges (new internals that will be expanded in future versions) by <a href="https://github.com/notatallshaw"><code>@​notatallshaw</code></a> in <a href="https://redirect.github.com/pypa/packaging/pull/1119">pypa/packaging#1119</a></li> <li>Add <code>create_compatible_tags_selector</code> to select compatible tags by <a href="https://github.com/sbidoul"><code>@​sbidoul</code></a> in <a href="https://redirect.github.com/pypa/packaging/pull/1110">pypa/packaging#1110</a></li> <li>Add a <code>key</code> argument to <code>SpecifierSet.filter()</code> by <a href="https://github.com/frostming"><code>@​frostming</code></a> in <a href="https://redirect.github.com/pypa/packaging/pull/1068">pypa/packaging#1068</a></li> <li>Support <code>&amp;</code> and <code>|</code> for <code>Marker</code>'s by <a href="https://github.com/henryiii"><code>@​henryiii</code></a> in <a href="https://redirect.github.com/pypa/packaging/pull/1146">pypa/packaging#1146</a></li> <li>Normalize <code>Version.__replace__</code> and add <code>Version.from_parts</code> by <a href="https://github.com/henryiii"><code>@​henryiii</code></a> in <a href="https://redirect.github.com/pypa/packaging/pull/1078">pypa/packaging#1078</a></li> <li>Add an option to validate compressed tag set sort order in <code>parse_wheel_filename</code> by <a href="https://github.com/r266-tech"><code>@​r266-tech</code></a> in <a href="https://redirect.github.com/pypa/packaging/pull/1150">pypa/packaging#1150</a></li> </ul> <p>Behavior adaptations:</p> <ul> <li>Narrow exclusion of pre-releases for <code>&lt;V.postN</code> to match spec by <a href="https://github.com/notatallshaw"><code>@​notatallshaw</code></a> in <a href="https://redirect.github.com/pypa/packaging/pull/1140">pypa/packaging#1140</a></li> <li>Narrow exclusion of post-releases for <code>&gt;V</code> to match spec by <a href="https://github.com/notatallshaw"><code>@​notatallshaw</code></a> in <a href="https://redirect.github.com/pypa/packaging/pull/1141">pypa/packaging#1141</a></li> <li>Rename <code>format_full_version</code> to <code>_format_full_version</code> to make it visibly private by <a href="https://github.com/r266-tech"><code>@​r266-tech</code></a> in <a href="https://redirect.github.com/pypa/packaging/pull/1125">pypa/packaging#1125</a></li> <li>Restrict local version to ASCII by <a href="https://github.com/henryiii"><code>@​henryiii</code></a> in <a href="https://redirect.github.com/pypa/packaging/pull/1102">pypa/packaging#1102</a></li> </ul> <p>Pylock (PEP 751) updates:</p> <ul> <li>Add pylock <code>select</code> function by <a href="https://github.com/sbidoul"><code>@​sbidoul</code></a> in <a href="https://redirect.github.com/pypa/packaging/pull/1092">pypa/packaging#1092</a></li> <li>Document pylock <code>select()</code> method and <code>PylockSelectError</code> by <a href="https://github.com/r266-tech"><code>@​r266-tech</code></a> in <a href="https://redirect.github.com/pypa/packaging/pull/1153">pypa/packaging#1153</a></li> <li>Add <code>filename</code> property to <code>PackageSdist</code> and <code>PackageWheel</code>, more validation by <a href="https://github.com/sbidoul"><code>@​sbidoul</code></a> in <a href="https://redirect.github.com/pypa/packaging/pull/1095">pypa/packaging#1095</a></li> <li>Give preference to path over url by <a href="https://github.com/sbidoul"><code>@​sbidoul</code></a> in <a href="https://redirect.github.com/pypa/packaging/pull/1128">pypa/packaging#1128</a></li> <li>Validate name/version consistency in file names by <a href="https://github.com/sbidoul"><code>@​sbidoul</code></a> in <a href="https://redirect.github.com/pypa/packaging/pull/1114">pypa/packaging#1114</a></li> </ul> <p>Fixes:</p> <ul> <li>Fix <code>&gt;</code> comparison for versions with dev+local segments by <a href="https://github.com/veeceey"><code>@​veeceey</code></a> in <a href="https://redirect.github.com/pypa/packaging/pull/1097">pypa/packaging#1097</a></li> <li>Fix incorrect self-comparison for <code>InfinityType</code> and <code>NegativeInfinityType</code> by <a href="https://github.com/bysiber"><code>@​bysiber</code></a> in <a href="https://redirect.github.com/pypa/packaging/pull/1093">pypa/packaging#1093</a></li> <li>Canonicalize when deduplicating specifiers in <code>SpecifierSet</code> by <a href="https://github.com/notatallshaw"><code>@​notatallshaw</code></a> in <a href="https://redirect.github.com/pypa/packaging/pull/1109">pypa/packaging#1109</a></li> <li>Fix charset error message formatting by <a href="https://github.com/notatallshaw"><code>@​notatallshaw</code></a> in <a href="https://redirect.github.com/pypa/packaging/pull/1121">pypa/packaging#1121</a></li> <li>Handle the <code>key</code> parameter in <code>SpecifierSet.filter</code> when specifiers are empty and prerelease is <code>False</code> by <a href="https://github.com/notatallshaw"><code>@​notatallshaw</code></a> in <a href="https://redirect.github.com/pypa/packaging/pull/1096">pypa/packaging#1096</a></li> <li>Standardize inner components of <code>repr</code> output by <a href="https://github.com/henryiii"><code>@​henryiii</code></a> in <a href="https://redirect.github.com/pypa/packaging/pull/1090">pypa/packaging#1090</a></li> <li><code>Specifier</code>'s <code>===</code> uses original string, not normalized, when available by <a href="https://github.com/notatallshaw"><code>@​notatallshaw</code></a> in <a href="https://redirect.github.com/pypa/packaging/pull/1124">pypa/packaging#1124</a></li> <li>Propagate int-max-str-digits <code>ValueError</code> by <a href="https://github.com/notatallshaw"><code>@​notatallshaw</code></a> in <a href="https://redirect.github.com/pypa/packaging/pull/1155">pypa/packaging#1155</a></li> </ul> <p>Performance:</p> <ul> <li>Add fast path for parsing simple versions (digits and dots only) by <a href="https://github.com/notatallshaw"><code>@​notatallshaw</code></a> in <a href="https://redirect.github.com/pypa/packaging/pull/1082">pypa/packaging#1082</a></li> <li>Add fast path for <code>Version</code> to <code>Version</code> comparison by skipping <code>_key</code> property by <a href="https://github.com/notatallshaw"><code>@​notatallshaw</code></a> in <a href="https://redirect.github.com/pypa/packaging/pull/1083">pypa/packaging#1083</a></li> <li>Cache <code>Version</code> hash value in dedicated slot by <a href="https://github.com/notatallshaw"><code>@​notatallshaw</code></a> in <a href="https://redirect.github.com/pypa/packaging/pull/1118">pypa/packaging#1118</a></li> <li>Overhaul <code>_cmpkey</code> to remove use of custom objects by <a href="https://github.com/notatallshaw"><code>@​notatallshaw</code></a> in <a href="https://redirect.github.com/pypa/packaging/pull/1116">pypa/packaging#1116</a></li> <li>Skip <code>__replace__</code> in Specifier comparison if not needed by <a href="https://github.com/notatallshaw"><code>@​notatallshaw</code></a> in <a href="https://redirect.github.com/pypa/packaging/pull/1081">pypa/packaging#1081</a></li> <li><code>SpecifierSet</code> use <code>tuple</code> instead of <code>frozenset</code> for <code>_specs</code> by <a href="https://github.com/notatallshaw"><code>@​notatallshaw</code></a> in <a href="https://redirect.github.com/pypa/packaging/pull/1108">pypa/packaging#1108</a></li> <li>Speed up complex <code>SpecifierSet</code> filtering by implementing cost-based ordering by <a href="https://github.com/notatallshaw"><code>@​notatallshaw</code></a> in <a href="https://redirect.github.com/pypa/packaging/pull/1105">pypa/packaging#1105</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pypa/packaging/blob/main/CHANGELOG.rst">packaging's changelog</a>.</em></p> <blockquote> <p>26.1 - 2026-04-14</p> <pre><code> Features: <ul> <li>PEP 783: add handling for Emscripten wheel tags in (:pull:<code>804</code>)</li> <li>PEP 803: add handling for the <code>abi3.abi3t</code> free-threading tag in (:pull:<code>1099</code>)</li> <li>PEP 723: add <code>packaging.dependency_groups</code> module, based on the <code>dependency-groups</code> package in (:pull:<code>1065</code>)</li> <li>Add the <code>packaging.direct_url</code> module in (:pull:<code>944</code>)</li> <li>Add the <code>packaging.errors</code> module in (:pull:<code>1071</code>)</li> <li>Add <code>SpecifierSet.is_unsatisfiable</code> using ranges (new internals that will be expanded in future versions) in (:pull:<code>1119</code>)</li> <li>Add <code>create_compatible_tags_selector</code> to select compatible tags in (:pull:<code>1110</code>)</li> <li>Add a <code>key</code> argument to <code>SpecifierSet.filter()</code> in (:pull:<code>1068</code>)</li> <li>Support <code>&amp;amp;</code> and <code>|</code> for <code>Marker</code>'s in (:pull:<code>1146</code>)</li> <li>Normalize <code>Version.__replace__</code> and add <code>Version.from_parts</code> in (:pull:<code>1078</code>)</li> <li>Add an option to validate compressed tag set sort order in <code>parse_wheel_filename</code> in (:pull:<code>1150</code>)</li> </ul> <p>Behavior adaptations:</p> <ul> <li>Narrow exclusion of pre-releases for <code>&amp;lt;V.postN</code> to match spec in (:pull:<code>1140</code>)</li> <li>Narrow exclusion of post-releases for <code>&amp;gt;V</code> to match spec in (:pull:<code>1141</code>)</li> <li>Rename <code>format_full_version</code> to <code>_format_full_version</code> to make it visibly private in (:pull:<code>1125</code>)</li> <li>Restrict local version to ASCII in (:pull:<code>1102</code>)</li> </ul> <p>Pylock (PEP 751) updates:</p> <ul> <li>Add pylock <code>select</code> function in (:pull:<code>1092</code>)</li> <li>Document pylock <code>select()</code> method and <code>PylockSelectError</code> in (:pull:<code>1153</code>)</li> <li>Add <code>filename</code> property to <code>PackageSdist</code> and <code>PackageWheel</code>, more validation in (:pull:<code>1095</code>)</li> <li>Give preference to path over url in (:pull:<code>1128</code>)</li> <li>Validate name/version consistency in file names in (:pull:<code>1114</code>)</li> </ul> <p>Fixes:</p> <ul> <li>Fix <code>&amp;gt;</code> comparison for versions with dev+local segments in (:pull:<code>1097</code>)</li> <li>Fix incorrect self-comparison for <code>InfinityType</code> and <code>NegativeInfinityType</code> in (:pull:<code>1093</code>)</li> <li>Canonicalize when deduplicating specifiers in <code>SpecifierSet</code> in (:pull:<code>1109</code>)</li> <li>Fix charset error message formatting in (:pull:<code>1121</code>)</li> <li>Handle the <code>key</code> parameter in <code>SpecifierSet.filter</code> when specifiers are empty and prerelease is <code>False</code> in (:pull:<code>1096</code>)</li> <li>Standardize inner components of <code>repr</code> output in (:pull:<code>1090</code>)</li> <li><code>Specifier</code>'s <code>===</code> uses original string, not normalized, when available in (:pull:<code>1124</code>)</li> <li>Propagate int-max-str-digits <code>ValueError</code> in (:pull:<code>1155</code>)</li> </ul> <p>Performance:</p> <ul> <li>Add fast path for parsing simple versions (digits and dots only) in (:pull:<code>1082</code>)</li> <li>Add fast path for <code>Version</code> to <code>Version</code> comparison by skipping <code>_key</code> property in (:pull:<code>1083</code>)</li> <li>Cache <code>Version</code> hash value in dedicated slot in (:pull:<code>1118</code>)</li> <li>Overhaul <code>_cmpkey</code> to remove use of custom objects in (:pull:<code>1116</code>)</li> <li>Skip <code>__replace__</code> in Specifier comparison if not needed in (:pull:<code>1081</code>)<br /> &lt;/tr&gt;&lt;/table&gt;<br /> </code></pre></li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pypa/packaging/commit/c1a88a3e035e8bfe47dbc957f4a2493e8a7b4f3c"><code>c1a88a3</code></a> Bump for release</li> <li><a href="https://github.com/pypa/packaging/commit/702c25ecc297054f9597acda987a75dd6833acf5"><code>702c25e</code></a> docs: update changelog for 26.1 (<a href="https://redirect.github.com/pypa/packaging/issues/1156">#1156</a>)</li> <li><a href="https://github.com/pypa/packaging/commit/3f4f5d46808f51709aba8341d4121f20752b3235"><code>3f4f5d4</code></a> Implement <code>is_unsatisfiable</code> on <code>SpecifierSet</code> using ranges (<a href="https://redirect.github.com/pypa/packaging/issues/1119">#1119</a>)</li> <li><a href="https://github.com/pypa/packaging/commit/06c6555f44f0f7b84459c876375c5b1d52ee7fef"><code>06c6555</code></a> Propagate int-max-str-digits ValueError (<a href="https://redirect.github.com/pypa/packaging/issues/1155">#1155</a>)</li> <li><a href="https://github.com/pypa/packaging/commit/905c90c1eb8c77dede11899194ca4b0f5eaf188d"><code>905c90c</code></a> feat: option to validate compressed tag set sort order in `parse_wheel_filena...</li> <li><a href="https://github.com/pypa/packaging/commit/af0026cff97a8f28d165d6ac4afb58b2cdc8ffc5"><code>af0026c</code></a> docs(pylock): document select() method and PylockSelectError (<a href="https://redirect.github.com/pypa/packaging/issues/1153">#1153</a>)</li> <li><a href="https://github.com/pypa/packaging/commit/668da8662a112036e4850b68980790cb2d10dae9"><code>668da86</code></a> Rename format_full_version to _format_full_version to make it visibly private...</li> <li><a href="https://github.com/pypa/packaging/commit/f294d529e2634798a98fd9cee6708307a5c1792c"><code>f294d52</code></a> tests: do not reload the tags module (<a href="https://redirect.github.com/pypa/packaging/issues/1152">#1152</a>)</li> <li><a href="https://github.com/pypa/packaging/commit/2c6c7dfa2d406e44b91f3f8d26eeed72437c9435"><code>2c6c7df</code></a> feat: add handling for Emscripten wheels tags per PEP 783 (<a href="https://redirect.github.com/pypa/packaging/issues/804">#804</a>)</li> <li><a href="https://github.com/pypa/packaging/commit/6762eea4de40da02c119d02cc77c907c6b446b86"><code>6762eea</code></a> docs(markers): document &amp; and | operators for combining Marker objects (<a href="https://redirect.github.com/pypa/packaging/issues/1151">#1151</a>)</li> <li>Additional commits viewable in <a href="https://github.com/pypa/packaging/compare/26.0...26.1">compare view</a></li> </ul> </details> <br /> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent b90a0cd commit 995ae8a

File tree

10 files changed

+10
-10
lines changed

10 files changed

+10
-10
lines changed

requirements/base-ft.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ multidict==6.7.1
3030
# via
3131
# -r requirements/runtime-deps.in
3232
# yarl
33-
packaging==26.0
33+
packaging==26.1
3434
# via gunicorn
3535
propcache==0.4.1
3636
# via

requirements/base.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ multidict==6.7.1
3030
# via
3131
# -r requirements/runtime-deps.in
3232
# yarl
33-
packaging==26.0
33+
packaging==26.1
3434
# via gunicorn
3535
propcache==0.4.1
3636
# via

requirements/constraints.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ mypy-extensions==1.1.0
125125
# via mypy
126126
nodeenv==1.10.0
127127
# via pre-commit
128-
packaging==26.0
128+
packaging==26.1
129129
# via
130130
# build
131131
# gunicorn

requirements/dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ mypy-extensions==1.1.0
122122
# via mypy
123123
nodeenv==1.10.0
124124
# via pre-commit
125-
packaging==26.0
125+
packaging==26.1
126126
# via
127127
# build
128128
# gunicorn

requirements/doc-spelling.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jinja2==3.1.6
2828
# towncrier
2929
markupsafe==3.0.3
3030
# via jinja2
31-
packaging==26.0
31+
packaging==26.1
3232
# via sphinx
3333
pyenchant==3.3.0
3434
# via sphinxcontrib-spelling

requirements/doc.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jinja2==3.1.6
2828
# towncrier
2929
markupsafe==3.0.3
3030
# via jinja2
31-
packaging==26.0
31+
packaging==26.1
3232
# via sphinx
3333
pygments==2.20.0
3434
# via sphinx

requirements/lint.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ mypy-extensions==1.1.0
5757
# via mypy
5858
nodeenv==1.10.0
5959
# via pre-commit
60-
packaging==26.0
60+
packaging==26.1
6161
# via pytest
6262
pathspec==1.0.4
6363
# via mypy

requirements/test-common.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ mypy==1.19.1 ; implementation_name == "cpython"
4444
# via -r requirements/test-common.in
4545
mypy-extensions==1.1.0
4646
# via mypy
47-
packaging==26.0
47+
packaging==26.1
4848
# via pytest
4949
pathspec==1.0.4
5050
# via mypy

requirements/test-ft.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ mypy==1.19.1 ; implementation_name == "cpython"
6969
# via -r requirements/test-common.in
7070
mypy-extensions==1.1.0
7171
# via mypy
72-
packaging==26.0
72+
packaging==26.1
7373
# via
7474
# gunicorn
7575
# pytest

requirements/test.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ mypy==1.19.1 ; implementation_name == "cpython"
6969
# via -r requirements/test-common.in
7070
mypy-extensions==1.1.0
7171
# via mypy
72-
packaging==26.0
72+
packaging==26.1
7373
# via
7474
# gunicorn
7575
# pytest

0 commit comments

Comments
 (0)