Title: chore(deps): bump packaging from 25.0 to 26.0 by dependabot[bot] · Pull Request #339 · codecov/example-python · GitHub
Open Graph Title: chore(deps): bump packaging from 25.0 to 26.0 by dependabot[bot] · Pull Request #339 · codecov/example-python
X Title: chore(deps): bump packaging from 25.0 to 26.0 by dependabot[bot] · Pull Request #339 · codecov/example-python
Description: Bumps packaging from 25.0 to 26.0.
Release notes
Sourced from packaging's releases.
26.0
Read about the performance improvements here: https://iscinumpy.dev/post/packaging-faster.
What's Changed
Features:
PEP 751: support pylock by @sbidoul in pypa/packaging#900
PEP 794: import name metadata by @brettcannon in pypa/packaging#948
Support writing metadata by @henryiii in pypa/packaging#846
Support __replace__ for Version by @henryiii in pypa/packaging#1003
Support positional pattern matching for Version and Specifier by @henryiii in pypa/packaging#1004
Behavior adaptations:
PEP 440 handling of prereleases for Specifier.contains, SpecifierSet.contains, and SpecifierSet.filter by @notatallshaw in pypa/packaging#897
Handle PEP 440 edge case in SpecifierSet.filter by @notatallshaw in pypa/packaging#942
Adjust arbitrary equality intersection preservation in SpecifierSet by @notatallshaw in pypa/packaging#951
Return False instead of raising for .contains with invalid version by @Liam-DeVoe in pypa/packaging#932
Support arbitrary equality on arbitrary strings for Specifier and SpecifierSet's filter and contains method. by @notatallshaw in pypa/packaging#954
Only try to parse as Version on certain marker keys, return False on unequal ordered comparsions by @JP-Ellis in pypa/packaging#939
Fixes:
Update _hash when unpickling Tag() by @dholth in pypa/packaging#860
Correct comment and simplify implicit prerelease handling in Specifier.prereleases by @notatallshaw in pypa/packaging#896
Use explicit _GLibCVersion NamedTuple in _manylinux by @cthoyt in pypa/packaging#868
Detect invalid license expressions containing () by @bwoodsend in pypa/packaging#879
Correct regex for metadata 'name' format by @di in pypa/packaging#925
Improve the message around expecting a semicolon by @pradyunsg in pypa/packaging#833
Support nested parens in license expressions by @Liam-DeVoe in pypa/packaging#931
Add space before at symbol in Requirements string by @henryiii in pypa/packaging#953
A root logger use found by ruff LOG, use packaging logger instead by @henryiii in pypa/packaging#965
Better support for subclassing Marker and Requirement by @henryiii in pypa/packaging#1022
Normalize all extras, not just if it comes first by @henryiii in pypa/packaging#1024
Don't produce a broken repr if Marker fails to construct by @henryiii in pypa/packaging#1033
Performance:
Avoid recompiling regexes in the tokenizer for a 3x speedup by @hauntsaninja in pypa/packaging#1019
Improve performance in _manylinux.py by @cthoyt in pypa/packaging#869
Minor cleanups to Version by @bearomorphism in pypa/packaging#913
Skip redundant creation of Versions in specifier comparison by @notatallshaw in pypa/packaging#986
Cache Specifier's Version by @notatallshaw in pypa/packaging#985
Make Version a little faster by @henryiii in pypa/packaging#987
Minor Version regex cleanup by @henryiii in pypa/packaging#990
Faster regex on Python 3.11.5+ by @henryiii in pypa/packaging#988 and pypa/packaging#1055
Lazily calculate _key in Version by @notatallshaw in pypa/packaging#989 and regression for packaging_legacy fixed by @henryiii in pypa/packaging#1048
Faster canonicalize_version by @henryiii in pypa/packaging#993
Use fullmatch in a couple more places by @henryiii in pypa/packaging#992
... (truncated)
Changelog
Sourced from packaging's changelog.
26.0 - 2026-01-20
Features:
PEP 751: support pylock (:pull:900)
PEP 794: import name metadata (:pull:948)
Support for writing metadata to a file (:pull:846)
Support __replace__ on Version (:pull:1003)
Support positional pattern matching for Version and SpecifierSet (:pull:1004)
Behavior adaptations:
PEP 440 handling of prereleases for Specifier.contains, SpecifierSet.contains, and SpecifierSet.filter (:pull:897)
Handle PEP 440 edge case in SpecifierSet.filter (:pull:942)
Adjust arbitrary equality intersection preservation in SpecifierSet (:pull:951)
Return False instead of raising for .contains with invalid version (:pull:932)
Support arbitrary equality on arbitrary strings for Specifier and SpecifierSet's filter and contains method. (:pull:954)
Only try to parse as Version on certain marker keys, return False on unequal ordered comparisons (:pull:939)
Fixes:
Update _hash when unpickling Tag() (:pull:860)
Correct comment and simplify implicit prerelease handling in Specifier.prereleases (:pull:896)
Use explicit _GLibCVersion NamedTuple in _manylinux (:pull:868)
Detect invalid license expressions containing () (:pull:879)
Correct regex for metadata 'name' format (:pull:925)
Improve the message around expecting a semicolon (:pull:833)
Support nested parens in license expressions (:pull:931)
Add space before at symbol in Requirements string (:pull:953)
A root logger use found, use a packaging logger instead (:pull:965)
Better support for subclassing Marker and Requirement (:pull:1022)
Normalize all extras, not just if it comes first (:pull:1024)
Don't produce a broken repr if Marker fails to construct (:pull:1033)
Performance:
Avoid recompiling regexes in the tokenizer for a 3x speedup (:pull:1019)
Improve performance in _manylinux.py (:pull:869)
Minor cleanups to Version (:pull:913)
Skip redundant creation of Version's in specifier comparison (:pull:986)
Cache the Specifier's Version (:pull:985)
Make Version a little faster (:pull:987)
Minor Version regex cleanup (:pull:990)
Faster regex on Python 3.11.5+ for Version (:pull:988, :pull:1055)
Lazily calculate _key in Version (:pull:989, :pull:1048)
Faster canonicalize_version (:pull:993)
Use re.fullmatch in a couple more places (:pull:992, :pull:1029)
Use map instead of generator (:pull:996)
Deprecate ._version (_Version, a NamedTuple) (:pull:995, :pull:1062)
... (truncated)
Commits
3b77a26 Bump for release
31371cc docs: prepare for 26.0 final (#1063)
9627a88 perf: dual replace (#1064)
d5398b8 fix: restore ._version as a compat shim (#1062)
3a7b600 Bump for development
d4eefdc Bump for release
4618912 docs: prepare for 26.0rc3 (#1060)
0cf1b41 ci: test on first public release of CPythons (#1056)
716beb1 perf: 10% faster stripping zeros (#1058)
350a230 fix: support CPython 3.11.0-3.11.4 and older PyPy3.11 (#1055)
Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase will rebase this PR
@dependabot recreate will recreate this PR, overwriting any edits that have been made to it
@dependabot merge will merge this PR after your CI passes on it
@dependabot squash and merge will squash and merge this PR after your CI passes on it
@dependabot cancel merge will cancel a previously requested merge and block automerging
@dependabot reopen will reopen this PR if it is closed
@dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
@dependabot show
Open Graph Description: Bumps packaging from 25.0 to 26.0. Release notes Sourced from packaging's releases. 26.0 Read about the performance improvements here: https://iscinumpy.dev/post/packaging-faster. What's ...
X Description: Bumps packaging from 25.0 to 26.0. Release notes Sourced from packaging's releases. 26.0 Read about the performance improvements here: https://iscinumpy.dev/post/packaging-faster. What&am...
Opengraph URL: https://github.com/codecov/example-python/pull/339
X: @github
Domain: redirect.github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:1647b96b-a926-1ca6-0059-98d0a56b6aae |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DE28:2D6B06:90A33B:C45C6E:6A4D6EE3 |
| html-safe-nonce | 3ad85e6a9b8f563700dfaafd41590d7c5b39629eed673da4220196731de09d08 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTI4OjJENkIwNjo5MEEzM0I6QzQ1QzZFOjZBNEQ2RUUzIiwidmlzaXRvcl9pZCI6IjM3MDIzNjYwMTU0MzE5OTUxMDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | fb022642f2ceb7d7191bc11833027b77b845fd5b2e359491555dd9af8bfb169d |
| hovercard-subject-tag | pull_request:3197868310 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/codecov/example-python/pull/339/files |
| twitter:image | https://avatars.githubusercontent.com/in/29110?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/in/29110?s=400&v=4 |
| og:image:alt | Bumps packaging from 25.0 to 26.0. Release notes Sourced from packaging's releases. 26.0 Read about the performance improvements here: https://iscinumpy.dev/post/packaging-faster. What's ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | c78260c7b3f4ac4b0356c8208537f05406a3a2d46a9ec3f735b372dcc519c39e |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/codecov/example-python git https://github.com/codecov/example-python.git |
| octolytics-dimension-user_id | 8226205 |
| octolytics-dimension-user_login | codecov |
| octolytics-dimension-repository_id | 24344106 |
| octolytics-dimension-repository_nwo | codecov/example-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24344106 |
| octolytics-dimension-repository_network_root_nwo | codecov/example-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 399fff412f48461d435721c009efc17ea44be72f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width