File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -101,9 +101,10 @@ def get_nipype_gitversion():
101101# versions
102102NIBABEL_MIN_VERSION = '2.1.0'
103103NETWORKX_MIN_VERSION = '1.9'
104+ NUMPY_MIN_VERSION = '1.9.0'
104105# Numpy bug in python 3.7:
105106# https://www.opensourceanswers.com/blog/you-shouldnt-use-python-37-for-data-science-right-now.html
106- NUMPY_MIN_VERSION = '1.9.0' if sys . version_info < ( 3 , 7 ) else '1. 15.4 '
107+ NUMPY_MIN_VERSION_37 = '1.15.3 '
107108SCIPY_MIN_VERSION = '0.14'
108109TRAITS_MIN_VERSION = '4.6'
109110DATEUTIL_MIN_VERSION = '2.2'
@@ -136,6 +137,7 @@ def get_nipype_gitversion():
136137 'nibabel>=%s' % NIBABEL_MIN_VERSION ,
137138 'networkx>=%s' % NETWORKX_MIN_VERSION ,
138139 'numpy>=%s' % NUMPY_MIN_VERSION ,
140+ 'numpy>=%s ; python_version >= "3.7"' % NUMPY_MIN_VERSION_37 ,
139141 'python-dateutil>=%s' % DATEUTIL_MIN_VERSION ,
140142 'scipy>=%s' % SCIPY_MIN_VERSION ,
141143 'traits>=%s' % TRAITS_MIN_VERSION ,
You can’t perform that action at this time.
0 commit comments