Skip to content

Conversation

@zhengruifeng
Copy link
Contributor

@zhengruifeng zhengruifeng commented Dec 26, 2025

What changes were proposed in this pull request?

Upgrade the minimum version of pyarrow to 18.0.0

Why are the changes needed?

1, pyarrow 18.0.0 was released at Oct 28, 2024;
2, there is a security issue PYSEC-2024-161 in pyarrow, the affected versions are 4.0.0 ~ 16.1.0, and it is recommended to upgrade to 17+;
3, since 18.0.0, pyarrow no longer depends on numpy, which will make the dependencies simpler to resolve;

Does this PR introduce any user-facing change?

no

How was this patch tested?

PR builder with

default: '{"PYSPARK_IMAGE_TO_TEST": "python-minimum", "PYTHON_TO_TEST": "python3.10"}'

https://github.com/zhengruifeng/spark/runs/59127283398

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

no

@zhengruifeng zhengruifeng changed the title [SPARK-54849][PYTHON] Upgrade the minimum version of pyarrow to 18.0.0 [WIP][SPARK-54849][PYTHON] Upgrade the minimum version of pyarrow to 18.0.0 Dec 26, 2025
@zhengruifeng zhengruifeng force-pushed the upgrade_arrow_18 branch 2 times, most recently from 2516009 to c5ac86e Compare December 29, 2025 13:00
@github-actions
Copy link

JIRA Issue Information

=== Improvement SPARK-54849 ===
Summary: Upgrade the minimum version of pyarrow to 18.0.0
Assignee: None
Status: Open
Affected: ["4.2.0"]


This comment was automatically generated by GitHub Actions

@zhengruifeng zhengruifeng changed the title [WIP][SPARK-54849][PYTHON] Upgrade the minimum version of pyarrow to 18.0.0 [SPARK-54849][PYTHON] Upgrade the minimum version of pyarrow to 18.0.0 Dec 30, 2025
@zhengruifeng zhengruifeng marked this pull request as ready for review December 30, 2025 06:24
@github-actions github-actions bot removed the INFRA label Dec 30, 2025
@zhengruifeng
Copy link
Contributor Author

merged to master

zhengruifeng added a commit that referenced this pull request Dec 31, 2025
…um_pyarrow_version`

### What changes were proposed in this pull request?
Update the version in `require_minimum_pyarrow_version`

### Why are the changes needed?
this place was missing in #53619

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

### How was this patch tested?
ci

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

Closes #53645 from zhengruifeng/require_minimum_pyarrow_version.

Authored-by: Ruifeng Zheng <[email protected]>
Signed-off-by: Ruifeng Zheng <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants