Update dependency packaging to v26 #76
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==25.0→==26.0Release Notes
pypa/packaging (packaging)
v26.0Compare Source
Read about the performance improvements here: https://iscinumpy.dev/post/packaging-faster.
What's Changed
Features:
__replace__forVersionby @henryiii in #1003VersionandSpecifierby @henryiii in #1004Behavior adaptations:
Specifier.contains,SpecifierSet.contains, andSpecifierSet.filterby @notatallshaw in #897SpecifierSet.filterby @notatallshaw in #942SpecifierSetby @notatallshaw in #951Falseinstead of raising for.containswith invalid version by @Liam-DeVoe in #932SpecifierandSpecifierSet'sfilterandcontainsmethod. by @notatallshaw in #954Versionon certain marker keys, returnFalseon unequal ordered comparsions by @JP-Ellis in #939Fixes:
_hashwhen unpicklingTag()by @dholth in #860Specifier.prereleasesby @notatallshaw in #896_GLibCVersionNamedTuplein_manylinuxby @cthoyt in #868()by @bwoodsend in #879'name'format by @di in #925Requirementsstring by @henryiii in #953packaginglogger instead by @henryiii in #965MarkerandRequirementby @henryiii in #1022Markerfails to construct by @henryiii in #1033Performance:
_manylinux.pyby @cthoyt in #869Versionby @bearomorphism in #913Versions in specifier comparison by @notatallshaw in #986Specifier's Version by @notatallshaw in #985Versiona little faster by @henryiii in #987Versionregex cleanup by @henryiii in #990_keyinVersionby @notatallshaw in #989 and regression forpackaging_legacyfixed by @henryiii in #1048canonicalize_versionby @henryiii in #993fullmatchin a couple more places by @henryiii in #992fullmatchfor markers too by @henryiii in #1029mapinstead of generator by @henryiii in #996._version(_Version, aNamedTuple) by @henryiii in #995 and #1062Versioncreation incanonicalize_versionby @henryiii in #994__slots__toVersionby @henryiii in #1001__slots__toSpecifiers by @henryiii in #1002__slots__toNodes by @henryiii in #1032version.__replace__in specifier comparison by @notatallshaw in #999_get_spec_versionin more places inSpecifierby @notatallshaw in #1005setconstruction out of function by @henryiii in #1012Version.__str__by about 10% by @henryiii in #997canonicalize_nameby avoiding a regex by @henryiii in #1030, #1047, and #1064Type annotations:
parse_wheel_filenamedocs by @ncoghlan in #973_versionin.version.Versionby @brettcannon in #927specifier.pyby @subhajitsaha01 in #930Internal:
license-filesby @DimitriPapadopoulos in #924python_versionby @trim21 in #908ruffwas renamedruff-checkin pre-commit by @henryiii in #933log_levelis better thanlog_cli_levelby @henryiii in #956partitionin_parse_project_urlsby @henryiii in #1013packaging.licensesby @notatallshaw in #1039contextlib.contextmanagerby @SpecLad in #1046actionlintto check CI workflows by @miketheman in #1052New Contributors
Since last RC
Fixes:
._versionas a compat shim by @henryiii in #1062Performance:
Documentaiton:
Full Changelog: pypa/packaging@26.0rc3...26.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 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 these updates again.
This PR has been generated by Renovate Bot.