support mock versions < 3.0.5

This commit is contained in:
Steven Davidovitz 2020-03-10 01:05:46 -07:00
parent e2106b7c01
commit 0e489a8a28
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
-r requirements.txt -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 nose
black; python_version >= '3.6' black; python_version >= '3.6'
regex==2019.11.1; python_version >= '3.6' # Needed for black regex==2019.11.1; python_version >= '3.6' # Needed for black

View File

@ -42,7 +42,7 @@ install_requires = [
"pytz", "pytz",
"python-dateutil<3.0.0,>=2.1", "python-dateutil<3.0.0,>=2.1",
"python-jose<4.0.0", "python-jose<4.0.0",
"mock==3.0.5", "mock<=3.0.5",
"docker>=2.5.1", "docker>=2.5.1",
"jsondiff>=1.1.2", "jsondiff>=1.1.2",
"aws-xray-sdk!=0.96,>=0.93", "aws-xray-sdk!=0.96,>=0.93",