Skip to content

chore(deps): update dependency packaging to v26#842

Merged
olavloite merged 1 commit intogoogleapis:mainfrom
renovate-bot:renovate/packaging-26.x
Mar 5, 2026
Merged

chore(deps): update dependency packaging to v26#842
olavloite merged 1 commit intogoogleapis:mainfrom
renovate-bot:renovate/packaging-26.x

Conversation

@renovate-bot
Copy link
Contributor

This PR contains the following updates:

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

Release Notes

pypa/packaging (packaging)

v26.0

Compare Source

Read about the performance improvements here: https://iscinumpy.dev/post/packaging-faster.

What's Changed

Features:

Behavior adaptations:

  • PEP 440 handling of prereleases for Specifier.contains, SpecifierSet.contains, and SpecifierSet.filter by @​notatallshaw in #​897
  • Handle PEP 440 edge case in SpecifierSet.filter by @​notatallshaw in #​942
  • Adjust arbitrary equality intersection preservation in SpecifierSet by @​notatallshaw in #​951
  • Return False instead of raising for .contains with invalid version by @​Liam-DeVoe in #​932
  • Support arbitrary equality on arbitrary strings for Specifier and SpecifierSet's filter and contains method. by @​notatallshaw in #​954
  • Only try to parse as Version on certain marker keys, return False on unequal ordered comparsions by @​JP-Ellis in #​939

Fixes:

Performance:

Type annotations:

Internal:

New Contributors

Since last RC

Fixes:

Performance:

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 this update again.


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

This PR was generated by Mend Renovate. View the repository job log.

@renovate-bot renovate-bot requested a review from a team as a code owner March 4, 2026 22:02
@trusted-contributions-gcf trusted-contributions-gcf bot added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Mar 4, 2026
@product-auto-label product-auto-label bot added the api: spanner Issues related to the googleapis/python-spanner-sqlalchemy API. label Mar 4, 2026
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Mar 4, 2026
@gemini-code-assist
Copy link

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request updates the packaging Python dependency from version 25.0 to 26.0. This major version upgrade brings a host of improvements, including new features for metadata handling and version specification, significant performance optimizations across core components, and crucial bug fixes. The update aims to enhance the robustness, efficiency, and compliance of Python package metadata and version parsing within the project.

Highlights

  • Dependency Update: Updated the packaging library from version 25.0 to 26.0, incorporating all changes from the new major release.
  • New Features: Introduced support for PEP 751 (pylock) and PEP 794 (import name metadata), along with enhanced capabilities for writing metadata and supporting __replace__ for Version objects.
  • Performance Enhancements: Implemented numerous optimizations, including avoiding regex recompilation, caching Specifier versions, and faster Version object operations, leading to significant speedups in parsing and comparison.
  • Behavioral Adaptations: Improved handling of PEP 440 prereleases for Specifier.contains and SpecifierSet.contains/filter, and better support for arbitrary equality in specifiers.
  • Bug Fixes & Type Annotations: Addressed various bugs, such as issues with license expression parsing and Marker construction, and enhanced type annotations across the library for better static analysis.
Changelog
  • requirements.txt
    • Updated packaging dependency from 25.0 to 26.0.
    • Refreshed SHA256 hashes for the new packaging version.
Activity
  • This pull request was automatically generated by Renovate Bot to update the packaging dependency.
  • Automerge is currently disabled, requiring manual review and merge.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the packaging dependency from version 25.0 to 26.0. This is a major version update that includes new features, behavior adaptations, and performance improvements as detailed in the release notes. The change in requirements.txt correctly updates the version and its hashes. My review of the changes did not identify any issues.

Note: Security Review has been skipped due to the limited scope of the PR.

@olavloite olavloite merged commit ccb9c5a into googleapis:main Mar 5, 2026
20 checks passed
@renovate-bot renovate-bot deleted the renovate/packaging-26.x branch March 5, 2026 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: spanner Issues related to the googleapis/python-spanner-sqlalchemy API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants