Skip to content

Upgrade to urllib3 to v2.x.x #12857

@di

Description

@di

What's the problem this feature will solve?

Currently pip vendors the urllib3 1.26.x version branch as a dependency of requests:

requests==2.32.3
certifi==2024.7.4
idna==3.7
urllib3==1.26.18

Since requests==2.30.0, requests has been compatible with urllib3>=2.0: psf/requests#6432 (comment)

This will upgrade a vendored dependency and unblock issues such as #11153.

Describe the solution you'd like

Upgrade the vendored version of urllib3 to a release on the v2.x.x release branch, preferably urllib3==2.2.2 (the latest current release) if possible.

Alternative Solutions

Remain on the v1.x.x branch indefinitely.

Additional context

I couldn't find any issue discussing upgrading this specific dependency.

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    project: vendored dependencyRelated to a vendored dependencystate: blockedCan not be done until something else is donetype: maintenanceRelated to Development and Maintenance Processes

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions