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

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


The following commit(s) were added to refs/heads/main by this push:
     new e950eb4baa GH-40377: [Python][CI] Fix install of nightly dask in 
integration tests (#40378)
e950eb4baa is described below

commit e950eb4baa73b9ab4e498e71354738c56287c48d
Author: Joris Van den Bossche <[email protected]>
AuthorDate: Thu Mar 7 13:36:53 2024 +0100

    GH-40377: [Python][CI] Fix install of nightly dask in integration tests 
(#40378)
    
    ### Rationale for this change
    
    Use a proper (non-deprecated) way of installing from git with an "extra", 
which also fixes the currently failing installation.
    
    * GitHub Issue: #40377
    
    Authored-by: Joris Van den Bossche <[email protected]>
    Signed-off-by: Joris Van den Bossche <[email protected]>
---
 ci/scripts/install_dask.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ci/scripts/install_dask.sh b/ci/scripts/install_dask.sh
index 478c1d5997..b89e43cfb3 100755
--- a/ci/scripts/install_dask.sh
+++ b/ci/scripts/install_dask.sh
@@ -27,7 +27,8 @@ fi
 dask=$1
 
 if [ "${dask}" = "upstream_devel" ]; then
-  pip install 
https://github.com/dask/dask/archive/main.tar.gz#egg=dask[dataframe]
+  pip install "dask[dataframe] @ git+https://github.com/dask/dask.git";
+  pip install -U git+https://github.com/dask-contrib/dask-expr.git
 elif [ "${dask}" = "latest" ]; then
   pip install dask[dataframe]
 else

Reply via email to