From 0e489a8a287c36af36a9728fe62699b84575ebd4 Mon Sep 17 00:00:00 2001 From: Steven Davidovitz Date: Tue, 10 Mar 2020 01:05:46 -0700 Subject: [PATCH] support mock versions < 3.0.5 --- requirements-dev.txt | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 4e5f4e8a0..2b43bcf9d 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,5 +1,5 @@ -r requirements.txt -mock==3.0.5 # Last version compatible with Python 2.7 +mock<=3.0.5 # Last version compatible with Python 2.7 nose black; python_version >= '3.6' regex==2019.11.1; python_version >= '3.6' # Needed for black diff --git a/setup.py b/setup.py index b806f7bae..9bb7cf522 100755 --- a/setup.py +++ b/setup.py @@ -42,7 +42,7 @@ install_requires = [ "pytz", "python-dateutil<3.0.0,>=2.1", "python-jose<4.0.0", - "mock==3.0.5", + "mock<=3.0.5", "docker>=2.5.1", "jsondiff>=1.1.2", "aws-xray-sdk!=0.96,>=0.93",