From 287ba3a0f112ed85c4bc8555c9aeec7303f9282d Mon Sep 17 00:00:00 2001 From: Berker Peksag Date: Wed, 22 Jul 2015 10:18:00 +0300 Subject: [PATCH] Pin mock 1.0.1 in Python 2 for now. mock recently dropped Python 2.6 support and then re-introduced it in its latest release (however, it's a bit unstable right now). I think at this point, we can be more cautious and just use mock==1.0.1. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 10cac2df..68303f25 100644 --- a/setup.py +++ b/setup.py @@ -52,7 +52,7 @@ if PY2: # # use pbr, and currently it breaks things, presumably till # # their next release. # pyversion_install_requires.append('pbr==0.5.22') - pyversion_install_requires.append('mock') # mock is in the stdlib for 3.3+ + pyversion_install_requires.append('mock==1.0.1') # mock is in the stdlib for 3.3+ # PyPI version (1.4.2) does not have proper Python 3 support pyversion_install_requires.append('ExifRead') pyversion_install_requires.append('PasteScript') -- 2.25.1