boto / botocore

The low-level, core functionality of boto3 and the AWS CLI.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Urllib3 version upgrade to >2.0

jleaniz opened this issue · comments

Describe the feature

Any reason why urllib3 versions are restricted to certain v1 versions?

Use Case

Strict urllib3 version requirements to v1 don't allow projects that depend on botocore to use urllib3 >= 2.0

Proposed Solution

No response

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

SDK version used

1.34.41

Environment details (OS name and version, etc.)

Ubuntu Jammy

Hi @jleaniz ,

This appears to be a duplicate of #2926. Boto3 and Botocore do support urllib3 2.0 on Python 3.10+. Versions of Python prior to that point will break with urllib3 2.0 in many environments such as AWS Lambda so we can't move that pin.

The latest version of urllib3 2.2 has a handful of additional breaking changes which is why we currently cap at 2.0.7.

I'll resolve this in favor of the primary tracking ticket linked above.

This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.

Thanks, looks like 2.0.7 works for us!