Skip to content

Commit

Permalink
Add support for urllib3 2.0 in Python 3.10+
Browse files Browse the repository at this point in the history
  • Loading branch information
nateprewitt committed Oct 5, 2023
1 parent f6cc297 commit c2f325e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ universal = 0
requires_dist =
jmespath>=0.7.1,<2.0.0
python-dateutil>=2.1,<3.0.0
urllib3>=1.25.4,<1.27
urllib3>=1.25.4,<1.27; python_version<'3.10'
urllib3>=1.25.4,<2.1; python_version>='3.10'

[options.extras_require]
crt = awscrt==0.16.26
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ def find_version(*file_paths):
requires = [
'jmespath>=0.7.1,<2.0.0',
'python-dateutil>=2.1,<3.0.0',
'urllib3>=1.25.4,<1.27',
'urllib3>=1.25.4,<1.27 ; python_version < "3.10"',
'urllib3>=1.25.4,<2.1 ; python_version >= "3.10"',
]

setup(
Expand Down

0 comments on commit c2f325e

Please sign in to comment.