Skip to content

[SPARK-56246][INFRA][4.0] Pin pandas to version 2.2.3 in docs Docker image#55054

Closed
Yicong-Huang wants to merge 1 commit intoapache:branch-4.0from
Yicong-Huang:SPARK-56246
Closed

[SPARK-56246][INFRA][4.0] Pin pandas to version 2.2.3 in docs Docker image#55054
Yicong-Huang wants to merge 1 commit intoapache:branch-4.0from
Yicong-Huang:SPARK-56246

Conversation

@Yicong-Huang
Copy link
Copy Markdown
Contributor

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

@Yicong-Huang Yicong-Huang changed the title [SPARK-56246][INFRA][DOCS] Pin pandas version in docs Docker image [SPARK-56246][INFRA] Pin pandas version in docs Docker image Mar 27, 2026
@Yicong-Huang Yicong-Huang changed the title [SPARK-56246][INFRA] Pin pandas version in docs Docker image [SPARK-56246][INFRA] Pin pandas to version 2.2.3 in docs Docker image Mar 27, 2026
@HyukjinKwon HyukjinKwon changed the title [SPARK-56246][INFRA] Pin pandas to version 2.2.3 in docs Docker image [SPARK-56246][INFRA][4.0] Pin pandas to version 2.2.3 in docs Docker image Mar 27, 2026
@HyukjinKwon
Copy link
Copy Markdown
Member

Merged to branch-4.0.

HyukjinKwon pushed a commit that referenced this pull request Mar 27, 2026
…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 <17627829+Yicong-Huang@users.noreply.github.com>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants