gautamkmr closed pull request #10445: Make the numpy version compatible with
Official Mac OS system python-2.7.10's numpy
URL: https://github.com/apache/incubator-mxnet/pull/10445
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/ci/docker/install/centos7_python.sh
b/ci/docker/install/centos7_python.sh
index 9e076b61e87..141509fca65 100755
--- a/ci/docker/install/centos7_python.sh
+++ b/ci/docker/install/centos7_python.sh
@@ -24,12 +24,12 @@ set -ex
# Python 2.7 is installed by default, install 3.6 on top
yum -y install https://centos7.iuscommunity.org/ius-release.rpm
-yum -y install python36u
+yum -y install python36u-devel
# Install PIP
curl "https://bootstrap.pypa.io/get-pip.py; -o "get-pip.py"
python2.7 get-pip.py
python3.6 get-pip.py
-pip2 install nose pylint numpy nose-timer requests h5py scipy
-pip3 install nose pylint numpy nose-timer requests h5py scipy
\ No newline at end of file
+pip2 install nose pylint numpy==1.7.1 nose-timer requests h5py scipy
+pip3 install nose pylint numpy==1.7.1 nose-timer requests h5py scipy
diff --git a/python/setup.py b/python/setup.py
index 980ce639370..d7ab7a8e1c9 100644
--- a/python/setup.py
+++ b/python/setup.py
@@ -28,7 +28,7 @@
else:
from setuptools import setup
from setuptools.extension import Extension
-kwargs = {'install_requires': ['numpy<=1.15.0,>=1.8.2',
'requests<2.19.0,>=2.18.4', 'graphviz<0.9.0,>=0.8.1'], 'zip_safe': False}
+kwargs = {'install_requires': ['numpy<=1.15.0,>=1.7.2',
'requests<2.19.0,>=2.18.4', 'graphviz<0.9.0,>=0.8.1'], 'zip_safe': False}
from setuptools import find_packages
with_cython = False
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org
With regards,
Apache Git Services