File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -105,6 +105,7 @@ def get_nipype_gitversion():
105
105
# Numpy bug in python 3.7:
106
106
# https://www.opensourceanswers.com/blog/you-shouldnt-use-python-37-for-data-science-right-now.html
107
107
NUMPY_MIN_VERSION_37 = '1.15.3'
108
+ NUMPY_MAX_VERSION_27 = '1.16.0'
108
109
SCIPY_MIN_VERSION = '0.14'
109
110
TRAITS_MIN_VERSION = '4.6'
110
111
DATEUTIL_MIN_VERSION = '2.2'
@@ -136,7 +137,8 @@ def get_nipype_gitversion():
136
137
REQUIRES = [
137
138
'nibabel>=%s' % NIBABEL_MIN_VERSION ,
138
139
'networkx>=%s' % NETWORKX_MIN_VERSION ,
139
- 'numpy>=%s ; python_version < "3.7"' % NUMPY_MIN_VERSION ,
140
+ 'numpy>=%s,<%s ; python_version == "2.7"' % (NUMPY_MIN_VERSION , NUMPY_MAX_VERSION_27 ),
141
+ 'numpy>=%s ; python_version > "3.0" and python_version < "3.7"' % NUMPY_MIN_VERSION ,
140
142
'numpy>=%s ; python_version >= "3.7"' % NUMPY_MIN_VERSION_37 ,
141
143
'python-dateutil>=%s' % DATEUTIL_MIN_VERSION ,
142
144
'scipy>=%s' % SCIPY_MIN_VERSION ,
You can’t perform that action at this time.
0 commit comments