File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -110,6 +110,8 @@ def get_nipype_gitversion():
110110# Numpy drops 2.7 support in 1.17
111111NUMPY_MAX_VERSION_27 = '1.17.0'
112112SCIPY_MIN_VERSION = '0.14'
113+ # Scipy drops 2.7 and 3.4 support in 1.3
114+ SCIPY_MAX_VERSION_34 = '1.3.0'
113115TRAITS_MIN_VERSION = '4.6'
114116DATEUTIL_MIN_VERSION = '2.2'
115117FUTURE_MIN_VERSION = '0.16.0'
@@ -157,7 +159,8 @@ def get_nipype_gitversion():
157159 'pydot>=%s' % PYDOT_MIN_VERSION ,
158160 'pydotplus' ,
159161 'python-dateutil>=%s' % DATEUTIL_MIN_VERSION ,
160- 'scipy>=%s' % SCIPY_MIN_VERSION ,
162+ 'scipy>=%s ; python_version >= "3.5"' % SCIPY_MIN_VERSION ,
163+ 'scipy>=%s,<%s ; python_version <= "3.4"' % (SCIPY_MIN_VERSION , SCIPY_MAX_VERSION_34 ),
161164 'simplejson>=%s' % SIMPLEJSON_MIN_VERSION ,
162165 'traits>=%s,!=5.0' % TRAITS_MIN_VERSION ,
163166]
You can’t perform that action at this time.
0 commit comments