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 2019/06/26 19:09:15 UTC

[arrow] branch master updated: ARROW-5739: [CI] Fix python docker image

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 4b3fbf3  ARROW-5739: [CI] Fix python docker image
4b3fbf3 is described below

commit 4b3fbf3c274407d014da5759975029626ec8960d
Author: François Saint-Jacques <fs...@gmail.com>
AuthorDate: Wed Jun 26 14:09:07 2019 -0500

    ARROW-5739: [CI] Fix python docker image
    
    python docker image will fail to clean the build directory, installing a previous invocation of `docker-compose run python`. This is not affecting CI that drops the `/build` mount, but only local users.
    
    Author: François Saint-Jacques <fs...@gmail.com>
    
    Closes #4706 from fsaintjacques/ARROW-5739-docker-python-build and squashes the following commits:
    
    421df4c89 <François Saint-Jacques> ARROW-5739:  Fix python docker image
---
 ci/docker_build_python.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ci/docker_build_python.sh b/ci/docker_build_python.sh
index 36b31b9..98be2b4 100755
--- a/ci/docker_build_python.sh
+++ b/ci/docker_build_python.sh
@@ -35,6 +35,7 @@ export PYARROW_WITH_PLASMA=${PYARROW_WITH_PLASMA:-1}
 pushd ${source_dir}
   # hacky again, setuptools_scm writes _generated_version.py before pyarrow
   # directory is created by setuptools
+  rm -rf ${build_dir}
   mkdir -p $build_dir/pyarrow
 
   relative_build_dir=$(realpath --relative-to=. $build_dir)