diff --git a/.travis.yml b/.travis.yml index 62fb4e43d..3277df53c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -114,9 +114,9 @@ matrix: # Build MacOS wheels. - os: osx osx_image: xcode7 - env: MAC_WHEELS=1 PYTHONWARNINGS=ignore RAY_USE_CMAKE=1 + env: MAC_WHEELS=1 PYTHONWARNINGS=ignore install: - - ./ci/travis/install-dependencies.sh + - ./ci/suppress_output ./ci/travis/install-dependencies.sh # This command should be kept in sync with ray/python/README-building-wheels.md. - ./python/build-wheel-macos.sh script: diff --git a/doc/source/installation.rst b/doc/source/installation.rst index dab5e16a4..6b56143a0 100644 --- a/doc/source/installation.rst +++ b/doc/source/installation.rst @@ -29,7 +29,6 @@ Here are links to the latest wheels (which are built off of master). To install `Linux Python 3.7`_ `MacOS Python 3.7`_ `Linux Python 3.6`_ `MacOS Python 3.6`_ `Linux Python 3.5`_ `MacOS Python 3.5`_ -`Linux Python 3.4`_ `MacOS Python 3.4`_ `Linux Python 2.7`_ `MacOS Python 2.7`_ =================== =================== @@ -37,12 +36,10 @@ Here are links to the latest wheels (which are built off of master). To install .. _`Linux Python 3.7`: https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.7.0.dev1-cp37-cp37m-manylinux1_x86_64.whl .. _`Linux Python 3.6`: https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.7.0.dev1-cp36-cp36m-manylinux1_x86_64.whl .. _`Linux Python 3.5`: https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.7.0.dev1-cp35-cp35m-manylinux1_x86_64.whl -.. _`Linux Python 3.4`: https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.7.0.dev1-cp34-cp34m-manylinux1_x86_64.whl .. _`Linux Python 2.7`: https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.7.0.dev1-cp27-cp27mu-manylinux1_x86_64.whl .. _`MacOS Python 3.7`: https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.7.0.dev1-cp37-cp37m-macosx_10_6_intel.whl .. _`MacOS Python 3.6`: https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.7.0.dev1-cp36-cp36m-macosx_10_6_intel.whl .. _`MacOS Python 3.5`: https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.7.0.dev1-cp35-cp35m-macosx_10_6_intel.whl -.. _`MacOS Python 3.4`: https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.7.0.dev1-cp34-cp34m-macosx_10_6_intel.whl .. _`MacOS Python 2.7`: https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.7.0.dev1-cp27-cp27m-macosx_10_6_intel.whl diff --git a/python/build-wheel-macos.sh b/python/build-wheel-macos.sh index c63566623..2fa4ab57b 100755 --- a/python/build-wheel-macos.sh +++ b/python/build-wheel-macos.sh @@ -14,27 +14,27 @@ MACPYTHON_PY_PREFIX=/Library/Frameworks/Python.framework/Versions DOWNLOAD_DIR=python_downloads PY_VERSIONS=("2.7.13" - "3.4.4" "3.5.3" "3.6.1" "3.7.0") PY_INSTS=("python-2.7.13-macosx10.6.pkg" - "python-3.4.4-macosx10.6.pkg" "python-3.5.3-macosx10.6.pkg" "python-3.6.1-macosx10.6.pkg" "python-3.7.0-macosx10.6.pkg") PY_MMS=("2.7" - "3.4" "3.5" "3.6" "3.7") -# On python 3.7, a newer version of numpy seems to be necessary. -NUMPY_VERSIONS=("1.10.4" - "1.10.4" - "1.10.4" - "1.10.4" + +# The minimum supported numpy version is 1.14, see +# https://issues.apache.org/jira/browse/ARROW-3141 +NUMPY_VERSIONS=("1.14.5" + "1.14.5" + "1.14.5" "1.14.5") +./ci/travis/install-bazel.sh + mkdir -p $DOWNLOAD_DIR mkdir -p .whl diff --git a/python/build-wheel-manylinux1.sh b/python/build-wheel-manylinux1.sh index 3b34b4b0a..332f79e4c 100755 --- a/python/build-wheel-manylinux1.sh +++ b/python/build-wheel-manylinux1.sh @@ -11,10 +11,11 @@ PYTHONS=("cp27-cp27mu" "cp36-cp36m" "cp37-cp37m") -# On python 3.7, a newer version of numpy seems to be necessary. -NUMPY_VERSIONS=("1.10.4" - "1.10.4" - "1.10.4" +# The minimum supported numpy version is 1.14, see +# https://issues.apache.org/jira/browse/ARROW-3141 +NUMPY_VERSIONS=("1.14.5" + "1.14.5" + "1.14.5" "1.14.5") sudo apt-get install unzip diff --git a/python/setup.py b/python/setup.py index 07b9b3b92..d64559536 100644 --- a/python/setup.py +++ b/python/setup.py @@ -137,7 +137,7 @@ def find_version(*filepath): requires = [ - "numpy >= 1.10.4", + "numpy >= 1.14", "filelock", "funcsigs", "click",