Skip to content

Commit 7a8bad7

Browse files
gaogaotiantianzhengruifeng
authored andcommitted
[SPARK-55319][PYTHON][INFRA] Add libjpeg-dev to pypy dockerfile
### What changes were proposed in this pull request? `libjpeg` is removed from pypy image in 3b2ab27 . However that lib is required for pypy to build `pillow` from source. Add this back to make the image build again. ### Why are the changes needed? pypy builds are failing. https://github.com/apache/spark/actions/runs/21595874748/job/62228181146 ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Scheduled CI should pass. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #54101 from gaogaotiantian/fix-pypy-build. Authored-by: Tian Gao <gaogaotiantian@hotmail.com> Signed-off-by: Ruifeng Zheng <ruifengz@apache.org>
1 parent 8ffd150 commit 7a8bad7

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

dev/spark-test-image/pypy-310/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ LABEL org.opencontainers.image.ref.name="Apache Spark Infra Image For PySpark wi
2424
# Overwrite this label to avoid exposing the underlying Ubuntu OS version label
2525
LABEL org.opencontainers.image.version=""
2626

27-
ENV FULL_REFRESH_DATE=20260127
27+
ENV FULL_REFRESH_DATE=20260202
2828

2929
ENV DEBIAN_FRONTEND=noninteractive
3030
ENV DEBCONF_NONINTERACTIVE_SEEN=true
@@ -37,6 +37,7 @@ RUN apt-get update && apt-get install -y \
3737
git \
3838
gnupg \
3939
libgit2-dev \
40+
libjpeg-dev \
4041
liblapack-dev \
4142
libopenblas-dev \
4243
libssl-dev \

dev/spark-test-image/pypy-311/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ LABEL org.opencontainers.image.ref.name="Apache Spark Infra Image For PySpark wi
2424
# Overwrite this label to avoid exposing the underlying Ubuntu OS version label
2525
LABEL org.opencontainers.image.version=""
2626

27-
ENV FULL_REFRESH_DATE=20260127
27+
ENV FULL_REFRESH_DATE=20260202
2828

2929
ENV DEBIAN_FRONTEND=noninteractive
3030
ENV DEBCONF_NONINTERACTIVE_SEEN=true
@@ -37,6 +37,7 @@ RUN apt-get update && apt-get install -y \
3737
git \
3838
gnupg \
3939
libgit2-dev \
40+
libjpeg-dev \
4041
liblapack-dev \
4142
libopenblas-dev \
4243
libssl-dev \

0 commit comments

Comments
 (0)