installing google-cloud-python libraries leads to accidentally installing release candidates of dependencies #13585
Labels
priority: p1
Important issue which blocks shipping the next release. Will be fixed prior to next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Determine this is the right repository
Summary of the issue
Context
Installing release versions of google-cloud-python libraries with current pip leads to accidentally installing release candidates of indirect dependencies.
As an example, if I do
pip install google-cloud-kms==3.4.0
I currently end up getting grpcio version 1.71.0rc2 -- a release candidate.This behaviour is a result of
googleapis-common-protos<2.0.0dev
-- this is incorrect and should never include "dev"Expected Behavior:
Actual Behavior:
google-cloud-kms projects use pre-release version specifiers (specifically
<X.Y.Zdev
) in their dependencies. This leads to accidentally installing release candidates of indirect dependencies.API client name and version
No response
Reproduction steps:
Reproduction steps: actual results
$ pip show grpcio | grep Version Version: 1.71.0rc2
Reproduction steps: expected results
$ pip show grpcio | grep Version Version: 1.70.0
OS & version + platform
No response
Python environment
Python 3.12.8
Python dependencies
Package Version
pip 25.0.1
Additional context
No response
The text was updated successfully, but these errors were encountered: