Update dependency packaging to v26#2007
Open
renovate[bot] wants to merge 1 commit intodevfrom
Open
Conversation
2c2c397 to
b341c8e
Compare
7432ea9 to
37e2938
Compare
b2c114c to
50c67e8
Compare
2de4e85 to
c5515d2
Compare
51b5f08 to
cdc1834
Compare
9f1d14f to
cdeb80b
Compare
cdeb80b to
5404573
Compare
5bfba9c to
24c6c15
Compare
2ed7a9a to
0f734b5
Compare
2e002bd to
72fd913
Compare
72fd913 to
7ba66e2
Compare
7ba66e2 to
a6c0ca3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.2Release Notes
pypa/packaging (packaging)
v26.2Compare Source
v26.1Compare Source
Features:
PEP 783: add handling for Emscripten wheel tags by @hoodmane in #804(old name used in implementation, will be fixed in next release)abi3.abi3tfree-threading tag by @ngoldbaum in #1099packaging.dependency_groupsmodule, based on thedependency-groupspackage by @sirosen in #1065packaging.direct_urlmodule by @sbidoul in #944packaging.errorsmodule by @henryiii in #1071SpecifierSet.is_unsatisfiableusing ranges (new internals that will be expanded in future versions) by @notatallshaw in #1119create_compatible_tags_selectorto select compatible tags by @sbidoul in #1110keyargument toSpecifierSet.filter()by @frostming in #1068&and|forMarker's by @henryiii in #1146Version.__replace__and addVersion.from_partsby @henryiii in #1078parse_wheel_filenameby @r266-tech in #1150Behavior adaptations:
<V.postNto match spec by @notatallshaw in #1140>Vto match spec by @notatallshaw in #1141format_full_versionto_format_full_versionto make it visibly private by @r266-tech in #1125Pylock (PEP 751) updates:
selectfunction by @sbidoul in #1092select()method andPylockSelectErrorby @r266-tech in #1153filenameproperty toPackageSdistandPackageWheel, more validation by @sbidoul in #1095Fixes:
>comparison for versions with dev+local segments by @veeceey in #1097InfinityTypeandNegativeInfinityTypeby @bysiber in #1093SpecifierSetby @notatallshaw in #1109keyparameter inSpecifierSet.filterwhen specifiers are empty and prerelease isFalseby @notatallshaw in #1096reproutput by @henryiii in #1090Specifier's===uses original string, not normalized, when available by @notatallshaw in #1124ValueErrorby @notatallshaw in #1155Performance:
VersiontoVersioncomparison by skipping_keyproperty by @notatallshaw in #1083Versionhash value in dedicated slot by @notatallshaw in #1118_cmpkeyto remove use of custom objects by @notatallshaw in #1116__replace__in Specifier comparison if not needed by @notatallshaw in #1081SpecifierSetusetupleinstead offrozensetfor_specsby @notatallshaw in #1108SpecifierSetfiltering by implementing cost-based ordering by @notatallshaw in #1105SpecifierSet.filterby @notatallshaw in #1076__slots__toMarkerby @henryiii in #1147Specifierregex by @sirosen in #1106Internal:
collections.namedtuplein tests by @henryiii in #1070dir()/ tab-completion in REPL by @henryiii in #1011__all__/__dir__by @henryiii in #1069SpecifierSet.prereleasesby @notatallshaw in #1073_compare_compatibleby @notatallshaw in #1100Specifier.prereleasesby @notatallshaw in #1074Specifier.prereleasesby @notatallshaw in #1072Documentation:
Version.from_parts()by @Jackenmen in #1134&and|operators for combiningMarkerobjects by @r266-tech in #1151Versiondocumentation by @henryiii in #1089Benchmarks
Performance improvements since 26.0, from the new integrated benchmark suite:
New Contributors
Full Changelog: pypa/packaging@26.0...26.1
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: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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.
This PR was generated by Mend Renovate. View the repository job log.