René's URL Explorer Experiment


Title: installing google-cloud-python libraries leads to accidentally installing release candidates of dependencies · Issue #13585 · googleapis/google-cloud-python · GitHub

Open Graph Title: installing google-cloud-python libraries leads to accidentally installing release candidates of dependencies · Issue #13585 · googleapis/google-cloud-python

X Title: installing google-cloud-python libraries leads to accidentally installing release candidates of dependencies · Issue #13585 · googleapis/google-cloud-python

Description: Determine this is the right repository I determined this is the correct repository in which to report this bug. Summary of the issue Context Installing release versions of google-cloud-python libraries with current pip leads to accidenta...

Open Graph Description: Determine this is the right repository I determined this is the correct repository in which to report this bug. Summary of the issue Context Installing release versions of google-cloud-python libra...

X Description: Determine this is the right repository I determined this is the correct repository in which to report this bug. Summary of the issue Context Installing release versions of google-cloud-python libra...

Opengraph URL: https://github.com/googleapis/google-cloud-python/issues/13585

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"installing google-cloud-python libraries leads to accidentally installing release candidates of dependencies","articleBody":"### Determine this is the right repository\n\n- [x] I determined this is the correct repository in which to report this bug.\n\n### Summary of the issue\n\n**Context**\n\nInstalling release versions of google-cloud-python libraries with current pip leads to accidentally installing release candidates of indirect dependencies.\n\nAs 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. \n\nThis behaviour is a result of \n* pip fixing its pre-release specifier behaviour:   _\"Including a pre-release version with these specifiers now implies accepting pre-releases (e.g., \u003c2.0dev can include 1.0rc1)\"_ (https://github.com/pypa/pip/blob/main/NEWS.rst#2501-2025-02-09)\n* All google-cloud-python libraries using dependency specifiers like `googleapis-common-protos\u003c2.0.0dev` -- this is incorrect and should never include \"dev\"\n\n**Expected Behavior:**\n\n* Installing google-cloud-python projects should not lead to installing release candidates of indirect dependencies\n* pre-release version specifiers (such as \"X.Y.Zdev\") should not be used when defining library dependencies\n\n\n**Actual Behavior:**\n\ngoogle-cloud-kms projects use pre-release version specifiers (specifically `\u003cX.Y.Zdev`) in their dependencies.  This leads to accidentally installing release candidates of indirect dependencies.\n\n### API client name and version\n\n_No response_\n\n### Reproduction steps:\n\n```bash\n# start with empty virtualenv. Upgrade to current pip\npip install -U pip \n# Install a release version of a google-cloud-python package\npip install google-cloud-kms==3.4.0\n```\n\n### Reproduction steps: actual results\n\n```bash\n$ pip show grpcio | grep Version\nVersion: 1.71.0rc2\n```\n\n\n### Reproduction steps: expected results\n\n```bash\n$ pip show grpcio | grep Version\nVersion: 1.70.0\n```\n\n\n### OS \u0026 version + platform\n\n_No response_\n\n### Python environment\n\nPython 3.12.8\n\n### Python dependencies\n\nPackage                  Version\n------------------------ ---------\npip                      25.0.1\n\n\n### Additional context\n\n_No response_","author":{"url":"https://github.com/jku","@type":"Person","name":"jku"},"datePublished":"2025-03-03T14:49:00.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/13585/google-cloud-python/issues/13585"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:61ef818c-a71e-2d8d-10ba-a74f5bf34857
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA812:170119:8E0E7A:C14407:6A4C889F
html-safe-nonce3299ec2d505cf9eae8e8f19804c34fdbfb816058b36261a8fb9e7bc6510e5569
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBODEyOjE3MDExOTo4RTBFN0E6QzE0NDA3OjZBNEM4ODlGIiwidmlzaXRvcl9pZCI6IjQzNzM1ODk5NzI2NzE1NjM5MzUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaca23f4ce96336f5faef4db03d4984f7af4abe1929f0832f1a874e41bc32abf716
hovercard-subject-tagissue:2891467092
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/google-cloud-python/13585/issue_layout
twitter:imagehttps://opengraph.githubassets.com/bf1bd743e57d6c4914f7496654aec7bbd9ca8b355c2f9f7e5574459e106475ed/googleapis/google-cloud-python/issues/13585
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/bf1bd743e57d6c4914f7496654aec7bbd9ca8b355c2f9f7e5574459e106475ed/googleapis/google-cloud-python/issues/13585
og:image:altDetermine this is the right repository I determined this is the correct repository in which to report this bug. Summary of the issue Context Installing release versions of google-cloud-python libra...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejku
hostnamegithub.com
expected-hostnamegithub.com
None3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c
turbo-cache-controlno-preview
go-importgithub.com/googleapis/google-cloud-python git https://github.com/googleapis/google-cloud-python.git
octolytics-dimension-user_id16785467
octolytics-dimension-user_logingoogleapis
octolytics-dimension-repository_id16316451
octolytics-dimension-repository_nwogoogleapis/google-cloud-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id16316451
octolytics-dimension-repository_network_root_nwogoogleapis/google-cloud-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7a2dede45637df6b92ddcfe2a557e67d4b5854ae
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/googleapis/google-cloud-python/issues/13585#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-cloud-python%2Fissues%2F13585
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-cloud-python%2Fissues%2F13585
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=googleapis%2Fgoogle-cloud-python
Reloadhttps://github.com/googleapis/google-cloud-python/issues/13585
Reloadhttps://github.com/googleapis/google-cloud-python/issues/13585
Reloadhttps://github.com/googleapis/google-cloud-python/issues/13585
Please reload this pagehttps://github.com/googleapis/google-cloud-python/issues/13585
googleapis https://github.com/googleapis
google-cloud-pythonhttps://github.com/googleapis/google-cloud-python
Notifications https://github.com/login?return_to=%2Fgoogleapis%2Fgoogle-cloud-python
Fork 1.7k https://github.com/login?return_to=%2Fgoogleapis%2Fgoogle-cloud-python
Star 5.3k https://github.com/login?return_to=%2Fgoogleapis%2Fgoogle-cloud-python
Code https://github.com/googleapis/google-cloud-python
Issues 437 https://github.com/googleapis/google-cloud-python/issues
Pull requests 124 https://github.com/googleapis/google-cloud-python/pulls
Discussions https://github.com/googleapis/google-cloud-python/discussions
Actions https://github.com/googleapis/google-cloud-python/actions
Projects https://github.com/googleapis/google-cloud-python/projects
Security and quality 0 https://github.com/googleapis/google-cloud-python/security
Insights https://github.com/googleapis/google-cloud-python/pulse
Code https://github.com/googleapis/google-cloud-python
Issues https://github.com/googleapis/google-cloud-python/issues
Pull requests https://github.com/googleapis/google-cloud-python/pulls
Discussions https://github.com/googleapis/google-cloud-python/discussions
Actions https://github.com/googleapis/google-cloud-python/actions
Projects https://github.com/googleapis/google-cloud-python/projects
Security and quality https://github.com/googleapis/google-cloud-python/security
Insights https://github.com/googleapis/google-cloud-python/pulse
googleapis/gapic-generator-python#2347https://github.com/googleapis/gapic-generator-python/pull/2347
installing google-cloud-python libraries leads to accidentally installing release candidates of dependencieshttps://github.com/googleapis/google-cloud-python/issues/13585#top
googleapis/gapic-generator-python#2347https://github.com/googleapis/gapic-generator-python/pull/2347
https://github.com/parthea
priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22priority%3A%20p1%22
type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%22
https://github.com/jku
jkuhttps://github.com/jku
on Mar 3, 2025https://github.com/googleapis/google-cloud-python/issues/13585#issue-2891467092
https://github.com/pypa/pip/blob/main/NEWS.rst#2501-2025-02-09https://github.com/pypa/pip/blob/main/NEWS.rst#2501-2025-02-09
partheahttps://github.com/parthea
priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22priority%3A%20p1%22
type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.