You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ap...@apache.org on 2019/06/26 11:52:58 UTC

[arrow] branch master updated: ARROW-5142, ARROW-5732, ARROW-5735: [CI] Emergency fixes

This is an automated email from the ASF dual-hosted git repository.

apitrou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/master by this push:
     new f3e1526  ARROW-5142, ARROW-5732, ARROW-5735: [CI] Emergency fixes
f3e1526 is described below

commit f3e152685afe017cdd0af6444d3445f831a149e0
Author: Antoine Pitrou <an...@python.org>
AuthorDate: Wed Jun 26 13:52:50 2019 +0200

    ARROW-5142, ARROW-5732, ARROW-5735: [CI] Emergency fixes
    
    There are multiple issues at play:
    - A mysterious issue where conda 4.7.5 downloads smaller clang packages on macOS,
      with later build failures in clang includes: https://github.com/conda/conda/issues/8825
    - A bug with boost 1.70's own CMake configuration files conflicting with CMake's
      FindBoost() function: https://gitlab.kitware.com/cmake/cmake/issues/18865
    - A boost 1.70 compilation warning on Windows that gets turned into an error
      in our AppVeyor builds: https://github.com/boostorg/process/issues/85
    
    Author: Antoine Pitrou <an...@python.org>
    
    Closes #4702 from pitrou/ARROW-5735-ci-fixes and squashes the following commits:
    
    5a747447b <Antoine Pitrou> ARROW-5142, ARROW-5732, ARROW-5735:  Emergency fixes
---
 ci/appveyor-cpp-build.bat                   |  4 +++-
 ci/appveyor-cpp-setup.bat                   |  1 -
 ci/cpp-msvc-build-main.bat                  | 27 +--------------------------
 ci/travis_install_conda.sh                  |  1 -
 cpp/cmake_modules/ThirdpartyToolchain.cmake |  4 +++-
 5 files changed, 7 insertions(+), 30 deletions(-)

diff --git a/ci/appveyor-cpp-build.bat b/ci/appveyor-cpp-build.bat
index c221892..a280e92 100644
--- a/ci/appveyor-cpp-build.bat
+++ b/ci/appveyor-cpp-build.bat
@@ -100,7 +100,9 @@ if "%JOB%" == "Build_Debug" (
   exit /B 0
 )
 
-set CONDA_PACKAGES=--file=ci\conda_env_python.yml python=%PYTHON% numpy=1.14 boost-cpp
+@rem Avoid Boost 1.70 because of https://github.com/boostorg/process/issues/85
+set CONDA_PACKAGES=--file=ci\conda_env_python.yml ^
+  python=%PYTHON% numpy=1.14 "boost-cpp<1.70"
 
 if "%ARROW_BUILD_GANDIVA%" == "ON" (
   @rem Install llvmdev in the toolchain if building gandiva.dll
diff --git a/ci/appveyor-cpp-setup.bat b/ci/appveyor-cpp-setup.bat
index aa29498..0d2139a 100644
--- a/ci/appveyor-cpp-setup.bat
+++ b/ci/appveyor-cpp-setup.bat
@@ -26,7 +26,6 @@ rd /s /q C:\OpenSSL-v11-Win64
 rd /s /q C:\OpenSSL-v111-Win32
 rd /s /q C:\OpenSSL-v111-Win64
 
-conda update -y -q conda
 conda config --set auto_update_conda false
 conda info -a
 
diff --git a/ci/cpp-msvc-build-main.bat b/ci/cpp-msvc-build-main.bat
index 4ab4136..8755a52 100644
--- a/ci/cpp-msvc-build-main.bat
+++ b/ci/cpp-msvc-build-main.bat
@@ -117,30 +117,5 @@ python setup.py develop -q || exit /B
 py.test -r sxX --durations=15 --pyargs pyarrow.tests || exit /B
 
 @rem
-@rem Build wheel
+@rem Wheels are built and tested separately (see ARROW-5142).
 @rem
-
-python setup.py bdist_wheel -q || exit /B
-
-for /F %%i in ('dir /B /S dist\*.whl') do set WHEEL_PATH=%%i
-
-popd
-
-@rem
-@rem Test pyarrow wheel from pristine environment
-@rem
-
-call deactivate
-
-conda create -n wheel_test -q -y python=%PYTHON% || exit /B
-
-call activate wheel_test
-
-pip install %WHEEL_PATH% || exit /B
-
-python -c "import pyarrow" || exit /B
-python -c "import pyarrow.parquet" || exit /B
-
-pip install pandas pickle5 pytest pytest-faulthandler hypothesis || exit /B
-
-py.test -r sxX --durations=15 --pyargs pyarrow.tests || exit /B
diff --git a/ci/travis_install_conda.sh b/ci/travis_install_conda.sh
index 49a2f21..205a280 100755
--- a/ci/travis_install_conda.sh
+++ b/ci/travis_install_conda.sh
@@ -58,7 +58,6 @@ else
   bash miniconda.sh -b -p $MINICONDA
   source $MINICONDA/etc/profile.d/conda.sh
 
-  conda update -y -q conda
   conda config --set auto_update_conda false
   conda info -a
 
diff --git a/cpp/cmake_modules/ThirdpartyToolchain.cmake b/cpp/cmake_modules/ThirdpartyToolchain.cmake
index c4653ab..f8e6651 100644
--- a/cpp/cmake_modules/ThirdpartyToolchain.cmake
+++ b/cpp/cmake_modules/ThirdpartyToolchain.cmake
@@ -1115,7 +1115,9 @@ macro(build_thrift)
       -DWITH_HASKELL=OFF
       -DWITH_CPP=ON
       -DWITH_STATIC_LIB=ON
-      -DWITH_LIBEVENT=OFF)
+      -DWITH_LIBEVENT=OFF
+      # Work around https://gitlab.kitware.com/cmake/cmake/issues/18865
+      -DBoost_NO_BOOST_CMAKE=ON)
 
   # Thrift also uses boost. Forward important boost settings if there were ones passed.
   if(DEFINED BOOST_ROOT)