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.
This commit is contained in:
Gary Donovan 2018-08-27 17:29:55 +10:00
parent a1d095c14b
commit abc15f0ae8

View File

@ -9,7 +9,7 @@ install_requires = [
"Jinja2>=2.7.3",
"boto>=2.36.0",
"boto3>=1.6.16",
"botocore>=1.9.16",
"botocore>=1.9.16,<1.11",
"cookies",
"cryptography>=2.0.0",
"requests>=2.5",