boto3 icon indicating copy to clipboard operation
boto3 copied to clipboard

Add support for urllib3 2.2.1

Open brody4hire opened this issue 1 year ago • 4 comments

Describe the bug

Underlying botocore requires outdated urllib3 version:

  • 1.x in case of Python pre-3.10
  • < 2.1 in case of Python 3.10(+)

background from: https://github.com/boto/botocore/issues/2926

I do totally understand the motivation for these outdated urllib3 version dependencies. IMHO I think it should be up to whoever uses boto3 to specify whether or not to use an outdated version of urllib3.

Incidentally I am using this for an application that may run on Amazon Linux, which may need the older urllib3 dependency, would have preferred to make this choice myself.

I am taking liberty to file this issue for boto3, no objections if maintainers want to transfer this to botocore.

I am also taking liberty to leave out some info that I think should not matter - please post a loud holler if any further info is needed. Thanks in advance!

Expected Behavior

I think it should be possible to install boto3 and another package such as requests with recently updated version of urllib3 such as urllib3 == 2.2.1.

Current Behavior

Combinaiton of boto3 == 1.34.46 & urllib3 == 2.2.1 leads to pip installation error.

Reproduction Steps

see above - please post a loud holler if any further info is needed

Possible Solution

No response

Additional Information/Context

No response

SDK version used

Python 3.9 / 3.11; boto3 v1.34.46

Environment details (OS name and version, etc.)

Ubuntu 22.04.3 LTS 64-bit (with some customized updates) on Intel core i7

brody4hire avatar Feb 20 '24 23:02 brody4hire