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

raulcd pushed a commit to branch maint-23.0.0
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/maint-23.0.0 by this push:
     new 8fb7a53f0e GH-48827: [CI][Python] Add required xz dependency to 
emscripten dockerfile (#48828)
8fb7a53f0e is described below

commit 8fb7a53f0e2d0fa85ccdc6dd7ccda44dec6ee0d9
Author: Raúl Cumplido <[email protected]>
AuthorDate: Mon Jan 12 12:05:47 2026 +0100

    GH-48827: [CI][Python] Add required xz dependency to emscripten dockerfile 
(#48828)
    
    ### Rationale for this change
    
    The emscripten job has been failing on the nightlies jobs
    
    ### What changes are included in this PR?
    
    Install dependencies slightly earlier on the Dockerfile and add xz which is 
required on `install_emscripten.sh` now.
    
    ### Are these changes tested?
    
    Yes via archery.
    
    ### Are there any user-facing changes?
    
    No
    
    * GitHub Issue: #48827
    
    Authored-by: Raúl Cumplido <[email protected]>
    Signed-off-by: Raúl Cumplido <[email protected]>
---
 ci/docker/conda-python-emscripten.dockerfile | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/ci/docker/conda-python-emscripten.dockerfile 
b/ci/docker/conda-python-emscripten.dockerfile
index 47ff550cd5..878f918710 100644
--- a/ci/docker/conda-python-emscripten.dockerfile
+++ b/ci/docker/conda-python-emscripten.dockerfile
@@ -39,6 +39,11 @@ RUN python -m pip install --no-cache-dir 
selenium==${selenium_version} && \
 RUN 
pyodide_dist_url="https://github.com/pyodide/pyodide/releases/download/${pyodide_version}/pyodide-${pyodide_version}.tar.bz2";
 && \
     wget -q "${pyodide_dist_url}" -O- | tar -xj -C /
 
+# install node 20 (needed for async call support)
+# and pthread-stubs for build, and unzip needed for chrome build to work
+# xz is needed by emsdk to extract node tarballs
+RUN conda install nodejs=20 unzip pthread-stubs make xz -c conda-forge
+
 # install correct version of emscripten for this pyodide
 COPY ci/scripts/install_emscripten.sh /arrow/ci/scripts/
 RUN bash /arrow/ci/scripts/install_emscripten.sh ~ /pyodide
@@ -46,10 +51,6 @@ RUN bash /arrow/ci/scripts/install_emscripten.sh ~ /pyodide
 # make sure zlib is cached in the EMSDK folder
 RUN source ~/emsdk/emsdk_env.sh && embuilder --pic build zlib
 
-# install node 20 (needed for async call support)
-# and pthread-stubs for build, and unzip needed for chrome build to work
-RUN conda install nodejs=20  unzip pthread-stubs make -c conda-forge
-
 # install chrome for testing browser based runner
 COPY ci/scripts/install_chromedriver.sh /arrow/ci/scripts/
 RUN /arrow/ci/scripts/install_chromedriver.sh "${chrome_version}"

Reply via email to