Skip to content

Commit abc15f0

Browse files
committed
Mitigate #1793 by restricting maximum version for botocore.
botocore v1.11.0 changed it's internal implementation so that it now uses a different library for HTTP requests. This means that moto's mocking will not work, and test code will inadvertently call the live AWS service. As an interim solution to reduce the impact of this breakage, we restrict the "required" (ie. recommended) version of botocore so that users will be less likely to use an incompatible version, and will receive a pip warning when they do.
1 parent a1d095c commit abc15f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"Jinja2>=2.7.3",
1010
"boto>=2.36.0",
1111
"boto3>=1.6.16",
12-
"botocore>=1.9.16",
12+
"botocore>=1.9.16,<1.11",
1313
"cookies",
1414
"cryptography>=2.0.0",
1515
"requests>=2.5",

0 commit comments

Comments
 (0)