File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -107,6 +107,8 @@ def get_nipype_gitversion():
107
107
# https://www.opensourceanswers.com/blog/you-shouldnt-use-python-37-for-data-science-right-now.html
108
108
NUMPY_MIN_VERSION_37 = '1.15.3'
109
109
NUMPY_BAD_VERSION_27 = '1.16.0'
110
+ # Numpy drops 2.7 support in 1.17
111
+ NUMPY_MAX_VERSION_27 = '1.17.0'
110
112
SCIPY_MIN_VERSION = '0.14'
111
113
TRAITS_MIN_VERSION = '4.6'
112
114
DATEUTIL_MIN_VERSION = '2.2'
@@ -146,7 +148,9 @@ def get_nipype_gitversion():
146
148
'nibabel>=%s' % NIBABEL_MIN_VERSION ,
147
149
'numpy>=%s ; python_version > "3.0" and python_version < "3.7"' % NUMPY_MIN_VERSION ,
148
150
'numpy>=%s ; python_version >= "3.7"' % NUMPY_MIN_VERSION_37 ,
149
- 'numpy>=%s,!=%s ; python_version == "2.7"' % (NUMPY_MIN_VERSION , NUMPY_BAD_VERSION_27 ),
151
+ 'numpy>=%s,!=%s,<%s ; python_version == "2.7"' % (NUMPY_MIN_VERSION ,
152
+ NUMPY_BAD_VERSION_27 ,
153
+ NUMPY_MAX_VERSION_27 ),
150
154
'packaging' ,
151
155
'pathlib2; python_version <= "3.4"' ,
152
156
'prov>=%s' % PROV_VERSION ,
You can’t perform that action at this time.
0 commit comments