Skip to content

Require urllib3 >=2.6.1 to avoid broken 2.6.0 release#414

Merged
f-wright merged 2 commits intomainfrom
urllib-incompatibility-fix
Mar 12, 2026
Merged

Require urllib3 >=2.6.1 to avoid broken 2.6.0 release#414
f-wright merged 2 commits intomainfrom
urllib-incompatibility-fix

Conversation

@f-wright
Copy link
Contributor

urllib3 2.6.0 removed getheader()/getheaders() from HTTPResponse, breaking the OpenAPI-generated client. The methods were restored in 2.6.1 three days later. Bump the minimum to skip the broken version.

To remove the deprecated getheader()/getheaders(), we'll need to bump the version of our generator. This introduced some more issues when I tried it, so leaving that for another time.

urllib3 2.6.0 removed getheader()/getheaders() from HTTPResponse,
breaking the OpenAPI-generated client. The methods were restored in
2.6.1 three days later. Bump the minimum to skip the broken version.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@f-wright f-wright requested a review from brandon-wada March 12, 2026 22:32
Copy link
Collaborator

@brandon-wada brandon-wada left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I remember people being really upset about 2.6.0. Looks good assuming tests pass

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@f-wright f-wright merged commit e69e087 into main Mar 12, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants