You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by gu...@apache.org on 2026/03/27 09:12:36 UTC
(spark) branch branch-4.0 updated: [SPARK-56246][INFRA][4.0] Pin pandas to version 2.2.3 in docs Docker image
This is an automated email from the ASF dual-hosted git repository.
gurwls223 pushed a commit to branch branch-4.0
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/branch-4.0 by this push:
new c2a04cd4c7d2 [SPARK-56246][INFRA][4.0] Pin pandas to version 2.2.3 in docs Docker image
c2a04cd4c7d2 is described below
commit c2a04cd4c7d29d165e8771466b15789b694a3a73
Author: Yicong Huang <17...@users.noreply.github.com>
AuthorDate: Fri Mar 27 18:12:18 2026 +0900
[SPARK-56246][INFRA][4.0] Pin pandas to version 2.2.3 in docs Docker image
### What changes were proposed in this pull request?
Pin `pandas==2.2.3` in the docs Docker image (`dev/spark-test-image/docs/Dockerfile`).
### Why are the changes needed?
The docs Docker image installs pandas without a version pin. When pandas 2.3.3 was released, the documentation build started failing because `supported_api_gen.py` requires an exact match with pandas 2.2.3:
```
ImportError: Warning: pandas 2.2.3 is required; your version is 2.3.3
```
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
CI should pass with the pinned version.
### Was this patch authored or co-authored using generative AI tooling?
No
Closes #55054 from Yicong-Huang/SPARK-56246.
Authored-by: Yicong Huang <17...@users.noreply.github.com>
Signed-off-by: Hyukjin Kwon <gu...@apache.org>
---
dev/spark-test-image/docs/Dockerfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev/spark-test-image/docs/Dockerfile b/dev/spark-test-image/docs/Dockerfile
index 168a00d1bdd3..3c29e8216b63 100644
--- a/dev/spark-test-image/docs/Dockerfile
+++ b/dev/spark-test-image/docs/Dockerfile
@@ -85,7 +85,7 @@ RUN curl -sS https://bootstrap.pypa.io/get-pip.py | python3.9
# See 'ipython_genutils' in SPARK-38517
# See 'docutils<0.18.0' in SPARK-39421
RUN python3.9 -m pip install 'sphinx==4.5.0' mkdocs 'pydata_sphinx_theme>=0.13' sphinx-copybutton nbsphinx numpydoc jinja2 markupsafe 'pyzmq<24.0.0' \
- ipython ipython_genutils sphinx_plotly_directive 'numpy>=1.20.0' pyarrow pandas 'plotly>=4.8' 'docutils<0.18.0' \
+ ipython ipython_genutils sphinx_plotly_directive 'numpy>=1.20.0' pyarrow 'pandas==2.2.3' 'plotly>=4.8' 'docutils<0.18.0' \
'flake8==3.9.0' 'mypy==1.8.0' 'pytest==7.1.3' 'pytest-mypy-plugins==1.9.3' 'black==23.12.1' \
'pandas-stubs==1.2.0.53' 'grpcio==1.67.0' 'grpcio-status==1.67.0' 'protobuf==5.29.1' 'grpc-stubs==1.24.11' 'googleapis-common-protos-stubs==2.2.0' \
'sphinxcontrib-applehelp==1.0.4' 'sphinxcontrib-devhelp==1.0.2' 'sphinxcontrib-htmlhelp==2.0.1' 'sphinxcontrib-qthelp==1.0.3' 'sphinxcontrib-serializinghtml==1.1.5' \
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org