Update dependency packaging to v26 #94
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:
==21.3→==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
v25.0Compare Source
What's Changed
New Contributors
Full Changelog: pypa/packaging@24.2...25.0
v24.2Compare Source
What's Changed
__str__by @aryanpingle in #817>and<by @notatallshaw in #794Metadata.nameisn't normalized by @brettcannon in #842New Contributors
Full Changelog: pypa/packaging@24.1...24.2
v24.1Compare Source
What's Changed
_parserdocstring by @pradyunsg in #784markers.default_environment()by @edgarrmondragon in #753New Contributors
Full Changelog: pypa/packaging@24.0...24.1
v24.0Compare Source
What's Changed
validatekwarg by @pradyunsg in #731test_glibc_version_string_ctypes_raise_oserrorifctypesis unavailable by @kevinchang96 in #741Py_NOGILtoPy_GIL_DISABLEDby @hugovk in #747New Contributors
Full Changelog: pypa/packaging@23.2...24.0
v23.2Compare Source
What's Changed
_manylinux._is_compatibleby @mayeut in #700armv7l manylinux/musllinuxwheels onarmv8lby @mayeut in #690New Contributors
Full Changelog: pypa/packaging@23.1...23.2
v23.1Compare Source
What's Changed
_keyon_BaseVersionby @di in #669New Contributors
Full Changelog: pypa/packaging@23.0...23.1
v23.0Compare Source
What's Changed
specifiers.BaseSpecifier.filter()by @henryiii in #643"extra"to beNonein the marker environment by @pradyunsg in #650New Contributors
Full Changelog: pypa/packaging@22.0...23.0
v22.0Compare Source
What's Changed
__hash__/__eq__to requirements by @abravalheri in #499setup-pythonv3 and use caching for GHA by @brettcannon in #521actions/*to their latest major versions by @mayeut in #557metadatamodule with a data class for core metadata by @brettcannon in #518utils.NormalizedNameby @brettcannon in #565LegacySpecifierandLegacyVersionby @pradyunsg in #407metadata,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 this update again.
This PR was generated by Mend Renovate. View the repository job log.