From c126859efcf99f9bf8f2e3c126eac8763a0da07a Mon Sep 17 00:00:00 2001 From: Tom Byers Date: Thu, 27 Sep 2018 14:35:08 +0100 Subject: [PATCH] Lock botocore library to <1.11.0 Using version 1.11.0 or above causes an error with the moto library where it makes real HTTP requests instead of mocking them: https://github.com/spulec/moto/issues/1793 Until this is resolved, botocore needs to be locked. This copies the approach the Digital Marketplace team took to the same problem: https://github.com/alphagov/digitalmarketplace-utils/pull/452 --- requirements-app.txt | 1 + requirements.txt | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/requirements-app.txt b/requirements-app.txt index 57dca94e6..13b6b79e1 100644 --- a/requirements-app.txt +++ b/requirements-app.txt @@ -24,6 +24,7 @@ notifications-python-client==5.0.0 # PaaS awscli-cwlogs>=1.4,<1.5 +botocore<1.11.0 git+https://github.com/alphagov/notifications-utils.git@30.3.1#egg=notifications-utils==30.3.1 diff --git a/requirements.txt b/requirements.txt index c0ea4e334..f1340a447 100644 --- a/requirements.txt +++ b/requirements.txt @@ -26,6 +26,7 @@ notifications-python-client==5.0.0 # PaaS awscli-cwlogs>=1.4,<1.5 +botocore<1.11.0 git+https://github.com/alphagov/notifications-utils.git@30.3.1#egg=notifications-utils==30.3.1 @@ -35,15 +36,14 @@ git+https://github.com/alphagov/boto.git@2.43.0-patch3#egg=boto==2.43.0-patch3 alembic==1.0.0 amqp==1.4.9 anyjson==0.3.3 -awscli==1.16.20 +awscli==1.16.22 bcrypt==3.1.4 billiard==3.3.0.23 bleach==2.1.3 boto3==1.6.16 -botocore==1.12.10 certifi==2018.8.24 chardet==3.0.4 -click==6.7 +Click==7.0 colorama==0.3.9 docutils==0.14 Flask-Redis==0.3.0