szha closed pull request #12711: change numpy version to 1.15.2 in python install_requires URL: https://github.com/apache/incubator-mxnet/pull/12711
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/docs_requirements b/ci/docker/install/docs_requirements index 7407223b3ee..4e3ce3e55e0 100644 --- a/ci/docker/install/docs_requirements +++ b/ci/docker/install/docs_requirements @@ -6,7 +6,7 @@ h5py==2.8.0rc1 mock==2.0.0 nose==1.3.7 nose-timer==0.7.3 -numpy<1.15.0,>=1.8.2 +numpy<=1.15.2,>=1.8.2 pylint==1.8.3 pypandoc==1.4 recommonmark==0.4.0 diff --git a/ci/docker/install/ubuntu_python.sh b/ci/docker/install/ubuntu_python.sh index 0fd91cbf706..a6051638665 100755 --- a/ci/docker/install/ubuntu_python.sh +++ b/ci/docker/install/ubuntu_python.sh @@ -29,5 +29,5 @@ wget -nv https://bootstrap.pypa.io/get-pip.py python3 get-pip.py python2 get-pip.py -pip2 install nose cpplint==1.3.0 pylint==1.9.3 'numpy<1.15.0,>=1.8.2' nose-timer 'requests<2.19.0,>=2.18.4' h5py==2.8.0rc1 scipy==1.0.1 boto3 -pip3 install nose cpplint==1.3.0 pylint==2.1.1 'numpy<1.15.0,>=1.8.2' nose-timer 'requests<2.19.0,>=2.18.4' h5py==2.8.0rc1 scipy==1.0.1 boto3 +pip2 install nose cpplint==1.3.0 pylint==1.9.3 'numpy<=1.15.2,>=1.8.2' nose-timer 'requests<2.19.0,>=2.18.4' h5py==2.8.0rc1 scipy==1.0.1 boto3 +pip3 install nose cpplint==1.3.0 pylint==2.1.1 'numpy<=1.15.2,>=1.8.2' nose-timer 'requests<2.19.0,>=2.18.4' h5py==2.8.0rc1 scipy==1.0.1 boto3 diff --git a/docs/install/requirements.txt b/docs/install/requirements.txt index 3d8020cc6ec..dfc3f70c96f 100644 --- a/docs/install/requirements.txt +++ b/docs/install/requirements.txt @@ -2,7 +2,7 @@ cpplint==1.3.0 h5py==2.8.0rc1 nose nose-timer -numpy<1.15.0,>=1.8.2 +numpy<=1.15.2,>=1.8.2 pylint==1.8.3 requests<2.19.0,>=2.18.4 scipy==1.0.1 diff --git a/python/setup.py b/python/setup.py index 91563539822..7385403b488 100644 --- a/python/setup.py +++ b/python/setup.py @@ -30,7 +30,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.2,>=1.8.2', 'requests<2.19.0,>=2.18.4', 'graphviz<0.9.0,>=0.8.1'], 'zip_safe': False} with_cython = False if '--with-cython' in sys.argv: ---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services
