Apache DataFusion SQL Query Engine
ARROW-3369: [Packaging] Wheel builds are failing due to wheel 0.32 release
Krisztián Szűcs509f4c1120a2
diff --git a/dev/tasks/python-wheels/osx-build.sh b/dev/tasks/python-wheels/osx-build.shindex 4170a93be7..5c69904ff4 100755--- a/dev/tasks/python-wheels/osx-build.sh+++ b/dev/tasks/python-wheels/osx-build.sh@@ -99,7 +99,9 @@ function build_wheel {# build will also work with newer NumPy versions.export ARROW_HOME=`pwd`/arrow-distexport PARQUET_HOME=`pwd`/arrow-dist- pip install "cython==0.27.3" "numpy==${NP_TEST_DEP}"+ if [ -n "$BUILD_DEPENDS" ]; then+ pip install $(pip_opts) $BUILD_DEPENDS+ fipushd cppmkdir builddiff --git a/dev/tasks/python-wheels/travis.linux.yml b/dev/tasks/python-wheels/travis.linux.ymlindex ae7a3cc343..0bb6e69980 100644--- a/dev/tasks/python-wheels/travis.linux.yml+++ b/dev/tasks/python-wheels/travis.linux.yml@@ -28,9 +28,6 @@ env:global:- PLAT=x86_64- TRAVIS_TAG={{ task.tag }}- - BUILD_REF={{ arrow.head }}- - PYTHON_VERSION={{ python_version }}- - PYARROW_VERSION={{ arrow.version }}before_script:- docker pull quay.io/xhochy/arrow_manylinux1_x86_64_base:latest@@ -42,8 +39,9 @@ script:- pushd arrow/python/manylinux1- docker run --shm-size=2g- -e SETUPTOOLS_SCM_PRETEND_VERSION=$PYARROW_VERSION- -e PYTHON_VERSIONS=$PYTHON_VERSION+ -e SETUPTOOLS_SCM_PRETEND_VERSION={{ arrow.version }}+ -e PYTHON_VERSIONS={{ python_version }}+ -e WHEEL_VERSION={{ wheel_version }}-v $PWD:/io-v $PWD/../../:/arrowquay.io/xhochy/arrow_manylinux1_x86_64_base:latest /io/build_arrow.shdiff --git a/dev/tasks/python-wheels/travis.osx.yml b/dev/tasks/python-wheels/travis.osx.ymlindex 7b22b1c6c0..2f0d168a3f 100644--- a/dev/tasks/python-wheels/travis.osx.yml+++ b/dev/tasks/python-wheels/travis.osx.yml@@ -25,17 +25,17 @@ env:global:- PLAT=x86_64- TRAVIS_TAG={{ task.tag }}- - BUILD_REF={{ arrow.head }}- - PYARROW_VERSION={{ arrow.version }}- MACOSX_DEPLOYMENT_TARGET="10.9"- - MB_PYTHON_VERSION={{ python_version }}- - NP_BUILD_DEP="{{ numpy_build_version }}"- - NP_TEST_DEP="{{ numpy_test_version }}"- - PANDAS_DEP="{{ pandas_version }}"+ - PYARROW_VERSION={{ arrow.version }}- PYARROW_BUILD_VERBOSE=1+ - MB_PYTHON_VERSION={{ python_version }}+ - BUILD_DEPENDS="wheel=={{ wheel_version }} numpy=={{ numpy_version }} cython==0.27.3 six"+ - TEST_DEPENDS="numpy=={{ numpy_version }} pandas=={{ pandas_version }} six"before_install:- git clone https://github.com/matthew-brett/multibuild # TODO pin it+ - git -C multibuild checkout 4e7a9396e9a50731bb83fc0d16bb98fb0c4032d7+- git clone -b {{ arrow.branch }} {{ arrow.remote }} arrow- git -C arrow checkout {{ arrow.head }}@@ -52,13 +52,10 @@ before_install:- before_installinstall:- - BUILD_DEPENDS="numpy==$NP_BUILD_DEP six cython"- - TEST_DEPENDS="numpy==$NP_TEST_DEP six pandas==$PANDAS_DEP"-- mkdir -p dist# multibuild's default clean_code function- - clean_code arrow $BUILD_REF+ - clean_code arrow {{ arrow.head }}# the following functions are defined in osx-build.sh- build_wheel arrowdiff --git a/dev/tasks/tasks.yml b/dev/tasks/tasks.ymlindex 991e900b16..96958e33f7 100644--- a/dev/tasks/tasks.yml+++ b/dev/tasks/tasks.yml@@ -139,6 +139,7 @@ tasks:platform: linuxtemplate: python-wheels/travis.linux.ymlparams:+ wheel_version: 0.31.1python_version: 2.7,16artifacts:- pyarrow-{version}-cp27-cp27m-manylinux1_x86_64.whl@@ -147,6 +148,7 @@ tasks:platform: linuxtemplate: python-wheels/travis.linux.ymlparams:+ wheel_version: 0.31.1python_version: 2.7,32artifacts:- pyarrow-{version}-cp27-cp27mu-manylinux1_x86_64.whl@@ -155,6 +157,7 @@ tasks:platform: linuxtemplate: python-wheels/travis.linux.ymlparams:+ wheel_version: 0.31.1python_version: 3.5,16artifacts:- pyarrow-{version}-cp35-cp35m-manylinux1_x86_64.whl@@ -163,6 +166,7 @@ tasks:platform: linuxtemplate: python-wheels/travis.linux.ymlparams:+ wheel_version: 0.31.1python_version: 3.6,16artifacts:- pyarrow-{version}-cp36-cp36m-manylinux1_x86_64.whl@@ -173,10 +177,10 @@ tasks:platform: osxtemplate: python-wheels/travis.osx.ymlparams:- numpy_build_version: 1.10.4- numpy_test_version: 1.14.0+ numpy_version: 1.14pandas_version: 0.23.0python_version: 2.7+ wheel_version: 0.31.1artifacts:- pyarrow-{version}-cp27-cp27m-macosx_10_6_intel.whl@@ -184,10 +188,10 @@ tasks:platform: osxtemplate: python-wheels/travis.osx.ymlparams:- numpy_build_version: 1.10.4- numpy_test_version: 1.14.0+ numpy_version: 1.14pandas_version: 0.23.0python_version: 3.5+ wheel_version: 0.31.1artifacts:- pyarrow-{version}-cp35-cp35m-macosx_10_6_intel.whl@@ -195,10 +199,10 @@ tasks:platform: osxtemplate: python-wheels/travis.osx.ymlparams:- numpy_build_version: 1.11.3- numpy_test_version: 1.14.0+ numpy_version: 1.14pandas_version: 0.23.0python_version: 3.6+ wheel_version: 0.31.1artifacts:- pyarrow-{version}-cp36-cp36m-macosx_10_6_intel.whl