Skip to content

Commit e475331

Browse files
authored
Merge pull request #2775 from oesteban/pin/numpy-1.15.4-python-3.7
[PIN] Force numpy>=1.15.4 when Python>=3.7
2 parents 911601b + b8227e7 commit e475331

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

nipype/info.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,9 @@ def get_nipype_gitversion():
101101
# versions
102102
NIBABEL_MIN_VERSION = '2.1.0'
103103
NETWORKX_MIN_VERSION = '1.9'
104-
NUMPY_MIN_VERSION = '1.9.0'
104+
# Numpy bug in python 3.7:
105+
# 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'
105107
SCIPY_MIN_VERSION = '0.14'
106108
TRAITS_MIN_VERSION = '4.6'
107109
DATEUTIL_MIN_VERSION = '2.2'

0 commit comments

Comments
 (0)