Skip to content

Commit 8fb7a53

Browse files
committed
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 <raulcumplido@gmail.com> Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
1 parent 342c5d5 commit 8fb7a53

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

ci/docker/conda-python-emscripten.dockerfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,18 @@ RUN python -m pip install --no-cache-dir selenium==${selenium_version} && \
3939
RUN pyodide_dist_url="https://github.com/pyodide/pyodide/releases/download/${pyodide_version}/pyodide-${pyodide_version}.tar.bz2" && \
4040
wget -q "${pyodide_dist_url}" -O- | tar -xj -C /
4141

42+
# install node 20 (needed for async call support)
43+
# and pthread-stubs for build, and unzip needed for chrome build to work
44+
# xz is needed by emsdk to extract node tarballs
45+
RUN conda install nodejs=20 unzip pthread-stubs make xz -c conda-forge
46+
4247
# install correct version of emscripten for this pyodide
4348
COPY ci/scripts/install_emscripten.sh /arrow/ci/scripts/
4449
RUN bash /arrow/ci/scripts/install_emscripten.sh ~ /pyodide
4550

4651
# make sure zlib is cached in the EMSDK folder
4752
RUN source ~/emsdk/emsdk_env.sh && embuilder --pic build zlib
4853

49-
# install node 20 (needed for async call support)
50-
# and pthread-stubs for build, and unzip needed for chrome build to work
51-
RUN conda install nodejs=20 unzip pthread-stubs make -c conda-forge
52-
5354
# install chrome for testing browser based runner
5455
COPY ci/scripts/install_chromedriver.sh /arrow/ci/scripts/
5556
RUN /arrow/ci/scripts/install_chromedriver.sh "${chrome_version}"

0 commit comments

Comments
 (0)