GeezerVison is showing github.com — ci(google-auth): separate core vs extras lower-bound constraints by ohmayr · Pull Request #17593 · googleapis/google-cloud-python
Conversation
ohmayr
commented
Jun 29, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Core vs. Extras Constraints Separation:
constraints-*.txt: Core lower bounds only (pyasn1-modules, cryptography).
constraints-extras-*.txt: Extras lower bounds (aiohttp, grpcio, requests, pyjwt, urllib3, packaging, rsa, etc.).
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
gemini-code-assist[bot] reacted with eyes emoji
There was a problem hiding this 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 minimum required version of pyopenssl to 23.2.0 in setup.py and introduces a new constraints file for Python 3.14. The review feedback correctly identifies a dependency resolution conflict in the new constraints file, where pyopenssl 23.2.0 requires cryptography >= 41.0.1, but cryptography is currently pinned to 38.0.3. It is recommended to update the cryptography version to avoid installation failures.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
ohmayr
changed the title
fix(google-auth): raise minimum pyopenssl version to 23.2.0
chore(auth): update lower bounds and testing constraints for Python 3.11 - 3.14 compatibility
Jul 6, 2026
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
ohmayr
changed the title
chore(auth): update lower bounds and testing constraints for Python 3.11 - 3.14 compatibility
ci(google-auth): separate core vs extras lower-bound constraints
Jul 7, 2026
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
|
|
session.install("oauth2client")
|
|
|
extras_str += ",rsa"
|
|
|
session.install("-e", f".[{extras_str}]", "-c", constraints_path)
|
|
|
extra_str = ".[testing,enterprise_cert,rsa]"
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't adding these extras (and oauthlib above) redundant, since the constraints-extas.txt file also contains them? Is there a benefit to installing them this way too? If so, should we be doing this for all extras?
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A -c constraints.txt file only constrains package versions for packages that pip is already installing; it does not trigger installation of any package by itself.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
|
We discussed this offline, and found that new constraints files shouldn't be needed. We should be able to list all the constraints in a single place
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Reviewers
+1 more reviewer
Reviewers whose approvals may not affect merge requirements
Uh oh!
There was an error while loading. Please reload this page.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|