From: Berker Peksag Date: Wed, 22 Jul 2015 07:18:00 +0000 (+0300) Subject: Pin mock 1.0.1 in Python 2 for now. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=e340879d3cb00495dee9d298df7a6df655ad3d34;p=mediagoblin.git 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. --- 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')