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 21ca340  ARROW-3565: [Python] Pin tensorflow to 1.11.0 in manylinux1 
container
21ca340 is described below

commit 21ca340918c61a45001fbcf9bd7380320b0048d5
Author: Korn, Uwe <[email protected]>
AuthorDate: Fri Oct 19 10:00:15 2018 -0400

    ARROW-3565: [Python] Pin tensorflow to 1.11.0 in manylinux1 container
    
    Verified that this does not increase the current pinned numpy version.
    
    Author: Korn, Uwe <[email protected]>
    
    Closes #2797 from xhochy/ARROW-3565 and squashes the following commits:
    
    0307343a1 <Korn, Uwe> ARROW-3565:  Pin tensorflow to 1.11.0 in manylinux1 
container
---
 python/manylinux1/build_arrow.sh | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/python/manylinux1/build_arrow.sh b/python/manylinux1/build_arrow.sh
index d99f072..4481652 100755
--- a/python/manylinux1/build_arrow.sh
+++ b/python/manylinux1/build_arrow.sh
@@ -60,7 +60,7 @@ for PYTHON_TUPLE in ${PYTHON_VERSIONS}; do
     # TensorFlow is not supported for Python 2.7 with unicode width 16 or with 
Python 3.7
     if [ $PYTHON != "2.7" ] || [ $U_WIDTH = "32" ]; then
       if [ $PYTHON != "3.7" ]; then
-        $PIP install --ignore-installed --upgrade tensorflow
+        $PIP install tensorflow==1.11.0
       fi
     fi
 
@@ -109,9 +109,6 @@ for PYTHON_TUPLE in ${PYTHON_VERSIONS}; do
 
     echo "=== (${PYTHON}) Test the existence of optional modules ==="
     $PIP install -r requirements.txt
-    PATH="$PATH:${CPYTHON_PATH}/bin" $PYTHON_INTERPRETER -c "import 
pyarrow.orc"
-    PATH="$PATH:${CPYTHON_PATH}/bin" $PYTHON_INTERPRETER -c "import 
pyarrow.parquet"
-    PATH="$PATH:${CPYTHON_PATH}/bin" $PYTHON_INTERPRETER -c "import 
pyarrow.plasma"
 
     echo "=== (${PYTHON}) Tag the wheel with manylinux1 ==="
     mkdir -p repaired_wheels/
@@ -121,6 +118,10 @@ for PYTHON_TUPLE in ${PYTHON_VERSIONS}; do
     source /venv-test-${PYTHON}-${U_WIDTH}/bin/activate
     pip install repaired_wheels/*.whl
 
+    PATH="$PATH:${CPYTHON_PATH}/bin" $PYTHON_INTERPRETER -c "import 
pyarrow.orc"
+    PATH="$PATH:${CPYTHON_PATH}/bin" $PYTHON_INTERPRETER -c "import 
pyarrow.parquet"
+    PATH="$PATH:${CPYTHON_PATH}/bin" $PYTHON_INTERPRETER -c "import 
pyarrow.plasma"
+
     # The TensorFlow test will be skipped here, since TensorFlow is not
     # manylinux1 compatible; however, the wheels will support TensorFlow on
     # a TensorFlow compatible system

Reply via email to