You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by we...@apache.org on 2018/02/20 02:12:18 UTC

[arrow] branch master updated: ARROW-2175: [Python] Install Arrow libraries in Travis CI builds when only Python directory is affected

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

wesm 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 b33dfd9  ARROW-2175: [Python] Install Arrow libraries in Travis CI builds when only Python directory is affected
b33dfd9 is described below

commit b33dfd9c6bd800308bb1619b237dbf24dea159be
Author: Wes McKinney <we...@twosigma.com>
AuthorDate: Mon Feb 19 21:12:13 2018 -0500

    ARROW-2175: [Python] Install Arrow libraries in Travis CI builds when only Python directory is affected
    
    Author: Wes McKinney <we...@twosigma.com>
    
    Closes #1630 from wesm/ARROW-2175 and squashes the following commits:
    
    b6bdd3d2 [Wes McKinney] ARROW_HOME needed to override PARQUET_BUILD_TOOLCHAIN
    119b290b [Wes McKinney] Test the behavior of a Python-only change
    49e8706f [Wes McKinney] Just use PARQUET_BUILD_TOOLCHAIN [force travis] [skip appveyor]
    cdd9929f [Wes McKinney] Always build Arrow libraries when either C++/Python affected. Add missing ARROW_HOME env var to Parquet build CI script. [force travis] [skip appveyor]
---
 .travis.yml                    | 6 ++++--
 ci/travis_build_parquet_cpp.sh | 3 +--
 python/README.md               | 6 +++---
 3 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 73a9f46..a4c7465 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -61,7 +61,8 @@ matrix:
     - $TRAVIS_BUILD_DIR/ci/travis_install_linux.sh
     - $TRAVIS_BUILD_DIR/ci/travis_install_clang_tools.sh
     - $TRAVIS_BUILD_DIR/ci/travis_lint.sh
-    - if [ $ARROW_CI_CPP_AFFECTED == "1" ]; then $TRAVIS_BUILD_DIR/ci/travis_before_script_cpp.sh; fi
+    # If either C++ or Python changed, we must install the C++ libraries
+    - $TRAVIS_BUILD_DIR/ci/travis_before_script_cpp.sh
     script:
     - if [ $ARROW_CI_CPP_AFFECTED == "1" ]; then $TRAVIS_BUILD_DIR/ci/travis_script_cpp.sh; fi
     - $TRAVIS_BUILD_DIR/ci/travis_build_parquet_cpp.sh
@@ -81,7 +82,8 @@ matrix:
     - ARROW_BUILD_WARNING_LEVEL=CHECKIN
     before_script:
     - if [ $ARROW_CI_PYTHON_AFFECTED != "1" ]; then exit; fi
-    - if [ $ARROW_CI_CPP_AFFECTED == "1" ]; then travis_wait 50 $TRAVIS_BUILD_DIR/ci/travis_before_script_cpp.sh; fi
+    # If either C++ or Python changed, we must install the C++ libraries
+    - travis_wait 50 $TRAVIS_BUILD_DIR/ci/travis_before_script_cpp.sh
     script:
     - if [ $ARROW_CI_CPP_AFFECTED == "1" ]; then $TRAVIS_BUILD_DIR/ci/travis_script_cpp.sh; fi
     - $TRAVIS_BUILD_DIR/ci/travis_build_parquet_cpp.sh
diff --git a/ci/travis_build_parquet_cpp.sh b/ci/travis_build_parquet_cpp.sh
index fc4ae72..7d2e3ab 100755
--- a/ci/travis_build_parquet_cpp.sh
+++ b/ci/travis_build_parquet_cpp.sh
@@ -22,9 +22,8 @@ source $TRAVIS_BUILD_DIR/ci/travis_env_common.sh
 
 source $TRAVIS_BUILD_DIR/ci/travis_install_toolchain.sh
 
-export PARQUET_ARROW_VERSION=$(git rev-parse HEAD)
-
 export PARQUET_BUILD_TOOLCHAIN=$CPP_TOOLCHAIN
+export ARROW_HOME=$ARROW_CPP_INSTALL
 
 PARQUET_DIR=$TRAVIS_BUILD_DIR/parquet
 mkdir -p $PARQUET_DIR
diff --git a/python/README.md b/python/README.md
index 38c9940..e2ed9db 100644
--- a/python/README.md
+++ b/python/README.md
@@ -19,9 +19,9 @@
 
 ## Python library for Apache Arrow
 
-This library provides a Pythonic API wrapper for the reference Arrow C++
-implementation, along with tools for interoperability with pandas, NumPy, and
-other traditional Python scientific computing packages.
+This library provides a Python API for functionality provided by the Arrow C++
+libraries, along with tools for Arrow integration and interoperability with
+pandas, NumPy, and other software in the Python ecosystem.
 
 ## Installing
 

-- 
To stop receiving notification emails like this one, please contact
wesm@apache.org.