Skip to content

Commit 4e9ebd4

Browse files
committed
[SPARK-49862][INFRA][FOLLOWUP] Update dev/infra/Dockerfile too
### What changes were proposed in this pull request? This is a follow-up of the following to update `dev/infra/Dockerfile` together. - #50539 ### Why are the changes needed? The original goal of SPARK-49862 was updating both files. ### Does this PR introduce _any_ user-facing change? No behavior change because this is an infra change. ### How was this patch tested? Pass the CIs. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #52952 from dongjoon-hyun/SPARK-49862. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]> (cherry picked from commit 5c11509) Signed-off-by: Dongjoon Hyun <[email protected]>
1 parent c224a96 commit 4e9ebd4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

dev/infra/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,10 @@ RUN apt-get update && apt-get install -y \
147147
python3.13 \
148148
&& rm -rf /var/lib/apt/lists/*
149149
RUN curl -sS https://bootstrap.pypa.io/get-pip.py | python3.13
150-
# TODO(SPARK-49862) Add BASIC_PIP_PKGS and CONNECT_PIP_PKGS to Python 3.13 image when it supports Python 3.13
151150
RUN python3.13 -m pip install --ignore-installed 'blinker>=1.6.2' # mlflow needs this
152-
RUN python3.13 -m pip install 'numpy>=2.1' 'pyarrow>=18.0.0' 'six==1.16.0' 'pandas==2.3.3' scipy coverage matplotlib openpyxl 'grpcio==1.76.0' 'grpcio-status==1.76.0' lxml jinja2 && \
151+
RUN python3.13 -m pip install $BASIC_PIP_PKGS unittest-xml-reporting $CONNECT_PIP_PKGS lxml && \
152+
python3.13 -m pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu && \
153+
python3.13 -m pip install torcheval && \
153154
python3.13 -m pip cache purge
154155

155156
# Remove unused installation packages to free up disk space

0 commit comments

Comments
 (0)