Apache DataFusion SQL Query Engine
ARROW-6443: [CI][Crossbow] Nightly conda osx builds fail
Krisztián Szűcs75852db7695c
diff --git a/dev/tasks/conda-recipes/.ci_support/linux_python2.7.yaml b/dev/tasks/conda-recipes/.ci_support/linux_python2.7.yamlindex 8757d94909..b13e14abed 100644--- a/dev/tasks/conda-recipes/.ci_support/linux_python2.7.yaml+++ b/dev/tasks/conda-recipes/.ci_support/linux_python2.7.yaml@@ -14,11 +14,33 @@ cxx_compiler_version:- '7'docker_image:- condaforge/linux-anvil-comp7+glog:+- 0.4.0+libprotobuf:+- '3.8'+lz4_c:+- 1.8.3pin_run_as_build:boost-cpp:max_pin: x.x.x+ libprotobuf:+ max_pin: x.x+ lz4-c:+ max_pin: x.x.xpython:min_pin: x.xmax_pin: x.x+ snappy:+ max_pin: x.x.x+ zlib:+ max_pin: x.x+ zstd:+ max_pin: x.x.xpython:- '2.7'+snappy:+- 1.1.7+zlib:+- '1.2'+zstd:+- 1.4.0diff --git a/dev/tasks/conda-recipes/.ci_support/linux_python3.6.yaml b/dev/tasks/conda-recipes/.ci_support/linux_python3.6.yamlindex 6af2d070c7..6fd7ba4584 100644--- a/dev/tasks/conda-recipes/.ci_support/linux_python3.6.yaml+++ b/dev/tasks/conda-recipes/.ci_support/linux_python3.6.yaml@@ -14,11 +14,33 @@ cxx_compiler_version:- '7'docker_image:- condaforge/linux-anvil-comp7+glog:+- 0.4.0+libprotobuf:+- '3.8'+lz4_c:+- 1.8.3pin_run_as_build:boost-cpp:max_pin: x.x.x+ libprotobuf:+ max_pin: x.x+ lz4-c:+ max_pin: x.x.xpython:min_pin: x.xmax_pin: x.x+ snappy:+ max_pin: x.x.x+ zlib:+ max_pin: x.x+ zstd:+ max_pin: x.x.xpython:- '3.6'+snappy:+- 1.1.7+zlib:+- '1.2'+zstd:+- 1.4.0diff --git a/dev/tasks/conda-recipes/.ci_support/linux_python3.7.yaml b/dev/tasks/conda-recipes/.ci_support/linux_python3.7.yamlindex 1a27da23c5..f1e60380f6 100644--- a/dev/tasks/conda-recipes/.ci_support/linux_python3.7.yaml+++ b/dev/tasks/conda-recipes/.ci_support/linux_python3.7.yaml@@ -14,12 +14,33 @@ cxx_compiler_version:- '7'docker_image:- condaforge/linux-anvil-comp7+glog:+- 0.4.0+libprotobuf:+- '3.8'+lz4_c:+- 1.8.3pin_run_as_build:boost-cpp:max_pin: x.x.x+ libprotobuf:+ max_pin: x.x+ lz4-c:+ max_pin: x.x.xpython:min_pin: x.xmax_pin: x.x+ snappy:+ max_pin: x.x.x+ zlib:+ max_pin: x.x+ zstd:+ max_pin: x.x.xpython:- '3.7'-+snappy:+- 1.1.7+zlib:+- '1.2'+zstd:+- 1.4.0diff --git a/dev/tasks/conda-recipes/.ci_support/osx_python2.7.yaml b/dev/tasks/conda-recipes/.ci_support/osx_python2.7.yamlindex 771f49ffc7..264098af5b 100644--- a/dev/tasks/conda-recipes/.ci_support/osx_python2.7.yaml+++ b/dev/tasks/conda-recipes/.ci_support/osx_python2.7.yaml@@ -14,6 +14,12 @@ cxx_compiler:- clangxxcxx_compiler_version:- '4'+glog:+- 0.4.0+libprotobuf:+- '3.8'+lz4_c:+- 1.8.3macos_machine:- x86_64-apple-darwin13.4.0macos_min_version:@@ -21,8 +27,24 @@ macos_min_version:pin_run_as_build:boost-cpp:max_pin: x.x.x+ libprotobuf:+ max_pin: x.x+ lz4-c:+ max_pin: x.x.xpython:min_pin: x.xmax_pin: x.x+ snappy:+ max_pin: x.x.x+ zlib:+ max_pin: x.x+ zstd:+ max_pin: x.x.xpython:- '2.7'+snappy:+- 1.1.7+zlib:+- '1.2'+zstd:+- 1.4.0diff --git a/dev/tasks/conda-recipes/.ci_support/osx_python3.6.yaml b/dev/tasks/conda-recipes/.ci_support/osx_python3.6.yamlindex ed2e5a0fb4..f0c061c5b0 100644--- a/dev/tasks/conda-recipes/.ci_support/osx_python3.6.yaml+++ b/dev/tasks/conda-recipes/.ci_support/osx_python3.6.yaml@@ -14,6 +14,12 @@ cxx_compiler:- clangxxcxx_compiler_version:- '4'+glog:+- 0.4.0+libprotobuf:+- '3.8'+lz4_c:+- 1.8.3macos_machine:- x86_64-apple-darwin13.4.0macos_min_version:@@ -21,8 +27,24 @@ macos_min_version:pin_run_as_build:boost-cpp:max_pin: x.x.x+ libprotobuf:+ max_pin: x.x+ lz4-c:+ max_pin: x.x.xpython:min_pin: x.xmax_pin: x.x+ snappy:+ max_pin: x.x.x+ zlib:+ max_pin: x.x+ zstd:+ max_pin: x.x.xpython:- '3.6'+snappy:+- 1.1.7+zlib:+- '1.2'+zstd:+- 1.4.0diff --git a/dev/tasks/conda-recipes/.ci_support/osx_python3.7.yaml b/dev/tasks/conda-recipes/.ci_support/osx_python3.7.yamlindex 5a0946c6e1..38d8e31122 100644--- a/dev/tasks/conda-recipes/.ci_support/osx_python3.7.yaml+++ b/dev/tasks/conda-recipes/.ci_support/osx_python3.7.yaml@@ -14,6 +14,12 @@ cxx_compiler:- clangxxcxx_compiler_version:- '4'+glog:+- 0.4.0+libprotobuf:+- '3.8'+lz4_c:+- 1.8.3macos_machine:- x86_64-apple-darwin13.4.0macos_min_version:@@ -21,8 +27,24 @@ macos_min_version:pin_run_as_build:boost-cpp:max_pin: x.x.x+ libprotobuf:+ max_pin: x.x+ lz4-c:+ max_pin: x.x.xpython:min_pin: x.xmax_pin: x.x+ snappy:+ max_pin: x.x.x+ zlib:+ max_pin: x.x+ zstd:+ max_pin: x.x.xpython:- '3.7'+snappy:+- 1.1.7+zlib:+- '1.2'+zstd:+- 1.4.0diff --git a/dev/tasks/conda-recipes/.ci_support/win_c_compilervs2015cxx_compilervs2015python3.6.yaml b/dev/tasks/conda-recipes/.ci_support/win_c_compilervs2015cxx_compilervs2015python3.6.yamldeleted file mode 100644index 9961c53449..0000000000--- a/dev/tasks/conda-recipes/.ci_support/win_c_compilervs2015cxx_compilervs2015python3.6.yaml+++ /dev/null@@ -1,22 +0,0 @@-boost_cpp:-- 1.70.0-c_compiler:-- vs2015-channel_sources:-- conda-forge,defaults-channel_targets:-- conda-forge main-cxx_compiler:-- vs2015-pin_run_as_build:- boost-cpp:- max_pin: x.x.x- python:- min_pin: x.x- max_pin: x.x-python:-- '3.6'-zip_keys:-- - python- - c_compiler- - cxx_compilerdiff --git a/dev/tasks/conda-recipes/.ci_support/win_c_compilervs2015cxx_compilervs2015python3.6vc14.yaml b/dev/tasks/conda-recipes/.ci_support/win_c_compilervs2015cxx_compilervs2015python3.6vc14.yamlnew file mode 100644index 0000000000..dbbd5874da--- /dev/null+++ b/dev/tasks/conda-recipes/.ci_support/win_c_compilervs2015cxx_compilervs2015python3.6vc14.yaml@@ -0,0 +1,51 @@+CMAKE_GENERATOR:+- NMake Makefiles+boost_cpp:+- 1.70.0+c_compiler:+- vs2015+channel_sources:+- conda-forge,defaults+channel_targets:+- conda-forge main+cxx_compiler:+- vs2015+glog:+- 0.4.0+libprotobuf:+- '3.8'+lz4_c:+- 1.8.3+pin_run_as_build:+ boost-cpp:+ max_pin: x.x.x+ libprotobuf:+ max_pin: x.x+ lz4-c:+ max_pin: x.x.x+ python:+ min_pin: x.x+ max_pin: x.x+ snappy:+ max_pin: x.x.x+ vc:+ max_pin: x+ zlib:+ max_pin: x.x+ zstd:+ max_pin: x.x.x+python:+- '3.6'+snappy:+- 1.1.7+vc:+- '14'+zip_keys:+- - python+ - vc+ - c_compiler+ - cxx_compiler+zlib:+- '1.2'+zstd:+- 1.4.0diff --git a/dev/tasks/conda-recipes/.ci_support/win_c_compilervs2015cxx_compilervs2015python3.7.yaml b/dev/tasks/conda-recipes/.ci_support/win_c_compilervs2015cxx_compilervs2015python3.7.yamldeleted file mode 100644index 77abc37c4d..0000000000--- a/dev/tasks/conda-recipes/.ci_support/win_c_compilervs2015cxx_compilervs2015python3.7.yaml+++ /dev/null@@ -1,22 +0,0 @@-boost_cpp:-- 1.70.0-c_compiler:-- vs2015-channel_sources:-- conda-forge,defaults-channel_targets:-- conda-forge main-cxx_compiler:-- vs2015-pin_run_as_build:- boost-cpp:- max_pin: x.x.x- python:- min_pin: x.x- max_pin: x.x-python:-- '3.7'-zip_keys:-- - python- - c_compiler- - cxx_compilerdiff --git a/dev/tasks/conda-recipes/.ci_support/win_c_compilervs2015cxx_compilervs2015python3.7vc14.yaml b/dev/tasks/conda-recipes/.ci_support/win_c_compilervs2015cxx_compilervs2015python3.7vc14.yamlnew file mode 100644index 0000000000..7d2364ed94--- /dev/null+++ b/dev/tasks/conda-recipes/.ci_support/win_c_compilervs2015cxx_compilervs2015python3.7vc14.yaml@@ -0,0 +1,51 @@+CMAKE_GENERATOR:+- NMake Makefiles+boost_cpp:+- 1.70.0+c_compiler:+- vs2015+channel_sources:+- conda-forge,defaults+channel_targets:+- conda-forge main+cxx_compiler:+- vs2015+glog:+- 0.4.0+libprotobuf:+- '3.8'+lz4_c:+- 1.8.3+pin_run_as_build:+ boost-cpp:+ max_pin: x.x.x+ libprotobuf:+ max_pin: x.x+ lz4-c:+ max_pin: x.x.x+ python:+ min_pin: x.x+ max_pin: x.x+ snappy:+ max_pin: x.x.x+ vc:+ max_pin: x+ zlib:+ max_pin: x.x+ zstd:+ max_pin: x.x.x+python:+- '3.7'+snappy:+- 1.1.7+vc:+- '14'+zip_keys:+- - python+ - vc+ - c_compiler+ - cxx_compiler+zlib:+- '1.2'+zstd:+- 1.4.0diff --git a/dev/tasks/conda-recipes/arrow-cpp/bld.bat b/dev/tasks/conda-recipes/arrow-cpp/bld.batindex d3ea1b2469..334a72b122 100644--- a/dev/tasks/conda-recipes/arrow-cpp/bld.bat+++ b/dev/tasks/conda-recipes/arrow-cpp/bld.bat@@ -6,16 +6,18 @@ cmake -G "%CMAKE_GENERATOR%" ^-DARROW_DEPENDENCY_SOURCE=SYSTEM ^-DARROW_PACKAGE_PREFIX="%LIBRARY_PREFIX%" ^-DLLVM_TOOLS_BINARY_DIR="%LIBRARY_BIN%" ^+ -DPYTHON_EXECUTABLE="%PYTHON%" ^-DARROW_BOOST_USE_SHARED:BOOL=ON ^-DARROW_BUILD_TESTS:BOOL=OFF ^-DARROW_BUILD_UTILITIES:BOOL=OFF ^+ -DARROW_BUILD_STATIC:BOOL=OFF ^-DCMAKE_BUILD_TYPE=release ^- -DARROW_FLIGHT:BOOL=ON ^-DARROW_PYTHON:BOOL=ON ^+ -DARROW_FLIGHT:BOOL=ON ^-DARROW_PARQUET:BOOL=ON ^-DARROW_GANDIVA:BOOL=ON ^-DARROW_ORC:BOOL=ON ^- -Duriparser_SOURCE=BUNDLED ^+ -DBoost_NO_BOOST_CMAKE=ON ^..cmake --build . --target INSTALL --config Releasediff --git a/dev/tasks/conda-recipes/arrow-cpp/build.sh b/dev/tasks/conda-recipes/arrow-cpp/build.shindex 0c4414d378..c113b4bfc2 100644--- a/dev/tasks/conda-recipes/arrow-cpp/build.sh+++ b/dev/tasks/conda-recipes/arrow-cpp/build.sh@@ -1,9 +1,10 @@+#!/bin/bash+set -eset -x-cd cpp-mkdir build-dir-cd build-dir+mkdir cpp/build+pushd cpp/buildEXTRA_CMAKE_ARGS=""@@ -19,12 +20,12 @@ cmake \-DCMAKE_INSTALL_LIBDIR=$PREFIX/lib \-DLLVM_TOOLS_BINARY_DIR=$PREFIX/bin \-DARROW_DEPENDENCY_SOURCE=SYSTEM \- -Duriparser_SOURCE=BUNDLED \-DARROW_PACKAGE_PREFIX=$PREFIX \-DARROW_BOOST_USE_SHARED=ON \-DARROW_BUILD_BENCHMARKS=OFF \-DARROW_BUILD_UTILITIES=OFF \-DARROW_BUILD_TESTS=OFF \+ -DARROW_BUILD_STATIC=OFF \-DARROW_JEMALLOC=ON \-DARROW_FLIGHT=ON \-DARROW_PLASMA=ON \@@ -37,5 +38,6 @@ cmake \-GNinja \${EXTRA_CMAKE_ARGS} \..-ninja install++popddiff --git a/dev/tasks/conda-recipes/arrow-cpp/meta.yaml b/dev/tasks/conda-recipes/arrow-cpp/meta.yamlindex 4638980f12..1e3faf1223 100644--- a/dev/tasks/conda-recipes/arrow-cpp/meta.yaml+++ b/dev/tasks/conda-recipes/arrow-cpp/meta.yaml@@ -72,19 +72,6 @@ test:- if not exist %LIBRARY_INC%\\gandiva\\engine.h exit 1 # [win]- if not exist %LIBRARY_INC%\\parquet\\api\\reader.h exit 1 # [win]- # static- - test -f $PREFIX/lib/libarrow.a # [unix]- - test -f $PREFIX/lib/libarrow_flight.a # [unix]- - test -f $PREFIX/lib/libarrow_python.a # [unix]- - test -f $PREFIX/lib/libplasma.a # [unix]- - test -f $PREFIX/lib/libparquet.a # [unix]- - test -f $PREFIX/lib/libgandiva.a # [unix]- - if not exist %PREFIX%\\Library\\lib\\arrow_static.lib exit 1 # [win]- - if not exist %PREFIX%\\Library\\lib\\arrow_flight_static.lib exit 1 # [win]- - if not exist %PREFIX%\\Library\\lib\\arrow_python_static.lib exit 1 # [win]- - if not exist %PREFIX%\\Library\\lib\\parquet_static.lib exit 1 # [win]- - if not exist %PREFIX%\\Library\\lib\\gandiva_static.lib exit 1 # [win]-# shared- test -f $PREFIX/lib/libarrow.so # [linux]- test -f $PREFIX/lib/libarrow_flight.so # [linux]@@ -103,9 +90,28 @@ test:- if not exist %PREFIX%\\Library\\bin\\parquet.dll exit 1 # [win]- if not exist %PREFIX%\\Library\\bin\\gandiva.dll exit 1 # [win]+ # absence of static libraries+ - test ! -f $PREFIX/lib/libarrow.a # [unix]+ - test ! -f $PREFIX/lib/libarrow_flight.a # [unix]+ - test ! -f $PREFIX/lib/libarrow_python.a # [unix]+ - test ! -f $PREFIX/lib/libplasma.a # [unix]+ - test ! -f $PREFIX/lib/libparquet.a # [unix]+ - test ! -f $PREFIX/lib/libgandiva.a # [unix]+ - if exist %PREFIX%\\Library\\lib\\arrow_static.lib exit 1 # [win]+ - if exist %PREFIX%\\Library\\lib\\arrow_flight_static.lib exit 1 # [win]+ - if exist %PREFIX%\\Library\\lib\\arrow_python_static.lib exit 1 # [win]+ - if exist %PREFIX%\\Library\\lib\\parquet_static.lib exit 1 # [win]+ - if exist %PREFIX%\\Library\\lib\\gandiva_static.lib exit 1 # [win]++ # conda tools+ - conda inspect linkages -p $PREFIX $PKG_NAME # [not win]+ - conda inspect objects -p $PREFIX $PKG_NAME # [osx]+about:home: http://github.com/apache/arrowlicense: Apache 2.0+ license_file:+ - LICENSE.txtsummary: 'C++ libraries for Apache Arrow'extra:diff --git a/dev/tasks/conda-recipes/azure.osx.yml b/dev/tasks/conda-recipes/azure.osx.ymlindex 95f76f0fc5..5b0fc89936 100755--- a/dev/tasks/conda-recipes/azure.osx.yml+++ b/dev/tasks/conda-recipes/azure.osx.yml@@ -41,11 +41,6 @@ jobs:export CI=azuresource run_conda_forge_build_setupconda update --yes --quiet --override-channels -c conda-forge -c defaults --all- # ARROW-5738: OSX package builds are failing with missing intrinsics- # Conda 4.7 has introduced a new format, probably broken- # packages cause the error, so using a temporary solution:- # pin `conda` to 4.6.- conda install --yes conda=4.6displayName: Configure conda and conda-buildworkingDirectory: arrow/dev/tasks/conda-recipesenv: {diff --git a/dev/tasks/conda-recipes/parquet-cpp/meta.yaml b/dev/tasks/conda-recipes/parquet-cpp/meta.yamlindex 9bf0c9c856..5de06c32b1 100644--- a/dev/tasks/conda-recipes/parquet-cpp/meta.yaml+++ b/dev/tasks/conda-recipes/parquet-cpp/meta.yaml@@ -24,15 +24,15 @@ test:- test -f $PREFIX/include/parquet/api/reader.h # [unix]- if not exist %LIBRARY_INC%\\parquet\\api\\reader.h exit 1 # [win]- # static- - test -f $PREFIX/lib/libparquet.a # [unix]- - if not exist %PREFIX%\\Library\\lib\\parquet_static.lib exit 1 # [win]-# shared- test -f $PREFIX/lib/libparquet.so # [linux]- test -f $PREFIX/lib/libparquet.dylib # [osx]- if not exist %PREFIX%\\Library\\bin\\parquet.dll exit 1 # [win]+ # absence of static libraries+ - test ! -f $PREFIX/lib/libparquet.a # [unix]+ - if exist %PREFIX%\\Library\\lib\\parquet_static.lib exit 1 # [win]+about:home: http://github.com/apache/arrowlicense: Apache 2.0diff --git a/dev/tasks/conda-recipes/pyarrow/bld.bat b/dev/tasks/conda-recipes/pyarrow/bld.batindex 28eb76a2fd..9c7eaab1c7 100644--- a/dev/tasks/conda-recipes/pyarrow/bld.bat+++ b/dev/tasks/conda-recipes/pyarrow/bld.bat@@ -14,11 +14,13 @@ copy /Y "%SRC_DIR%\cpp\cmake_modules\FindPythonLibsNew.cmake" cmake_modules\SET ARROW_HOME=%LIBRARY_PREFIX%SET SETUPTOOLS_SCM_PRETEND_VERSION=%PKG_VERSION%+SET PYARROW_BUILD_TYPE=releaseSET PYARROW_WITH_FLIGHT=1SET PYARROW_WITH_GANDIVA=1SET PYARROW_WITH_PARQUET=1+"%PYTHON%" setup.py ^- build_ext --build-type=release ^+ build_ext ^install --single-version-externally-managed ^--record=record.txtif errorlevel 1 exit 1diff --git a/dev/tasks/conda-recipes/pyarrow/build.sh b/dev/tasks/conda-recipes/pyarrow/build.shindex 161546febe..0c69c8cb8b 100644--- a/dev/tasks/conda-recipes/pyarrow/build.sh+++ b/dev/tasks/conda-recipes/pyarrow/build.sh@@ -7,15 +7,16 @@ set -xexport ARROW_HOME=$PREFIXexport PARQUET_HOME=$PREFIXexport SETUPTOOLS_SCM_PRETEND_VERSION=$PKG_VERSION+export PYARROW_BUILD_TYPE=release+export PYARROW_WITH_FLIGHT=1+export PYARROW_WITH_PLASMA=1+export PYARROW_WITH_PARQUET=1+export PYARROW_WITH_ORC=1+export PYARROW_WITH_GANDIVA=1cd python$PYTHON setup.py \- build_ext --build-type=release \- --with-flight \- --with-orc \- --with-plasma \- --with-parquet \- --with-gandiva \+ build_ext \install --single-version-externally-managed \--record=record.txtdiff --git a/dev/tasks/conda-recipes/pyarrow/meta.yaml b/dev/tasks/conda-recipes/pyarrow/meta.yamlindex acd89af8ae..7f57f2ace5 100644--- a/dev/tasks/conda-recipes/pyarrow/meta.yaml+++ b/dev/tasks/conda-recipes/pyarrow/meta.yaml@@ -18,37 +18,36 @@ requirements:host:# directly pin boost-cpp as we also seem to directly include boost symbols# in the Python modules.+ - arrow-cpp {{ ARROW_VERSION }}- boost-cpp+ - cython+ - numpy 1.14.*- python- setuptools- setuptools_scm- - cython- - numpy 1.14.*- six- - arrow-cpp {{ ARROW_VERSION }}run:- - glog- - snappy- - boost-cpp- - python- - setuptools+ - {{ pin_compatible('arrow-cpp') }}- {{ pin_compatible('numpy', lower_bound='1.14') }}+ - boost-cpp+ - futures # [py==27]+ - glog- pandas- - six- - futures # [py27]- - arrow-cpp {{ ARROW_VERSION }}- # - {{ pin_compatible('arrow-cpp') }}# empty parquet-cpp metapackage, force old versions to be uninstalled- parquet-cpp 1.5.1.*+ - python+ - six+ - snappytest:imports:- pyarrow- - pyarrow.flight # [py>=35]- - pyarrow.plasma # [unix]+ - pyarrow.flight # [not py==27]+ - pyarrow.gandiva # [not py==27]+ - pyarrow.orc # [unix]- pyarrow.parquet- - pyarrow.gandiva # [py>=35]+ - pyarrow.plasma # [unix]requires:- pytest@@ -60,6 +59,7 @@ test:about:home: http://github.com/apache/arrowlicense: Apache 2.0+ license_file: LICENSE.txtsummary: 'Python libraries for Apache Arrow'extra:diff --git a/dev/tasks/tasks.yml b/dev/tasks/tasks.ymlindex e72d567633..034bdc9543 100644--- a/dev/tasks/tasks.yml+++ b/dev/tasks/tasks.yml@@ -141,7 +141,7 @@ tasks:platform: wintemplate: conda-recipes/appveyor.win.ymlparams:- config: win_c_compilervs2015cxx_compilervs2015python3.6+ config: win_c_compilervs2015cxx_compilervs2015python3.6vc14artifacts:- arrow-cpp-{no_rc_version}-py36(h[a-z0-9]+)_0.tar.bz2- pyarrow-{no_rc_version}-py36(h[a-z0-9]+)_0.tar.bz2@@ -151,7 +151,7 @@ tasks:platform: wintemplate: conda-recipes/appveyor.win.ymlparams:- config: win_c_compilervs2015cxx_compilervs2015python3.7+ config: win_c_compilervs2015cxx_compilervs2015python3.7vc14artifacts:- arrow-cpp-{no_rc_version}-py37(h[a-z0-9]+)_0.tar.bz2- pyarrow-{no_rc_version}-py37(h[a-z0-9]+)_0.tar.bz2