Skip to content

Commit

Permalink
[SPARK-50197][PYTHON][INFRA] Install Jinja2 for Python 3.13 build
Browse files Browse the repository at this point in the history
### What changes were proposed in this pull request?

This PR proposes to install Jinja2 for Python 3.13 build

### Why are the changes needed?

To fix up the build https://github.com/apache/spark/actions/runs/11619004508/job/32357760219

### Does this PR introduce _any_ user-facing change?

No, dev-only.

### How was this patch tested?

Will monitor the build.

### Was this patch authored or co-authored using generative AI tooling?

No.

Closes #48731 from HyukjinKwon/python-3.13-build.

Lead-authored-by: Hyukjin Kwon <[email protected]>
Co-authored-by: Hyukjin Kwon <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>
  • Loading branch information
HyukjinKwon and HyukjinKwon committed Nov 1, 2024
1 parent f67ae59 commit b526924
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/infra/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ RUN apt-get update && apt-get install -y \
RUN curl -sS https://bootstrap.pypa.io/get-pip.py | python3.13
# TODO(SPARK-49862) Add BASIC_PIP_PKGS and CONNECT_PIP_PKGS to Python 3.13 image when it supports Python 3.13
RUN python3.13 -m pip install --ignore-installed blinker>=1.6.2 # mlflow needs this
RUN python3.13 -m pip install numpy>=2.1 pyarrow>=18.0.0 six==1.16.0 pandas==2.2.3 scipy coverage matplotlib openpyxl grpcio==1.67.0 grpcio-status==1.67.0 lxml && \
RUN python3.13 -m pip install numpy>=2.1 pyarrow>=18.0.0 six==1.16.0 pandas==2.2.3 scipy coverage matplotlib openpyxl grpcio==1.67.0 grpcio-status==1.67.0 lxml jinja2 && \
python3.13 -m pip cache purge

# Remove unused installation packages to free up disk space
Expand Down

0 comments on commit b526924

Please sign in to comment.