GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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

@ohmayr ohmayr commented Jun 29, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

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
All reactions
  • 👀 1 reaction
gemini-code-assist[bot]
gemini-code-assist Bot reviewed Jun 29, 2026
View reviewed changes

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

Copy link
Copy Markdown
Contributor

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.

All reactions
Comment thread packages/google-auth/testing/constraints-3.14.txt Resolved

Uh oh!

There was an error while loading. Please reload this page.

@parthea parthea assigned ohmayr Jun 30, 2026
@ohmayr
ohmayr force-pushed the fix-pyopenssl-compat-3.14 branch from 0a5609b to 1dd7463 Compare July 6, 2026 19:07
@ohmayr 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
@ohmayr
ohmayr marked this pull request as ready for review July 6, 2026 19:35
@ohmayr
ohmayr requested review from a team as code owners July 6, 2026 19:35
@ohmayr ohmayr assigned daniel-sanche and unassigned ohmayr Jul 6, 2026
daniel-sanche
daniel-sanche requested changes Jul 7, 2026
View reviewed changes
Comment thread packages/google-auth/testing/constraints-extras-3.10.txt Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread packages/google-auth/setup.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread packages/google-auth/testing/constraints-extras-3.10.txt Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread packages/google-auth/testing/constraints-3.11.txt Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread packages/google-auth/noxfile.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread packages/google-auth/setup.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread packages/google-auth/noxfile.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread packages/google-auth/noxfile.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@parthea parthea assigned ohmayr and unassigned daniel-sanche Jul 7, 2026
@ohmayr
ohmayr force-pushed the fix-pyopenssl-compat-3.14 branch 2 times, most recently from 0b141e6 to b522b3f Compare July 7, 2026 22:48
@ohmayr 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
@ohmayr
ohmayr force-pushed the fix-pyopenssl-compat-3.14 branch 2 times, most recently from 50cc992 to 3140b0a Compare July 7, 2026 23:01
ohmayr added 2 commits July 8, 2026 00:30
@ohmayr
ci(google-auth): separate core vs extras lower-bound constraints
d7fef3f
@ohmayr
style(google-auth): restore original header in constraints files
55c9b18
@ohmayr
ohmayr force-pushed the fix-pyopenssl-compat-3.14 branch from 3140b0a to 55c9b18 Compare July 8, 2026 00:30
@ohmayr
address feedback
a77a995
daniel-sanche
daniel-sanche reviewed Jul 8, 2026
View reviewed changes
Comment thread packages/google-auth/testing/constraints-3.14.txt Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread packages/google-auth/noxfile.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread packages/google-auth/noxfile.py Outdated
session.install("oauth2client")
extras_str += ",rsa"
session.install("-e", f".[{extras_str}]", "-c", constraints_path)
extra_str = ".[testing,enterprise_cert,rsa]"

@daniel-sanche daniel-sanche Jul 8, 2026

Copy link
Copy Markdown
Contributor

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.

All reactions

@ohmayr ohmayr Jul 8, 2026

Copy link
Copy Markdown
Contributor Author

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.

All reactions
Comment thread packages/google-auth/noxfile.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

ohmayr added 3 commits July 8, 2026 18:54
@ohmayr
address feedback
b910d0f
@ohmayr
address feedback
87181fc
@ohmayr
address feedback
f83bb4a
@daniel-sanche

daniel-sanche commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@daniel-sanche daniel-sanche closed this Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@daniel-sanche daniel-sanche daniel-sanche requested changes
+1 more reviewer
@gemini-code-assist gemini-code-assist[bot] gemini-code-assist[bot] left review comments
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@ohmayr ohmayr

Labels

None yet

Projects

None yet

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.

2 participants

@ohmayr @daniel-sanche
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.