Skip to content

Commit 704e231

Browse files
authored
MAINT: Specifically exclude numpy 1.16.0
1 parent 2bd4fc2 commit 704e231

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nipype/info.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def get_nipype_gitversion():
105105
# Numpy bug in python 3.7:
106106
# https://www.opensourceanswers.com/blog/you-shouldnt-use-python-37-for-data-science-right-now.html
107107
NUMPY_MIN_VERSION_37 = '1.15.3'
108-
NUMPY_MAX_VERSION_27 = '1.16.0'
108+
NUMPY_BAD_VERSION_27 = '1.16.0'
109109
SCIPY_MIN_VERSION = '0.14'
110110
TRAITS_MIN_VERSION = '4.6'
111111
DATEUTIL_MIN_VERSION = '2.2'
@@ -137,7 +137,7 @@ def get_nipype_gitversion():
137137
REQUIRES = [
138138
'nibabel>=%s' % NIBABEL_MIN_VERSION,
139139
'networkx>=%s' % NETWORKX_MIN_VERSION,
140-
'numpy>=%s,<%s ; python_version == "2.7"' % (NUMPY_MIN_VERSION, NUMPY_MAX_VERSION_27),
140+
'numpy>=%s,!=%s ; python_version == "2.7"' % (NUMPY_MIN_VERSION, NUMPY_BAD_VERSION_27),
141141
'numpy>=%s ; python_version > "3.0" and python_version < "3.7"' % NUMPY_MIN_VERSION,
142142
'numpy>=%s ; python_version >= "3.7"' % NUMPY_MIN_VERSION_37,
143143
'python-dateutil>=%s' % DATEUTIL_MIN_VERSION,

0 commit comments

Comments
 (0)