Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move urllib3 2.x pin for Python 3.10+ #3141

Merged
merged 1 commit into from
Mar 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changes/next-release/enhancement-urllib3-72501.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"type": "enhancement",
"category": "``urllib3``",
"description": "Added support for urllib3 2.2.1+ in Python 3.10+"
}
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ requires_dist =
jmespath>=0.7.1,<2.0.0
python-dateutil>=2.1,<3.0.0
urllib3>=1.25.4,<1.27; python_version<"3.10"
urllib3>=1.25.4,<2.1; python_version>="3.10"
urllib3>=1.25.4,!=2.2.0,<3; python_version>="3.10"

[options.extras_require]
crt = awscrt==0.19.19
Expand Down
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,11 @@ def find_version(*file_paths):
requires = [
'jmespath>=0.7.1,<2.0.0',
'python-dateutil>=2.1,<3.0.0',
# Prior to Python 3.10, Python doesn't require openssl 1.1.1
# but urllib3 2.0+ does. This means all botocore users will be
# broken by default on Amazon Linux 2 and AWS Lambda without this pin.
'urllib3>=1.25.4,<1.27 ; python_version < "3.10"',
'urllib3>=1.25.4,<2.1 ; python_version >= "3.10"',
'urllib3>=1.25.4,!=2.2.0,<3 ; python_version >= "3.10"',
]

extras_require = {
Expand Down
Loading