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():
101
101
# versions
102
102
NIBABEL_MIN_VERSION = '2.1.0'
103
103
NETWORKX_MIN_VERSION = '1.9'
104
+ NUMPY_MIN_VERSION = '1.9.0'
104
105
# Numpy bug in python 3.7:
105
106
# 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 '
107
108
SCIPY_MIN_VERSION = '0.14'
108
109
TRAITS_MIN_VERSION = '4.6'
109
110
DATEUTIL_MIN_VERSION = '2.2'
@@ -136,6 +137,7 @@ def get_nipype_gitversion():
136
137
'nibabel>=%s' % NIBABEL_MIN_VERSION ,
137
138
'networkx>=%s' % NETWORKX_MIN_VERSION ,
138
139
'numpy>=%s' % NUMPY_MIN_VERSION ,
140
+ 'numpy>=%s ; python_version >= "3.7"' % NUMPY_MIN_VERSION_37 ,
139
141
'python-dateutil>=%s' % DATEUTIL_MIN_VERSION ,
140
142
'scipy>=%s' % SCIPY_MIN_VERSION ,
141
143
'traits>=%s' % TRAITS_MIN_VERSION ,
You can’t perform that action at this time.
0 commit comments