Update dependency packaging to v26.1 #155

Merged
renovate-bot merged 1 commit from renovate/packaging-26.x into master 2026-04-15 02:01:29 +02:00
Collaborator

This PR contains the following updates:

Package Change Age Confidence
packaging ==26.0==26.1 age confidence

Release Notes

pypa/packaging (packaging)

v26.1

Compare Source

Features:

Behavior adaptations:

Pylock (PEP 751) updates:

Fixes:

Performance:

Internal:

Documentation:

Benchmarks

Performance improvements since 26.0, from the new integrated benchmark suite:

uv run asv run 26.0..HEAD
Screenshot 2026-04-13 at 11 32 14 PM Screenshot 2026-04-13 at 11 32 43 PM

New Contributors

Full Changelog: https://github.com/pypa/packaging/compare/26.0...26.1


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [packaging](https://github.com/pypa/packaging) | `==26.0` → `==26.1` | ![age](https://developer.mend.io/api/mc/badges/age/pypi/packaging/26.1?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/packaging/26.0/26.1?slim=true) | --- ### Release Notes <details> <summary>pypa/packaging (packaging)</summary> ### [`v26.1`](https://github.com/pypa/packaging/releases/tag/26.1) [Compare Source](https://github.com/pypa/packaging/compare/26.0...26.1) Features: - PEP 783: add handling for Emscripten wheel tags by [@&#8203;hoodmane](https://github.com/hoodmane) in [#&#8203;804](https://github.com/pypa/packaging/pull/804) - PEP 803: add handling for the `abi3.abi3t` free-threading tag by [@&#8203;ngoldbaum](https://github.com/ngoldbaum) in [#&#8203;1099](https://github.com/pypa/packaging/pull/1099) - PEP 723: add `packaging.dependency_groups` module, based on the `dependency-groups` package by [@&#8203;sirosen](https://github.com/sirosen) in [#&#8203;1065](https://github.com/pypa/packaging/pull/1065) - Add the `packaging.direct_url` module by [@&#8203;sbidoul](https://github.com/sbidoul) in [#&#8203;944](https://github.com/pypa/packaging/pull/944) - Add the `packaging.errors` module by [@&#8203;henryiii](https://github.com/henryiii) in [#&#8203;1071](https://github.com/pypa/packaging/pull/1071) - Add `SpecifierSet.is_unsatisfiable` using ranges (new internals that will be expanded in future versions) by [@&#8203;notatallshaw](https://github.com/notatallshaw) in [#&#8203;1119](https://github.com/pypa/packaging/pull/1119) - Add `create_compatible_tags_selector` to select compatible tags by [@&#8203;sbidoul](https://github.com/sbidoul) in [#&#8203;1110](https://github.com/pypa/packaging/pull/1110) - Add a `key` argument to `SpecifierSet.filter()` by [@&#8203;frostming](https://github.com/frostming) in [#&#8203;1068](https://github.com/pypa/packaging/pull/1068) - Support `&` and `|` for `Marker`'s by [@&#8203;henryiii](https://github.com/henryiii) in [#&#8203;1146](https://github.com/pypa/packaging/pull/1146) - Normalize `Version.__replace__` and add `Version.from_parts` by [@&#8203;henryiii](https://github.com/henryiii) in [#&#8203;1078](https://github.com/pypa/packaging/pull/1078) - Add an option to validate compressed tag set sort order in `parse_wheel_filename` by [@&#8203;r266-tech](https://github.com/r266-tech) in [#&#8203;1150](https://github.com/pypa/packaging/pull/1150) Behavior adaptations: - Narrow exclusion of pre-releases for `<V.postN` to match spec by [@&#8203;notatallshaw](https://github.com/notatallshaw) in [#&#8203;1140](https://github.com/pypa/packaging/pull/1140) - Narrow exclusion of post-releases for `>V` to match spec by [@&#8203;notatallshaw](https://github.com/notatallshaw) in [#&#8203;1141](https://github.com/pypa/packaging/pull/1141) - Rename `format_full_version` to `_format_full_version` to make it visibly private by [@&#8203;r266-tech](https://github.com/r266-tech) in [#&#8203;1125](https://github.com/pypa/packaging/pull/1125) - Restrict local version to ASCII by [@&#8203;henryiii](https://github.com/henryiii) in [#&#8203;1102](https://github.com/pypa/packaging/pull/1102) Pylock (PEP 751) updates: - Add pylock `select` function by [@&#8203;sbidoul](https://github.com/sbidoul) in [#&#8203;1092](https://github.com/pypa/packaging/pull/1092) - Document pylock `select()` method and `PylockSelectError` by [@&#8203;r266-tech](https://github.com/r266-tech) in [#&#8203;1153](https://github.com/pypa/packaging/pull/1153) - Add `filename` property to `PackageSdist` and `PackageWheel`, more validation by [@&#8203;sbidoul](https://github.com/sbidoul) in [#&#8203;1095](https://github.com/pypa/packaging/pull/1095) - Give preference to path over url by [@&#8203;sbidoul](https://github.com/sbidoul) in [#&#8203;1128](https://github.com/pypa/packaging/pull/1128) - Validate name/version consistency in file names by [@&#8203;sbidoul](https://github.com/sbidoul) in [#&#8203;1114](https://github.com/pypa/packaging/pull/1114) Fixes: - Fix `>` comparison for versions with dev+local segments by [@&#8203;veeceey](https://github.com/veeceey) in [#&#8203;1097](https://github.com/pypa/packaging/pull/1097) - Fix incorrect self-comparison for `InfinityType` and `NegativeInfinityType` by [@&#8203;bysiber](https://github.com/bysiber) in [#&#8203;1093](https://github.com/pypa/packaging/pull/1093) - Canonicalize when deduplicating specifiers in `SpecifierSet` by [@&#8203;notatallshaw](https://github.com/notatallshaw) in [#&#8203;1109](https://github.com/pypa/packaging/pull/1109) - Fix charset error message formatting by [@&#8203;notatallshaw](https://github.com/notatallshaw) in [#&#8203;1121](https://github.com/pypa/packaging/pull/1121) - Handle the `key` parameter in `SpecifierSet.filter` when specifiers are empty and prerelease is `False` by [@&#8203;notatallshaw](https://github.com/notatallshaw) in [#&#8203;1096](https://github.com/pypa/packaging/pull/1096) - Standardize inner components of `repr` output by [@&#8203;henryiii](https://github.com/henryiii) in [#&#8203;1090](https://github.com/pypa/packaging/pull/1090) - `Specifier`'s `===` uses original string, not normalized, when available by [@&#8203;notatallshaw](https://github.com/notatallshaw) in [#&#8203;1124](https://github.com/pypa/packaging/pull/1124) - Propagate int-max-str-digits `ValueError` by [@&#8203;notatallshaw](https://github.com/notatallshaw) in [#&#8203;1155](https://github.com/pypa/packaging/pull/1155) Performance: - Add fast path for parsing simple versions (digits and dots only) by [@&#8203;notatallshaw](https://github.com/notatallshaw) in [#&#8203;1082](https://github.com/pypa/packaging/pull/1082) - Add fast path for `Version` to `Version` comparison by skipping `_key` property by [@&#8203;notatallshaw](https://github.com/notatallshaw) in [#&#8203;1083](https://github.com/pypa/packaging/pull/1083) - Cache `Version` hash value in dedicated slot by [@&#8203;notatallshaw](https://github.com/notatallshaw) in [#&#8203;1118](https://github.com/pypa/packaging/pull/1118) - Overhaul `_cmpkey` to remove use of custom objects by [@&#8203;notatallshaw](https://github.com/notatallshaw) in [#&#8203;1116](https://github.com/pypa/packaging/pull/1116) - Skip `__replace__` in Specifier comparison if not needed by [@&#8203;notatallshaw](https://github.com/notatallshaw) in [#&#8203;1081](https://github.com/pypa/packaging/pull/1081) - `SpecifierSet` use `tuple` instead of `frozenset` for `_specs` by [@&#8203;notatallshaw](https://github.com/notatallshaw) in [#&#8203;1108](https://github.com/pypa/packaging/pull/1108) - Speed up complex `SpecifierSet` filtering by implementing cost-based ordering by [@&#8203;notatallshaw](https://github.com/notatallshaw) in [#&#8203;1105](https://github.com/pypa/packaging/pull/1105) - Speed up wildcard comparison by [@&#8203;notatallshaw](https://github.com/notatallshaw) in [#&#8203;1111](https://github.com/pypa/packaging/pull/1111) - Stream PEP440 filtering in `SpecifierSet.filter` by [@&#8203;notatallshaw](https://github.com/notatallshaw) in [#&#8203;1076](https://github.com/pypa/packaging/pull/1076) - Add `__slots__` to `Marker` by [@&#8203;henryiii](https://github.com/henryiii) in [#&#8203;1147](https://github.com/pypa/packaging/pull/1147) - Simply `Specifier` regex by [@&#8203;sirosen](https://github.com/sirosen) in [#&#8203;1106](https://github.com/pypa/packaging/pull/1106) - Skip using the hash property internally by [@&#8203;notatallshaw](https://github.com/notatallshaw) in [#&#8203;1115](https://github.com/pypa/packaging/pull/1115) Internal: - Add downstream testing by [@&#8203;henryiii](https://github.com/henryiii) in [#&#8203;1049](https://github.com/pypa/packaging/pull/1049) - Benchmarking suite by [@&#8203;henryiii](https://github.com/henryiii) in [#&#8203;1059](https://github.com/pypa/packaging/pull/1059) - Benchmark variance reduction by [@&#8203;notatallshaw](https://github.com/notatallshaw) in [#&#8203;1107](https://github.com/pypa/packaging/pull/1107) - Add property-based tests for PEP 440 by [@&#8203;notatallshaw](https://github.com/notatallshaw) in [#&#8203;1144](https://github.com/pypa/packaging/pull/1144) - Clean up a few `collections.namedtuple` in tests by [@&#8203;henryiii](https://github.com/henryiii) in [#&#8203;1070](https://github.com/pypa/packaging/pull/1070) - Do not reload the tags module in tests by [@&#8203;henryiii](https://github.com/henryiii) in [#&#8203;1152](https://github.com/pypa/packaging/pull/1152) - Limit `dir()` / tab-completion in REPL by [@&#8203;henryiii](https://github.com/henryiii) in [#&#8203;1011](https://github.com/pypa/packaging/pull/1011) - Add more `__all__`/`__dir__` by [@&#8203;henryiii](https://github.com/henryiii) in [#&#8203;1069](https://github.com/pypa/packaging/pull/1069) - Cleanup pre-commit a bit by [@&#8203;henryiii](https://github.com/henryiii) in [#&#8203;1080](https://github.com/pypa/packaging/pull/1080) - Pin pre-commit file, use dependabot by [@&#8203;henryiii](https://github.com/henryiii) in [#&#8203;1133](https://github.com/pypa/packaging/pull/1133) - Remove sphinx-toolbox by [@&#8203;henryiii](https://github.com/henryiii) in [#&#8203;1135](https://github.com/pypa/packaging/pull/1135) - Use docs group, faster readthedocs by [@&#8203;henryiii](https://github.com/henryiii) in [#&#8203;1061](https://github.com/pypa/packaging/pull/1061) - Add free-threaded Python to CI by [@&#8203;henryiii](https://github.com/henryiii) in [#&#8203;1098](https://github.com/pypa/packaging/pull/1098) - Simplify combining `SpecifierSet.prereleases` by [@&#8203;notatallshaw](https://github.com/notatallshaw) in [#&#8203;1073](https://github.com/pypa/packaging/pull/1073) - Use direct operator methods in `_compare_compatible` by [@&#8203;notatallshaw](https://github.com/notatallshaw) in [#&#8203;1100](https://github.com/pypa/packaging/pull/1100) - Remove unnecessary if statement in `Specifier.prereleases` by [@&#8203;notatallshaw](https://github.com/notatallshaw) in [#&#8203;1074](https://github.com/pypa/packaging/pull/1074) - Remove unneeded nesting in `Specifier.prereleases` by [@&#8203;notatallshaw](https://github.com/notatallshaw) in [#&#8203;1072](https://github.com/pypa/packaging/pull/1072) Documentation: - Fix documentation: grammar, typos, formatting, and outdated references by [@&#8203;DimitriPapadopoulos](https://github.com/DimitriPapadopoulos) in [#&#8203;1084](https://github.com/pypa/packaging/pull/1084) - Fix versionadded for `Version.from_parts()` by [@&#8203;Jackenmen](https://github.com/Jackenmen) in [#&#8203;1134](https://github.com/pypa/packaging/pull/1134) - Document `&` and `|` operators for combining `Marker` objects by [@&#8203;r266-tech](https://github.com/r266-tech) in [#&#8203;1151](https://github.com/pypa/packaging/pull/1151) - Expand and clean up `Version` documentation by [@&#8203;henryiii](https://github.com/henryiii) in [#&#8203;1089](https://github.com/pypa/packaging/pull/1089) - Move license docs inline by [@&#8203;henryiii](https://github.com/henryiii) in [#&#8203;1131](https://github.com/pypa/packaging/pull/1131) - Move markers inline by [@&#8203;henryiii](https://github.com/henryiii) in [#&#8203;1104](https://github.com/pypa/packaging/pull/1104) - Move tags docs to inline by [@&#8203;henryiii](https://github.com/henryiii) in [#&#8203;1130](https://github.com/pypa/packaging/pull/1130) - Move utilities inline, like other modules by [@&#8203;henryiii](https://github.com/henryiii) in [#&#8203;1103](https://github.com/pypa/packaging/pull/1103) #### Benchmarks Performance improvements since 26.0, from the new integrated benchmark suite: ``` uv run asv run 26.0..HEAD ``` <img width="908" height="965" alt="Screenshot 2026-04-13 at 11 32 14 PM" src="https://github.com/user-attachments/assets/3bf63569-dbbf-4f34-9660-ede3cef1745d" /> <img width="908" height="479" alt="Screenshot 2026-04-13 at 11 32 43 PM" src="https://github.com/user-attachments/assets/f7906800-f6d9-4af6-a3f3-369b654b73e3" /> #### New Contributors - [@&#8203;veeceey](https://github.com/veeceey) made their first contribution in [#&#8203;1097](https://github.com/pypa/packaging/pull/1097) - [@&#8203;bysiber](https://github.com/bysiber) made their first contribution in [#&#8203;1093](https://github.com/pypa/packaging/pull/1093) - [@&#8203;sirosen](https://github.com/sirosen) made their first contribution in [#&#8203;1106](https://github.com/pypa/packaging/pull/1106) - [@&#8203;Jackenmen](https://github.com/Jackenmen) made their first contribution in [#&#8203;1134](https://github.com/pypa/packaging/pull/1134) - [@&#8203;ngoldbaum](https://github.com/ngoldbaum) made their first contribution in [#&#8203;1099](https://github.com/pypa/packaging/pull/1099) - [@&#8203;r266-tech](https://github.com/r266-tech) made their first contribution in [#&#8203;1151](https://github.com/pypa/packaging/pull/1151) - [@&#8203;hoodmane](https://github.com/hoodmane) made their first contribution in [#&#8203;804](https://github.com/pypa/packaging/pull/804) **Full Changelog**: <https://github.com/pypa/packaging/compare/26.0...26.1> </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xMTAuMTAiLCJ1cGRhdGVkSW5WZXIiOiI0My4xMTAuMTAiLCJ0YXJnZXRCcmFuY2giOiJtYXN0ZXIiLCJsYWJlbHMiOltdfQ==-->
Update dependency packaging to v26.1
All checks were successful
Python formatting PEP8 / Python-PEP8 (push) Successful in 12s
Renovate / forgejo (push) Successful in 20s
Test / test (push) Successful in 17s
Test / test (pull_request) Successful in 16s
a13533ac85
renovate-bot scheduled this pull request to auto merge when all checks succeed 2026-04-15 02:01:14 +02:00
renovate-bot deleted branch renovate/packaging-26.x 2026-04-15 02:01:29 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
finn/reminder!155
No description provided.