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

dongjoon pushed a commit to branch branch-3.4
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-3.4 by this push:
     new d25f49a14733 [SPARK-47472][INFRA][3.4] Pin `numpy` to 1.23.5 in 
`dev/infra/Dockerfile`
d25f49a14733 is described below

commit d25f49a14733c5a0e872498cab40a30a5ebc28b4
Author: Dongjoon Hyun <dh...@apple.com>
AuthorDate: Tue Mar 19 20:53:45 2024 -0700

    [SPARK-47472][INFRA][3.4] Pin `numpy` to 1.23.5 in `dev/infra/Dockerfile`
    
    ### What changes were proposed in this pull request?
    
    This PR aims to pin `numpy` to 1.23.5 in `dev/infra/Dockerfile` to recover 
the following test failure.
    
    ### Why are the changes needed?
    
    `numpy==1.23.5` was the version of the last successful run.
    - https://github.com/apache/spark/actions/runs/8276453417/job/22725387782
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    Pass the CIs.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    Closes #45595 from dongjoon-hyun/pin-numpy.
    
    Authored-by: Dongjoon Hyun <dh...@apple.com>
    Signed-off-by: Dongjoon Hyun <dh...@apple.com>
---
 dev/infra/Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev/infra/Dockerfile b/dev/infra/Dockerfile
index 93d8793826ff..68d27052437b 100644
--- a/dev/infra/Dockerfile
+++ b/dev/infra/Dockerfile
@@ -65,7 +65,7 @@ RUN Rscript -e "devtools::install_version('roxygen2', 
version='7.2.0', repos='ht
 ENV R_LIBS_SITE 
"/usr/local/lib/R/site-library:${R_LIBS_SITE}:/usr/lib/R/library"
 
 RUN pypy3 -m pip install numpy 'pandas<=1.5.3' scipy coverage matplotlib
-RUN python3.9 -m pip install numpy 'pyarrow==12.0.1' 'pandas<=1.5.3' scipy 
unittest-xml-reporting plotly>=4.8 scikit-learn 'mlflow>=1.0' coverage 
matplotlib openpyxl 'memory-profiler==0.60.0' 'scikit-learn==1.1.*'
+RUN python3.9 -m pip install 'numpy==1.23.5' 'pyarrow==12.0.1' 'pandas<=1.5.3' 
scipy unittest-xml-reporting plotly>=4.8 scikit-learn 'mlflow>=1.0' coverage 
matplotlib openpyxl 'memory-profiler==0.60.0' 'scikit-learn==1.1.*'
 
 # Add Python deps for Spark Connect.
 RUN python3.9 -m pip install grpcio protobuf googleapis-common-protos 
grpcio-status


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to