Build wheels for macOS with Bazel (#4280)

This commit is contained in:
Philipp Moritz
2019-03-15 10:37:57 -07:00
committed by Robert Nishihara
parent 93d9867290
commit c5e2c9af4d
5 changed files with 16 additions and 18 deletions
+8 -8
View File
@@ -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
+5 -4
View File
@@ -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
+1 -1
View File
@@ -137,7 +137,7 @@ def find_version(*filepath):
requires = [
"numpy >= 1.10.4",
"numpy >= 1.14",
"filelock",
"funcsigs",
"click",