-
Notifications
You must be signed in to change notification settings - Fork 1.6k
installing google-cloud-python libraries leads to accidentally installing release candidates of dependencies #13585
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
1 task done
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.
Comments
This was referenced Mar 3, 2025
parthea
added a commit
that referenced
this issue
Mar 3, 2025
Towards #13585 Remove `dev` from post processing scripts
parthea
added a commit
that referenced
this issue
Mar 4, 2025
This was referenced Mar 5, 2025
parthea
added a commit
to parthea/pipelines
that referenced
this issue
Mar 13, 2025
…talled See googleapis/google-cloud-python#13585 Signed-off-by: Anthonios Partheniou <[email protected]>
This was referenced Mar 13, 2025
parthea
added a commit
that referenced
this issue
Mar 13, 2025
This was referenced Mar 13, 2025
vchudnov-g
pushed a commit
that referenced
this issue
Mar 14, 2025
copybara-service bot
pushed a commit
to grpc/grpc
that referenced
this issue
Apr 17, 2025
…ed (#38986) Remove `dev` from `setup.py` to avoid installing pre-release versions of dependency `protobuf`. See googleapis/google-cloud-python#13585 for more information. If possible, we should back port this fix to active release branches. https://github.com/pypa/pip/blob/main/NEWS.rst#2501-2025-02-09  Closes #38986 PiperOrigin-RevId: 748592011
sreenithi
pushed a commit
to sreenithi/grpc
that referenced
this issue
May 7, 2025
…ed (grpc#38986) Remove `dev` from `setup.py` to avoid installing pre-release versions of dependency `protobuf`. See googleapis/google-cloud-python#13585 for more information. If possible, we should back port this fix to active release branches. https://github.com/pypa/pip/blob/main/NEWS.rst#2501-2025-02-09  Closes grpc#38986 PiperOrigin-RevId: 748592011
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Uh oh!
There was an error while loading. Please reload this page.
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: