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.
This commit is contained in:
parent
896d00fbf2
commit
e340879d3c
2
setup.py
2
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')
|
||||
|
Loading…
x
Reference in New Issue
Block a user