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 — fix: update urllib3 to >= 2.0.5 by arithmetic1728 · Pull Request #1389 · googleapis/google-auth-library-python

This repository was archived by the owner on Mar 6, 2026. It is now read-only.

Conversation

@arithmetic1728

@arithmetic1728 arithmetic1728 commented Sep 26, 2023

Copy link
Copy Markdown
Contributor

fixes #1365

urllib3 added back the pyopenssl support and removed the depreciation warning since 2.0.5, so we can upgrade the urllib3 dependency version now.

urllib3 made RequestMethods class private since 2.0.0 (changed from urllib3.request.RequestMethods to urllib3._request_methods.RequestMethods). We could copy the whole class and the related code into google-auth, but that would be a lot of code, so we let AuthorizedHttp inherit the private class instead, which seems to be the best solution so far.

Sorry, something went wrong.

Uh oh!

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

ralgozino reacted with heart emoji
All reactions
  • ❤️ 1 reaction
@arithmetic1728
fix: update urllib3 to >= 2.0.5
5edcb3b
@arithmetic1728
arithmetic1728 requested review from a team, clundin25 and sai-sunder-s September 26, 2023 00:41
arithmetic1728 added 2 commits September 26, 2023 13:16
@arithmetic1728
update
7139955
@arithmetic1728
update sys test cred
871bef1
clundin25
clundin25 approved these changes Sep 26, 2023
View reviewed changes
@arithmetic1728
arithmetic1728 merged commit a99f3bb into main Sep 26, 2023
@arithmetic1728
arithmetic1728 deleted the urllib3 branch September 26, 2023 21:00
@release-please release-please Bot mentioned this pull request Sep 26, 2023
chore(main): release 2.23.1 #1386
Merged
@danmoz

danmoz commented Sep 27, 2023 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown

Just a heads up, this is going to cause a lot of pain -- some major packages (for example, botocore) in the python ecosystem require urllib3<2.0. By requiring a version >= 2.0.5, we'll create an unresolvable dependency conflict.

An example of this is botocore, which pins to <1.27

0lmer, arithmetic1728, zkdev, matheuszin-sousa, and laoikeda reacted with thumbs up emoji
All reactions
  • 👍 5 reactions

Sorry, something went wrong.

Uh oh!

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

@arithmetic1728

arithmetic1728 commented Sep 28, 2023

Copy link
Copy Markdown
Contributor Author

@danmoz thank you for the heads up, I will fix it asap.

zkdev and danmoz reacted with heart emoji
All reactions
  • ❤️ 2 reactions

Sorry, something went wrong.

Uh oh!

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

@arithmetic1728 arithmetic1728 mentioned this pull request Sep 28, 2023
fix: support urllib3<2.0 versions #1390
Merged
@antoni-szych-rtbhouse antoni-szych-rtbhouse mentioned this pull request Sep 28, 2023
Support urllib3 >= 2.0.0 #1290
Closed
@gibsondan gibsondan mentioned this pull request Sep 28, 2023
Allow both urllib3 1 and urllib3 2 in the kubernetes python package kubernetes-client/python#2129
Closed
@arithmetic1728

arithmetic1728 commented Sep 28, 2023

Copy link
Copy Markdown
Contributor Author

problem is fixed in release 2.23.2, #1391

ralgozino reacted with heart emoji
All reactions
  • ❤️ 1 reaction

Sorry, something went wrong.

Uh oh!

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

hauntsaninja added a commit to hauntsaninja/python that referenced this pull request Oct 4, 2023
@hauntsaninja
Drop urllib3 upper bound
af68284
This was added in kubernetes-client@27459d5.

Note that google-auth now requires urllib3>=2 in googleapis/google-auth-library-python#1389

(I'm also not sure that I follow the logic in kubernetes-client#2105, since dependency resolvers will be able to work it out)
@hauntsaninja hauntsaninja mentioned this pull request Oct 4, 2023
Drop urllib3 upper bound kubernetes-client/python#2131
Merged
@parthea parthea mentioned this pull request Oct 7, 2023
Kokoro Benchmarking Tests presubmit fails with error ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+ googleapis/python-spanner#1018
Closed
dirrao pushed a commit to dirrao/python that referenced this pull request Nov 28, 2023
@hauntsaninja
Drop urllib3 upper bound
9deb4fe
This was added in kubernetes-client@27459d5.

Note that google-auth now requires urllib3>=2 in googleapis/google-auth-library-python#1389

(I'm also not sure that I follow the logic in kubernetes-client#2105, since dependency resolvers will be able to work it out)
bh0717-dev pushed a commit to bh0717-dev/python-dapp that referenced this pull request Apr 1, 2024
vadym1226
Drop urllib3 upper bound
fe525ea
This was added in kubernetes-client/python@27459d5.

Note that google-auth now requires urllib3>=2 in googleapis/google-auth-library-python#1389

(I'm also not sure that I follow the logic in kubernetes-client/python#2105, since dependency resolvers will be able to work it out)
@chalmerlowe chalmerlowe mentioned this pull request Dec 23, 2025
docs: update urllib3 docstrings for v2 compatibility #1903
Merged
chalmerlowe added a commit that referenced this pull request Dec 26, 2025
@google-labs-jules @chalmerlowe
docs: update urllib3 docstrings for v2 compatibility (#1903)
3f1aeea
Updates docstrings in `google/auth/transport/urllib3.py` to reference
`urllib3.PoolManager` instead of the removed/private
`urllib3.request.RequestMethods`, ensuring compatibility with `urllib3`
v2 documentation standards.

NOTE: This PR supercedes an [older PR
#1290](#1290),
because some of the content or suggested changes in the older PR are
overtaken by events and/or been incorporated via [other recent
PRs](#1389).

---
*PR created automatically by Jules for task
[17649723998293325458](https://jules.google.com/task/17649723998293325458)
started by @chalmerlowe*

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: Chalmer Lowe <[email protected]>
sdevtop100-dot added a commit to sdevtop100-dot/python-kubernates that referenced this pull request Feb 4, 2026
@sdevtop100-dot
Drop urllib3 upper bound
60c5c85
This was added in kubernetes-client/python@27459d5.

Note that google-auth now requires urllib3>=2 in googleapis/google-auth-library-python#1389

(I'm also not sure that I follow the logic in kubernetes-client/python#2105, since dependency resolvers will be able to work it out)
parthea pushed a commit to googleapis/google-cloud-python that referenced this pull request Mar 2, 2026
@google-labs-jules @chalmerlowe
docs: update urllib3 docstrings for v2 compatibility (#1903)
6f07d22
Updates docstrings in `google/auth/transport/urllib3.py` to reference
`urllib3.PoolManager` instead of the removed/private
`urllib3.request.RequestMethods`, ensuring compatibility with `urllib3`
v2 documentation standards.

NOTE: This PR supercedes an [older PR
#1290](googleapis/google-auth-library-python#1290),
because some of the content or suggested changes in the older PR are
overtaken by events and/or been incorporated via [other recent
PRs](googleapis/google-auth-library-python#1389).

---
*PR created automatically by Jules for task
[17649723998293325458](https://jules.google.com/task/17649723998293325458)
started by @chalmerlowe*

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: Chalmer Lowe <[email protected]>
@coderabbitai coderabbitai Bot mentioned this pull request Jun 11, 2026
[FIX] Unblock urllib3 2.x via google-auth bump (clear urllib3 Dependabot alerts) Zipstack/unstract#2042
Merged
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

@sai-sunder-s sai-sunder-s Awaiting requested review from sai-sunder-s
1 more reviewer
@clundin25 clundin25 clundin25 approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

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

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Support for urllib3 2

Uh oh!

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

3 participants

@arithmetic1728 @danmoz @clundin25
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.