Skip to content

Commit

Permalink
Merge pull request #3034 from nateprewitt/urllib3-2.0-3.10
Browse files Browse the repository at this point in the history
Add support for urllib3 2.0 in Python 3.10+
  • Loading branch information
nateprewitt authored Oct 6, 2023
2 parents f6cc297 + 1e2a789 commit 8987291
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changes/next-release/enhancement-Dependencies-60903.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"type": "enhancement",
"category": "Dependencies",
"description": "Add support for urllib3 2.0 for Python 3.10+"
}
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
8 changes: 7 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,14 @@ 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"',
]

extras_require = {
'crt': ['awscrt==0.16.26'],
}

setup(
name='botocore',
version=find_version("botocore", "__init__.py"),
Expand All @@ -43,6 +48,7 @@ def find_version(*file_paths):
},
include_package_data=True,
install_requires=requires,
extras_require=extras_require,
license="Apache License 2.0",
python_requires=">= 3.7",
classifiers=[
Expand Down

0 comments on commit 8987291

Please sign in to comment.