diff --git a/src/setup.py b/src/setup.py index 8a9e31d03..24eac8ab5 100644 --- a/src/setup.py +++ b/src/setup.py @@ -245,7 +245,7 @@ setup( 'pytest-cache', 'pytest-cov', 'pytest-django==4.*', - 'pytest-mock==2.0.*', + 'pytest-mock>=2.0,<3.7', 'pytest-rerunfailures==9.*', 'pytest-sugar', 'pytest-xdist==1.31.*',