[python] Support newer PyArrow versions - #9821
Draft
XiaoHongbo-Hope wants to merge 11 commits into
Draft
Conversation
XiaoHongbo-Hope
marked this pull request as draft
September 14, 2026 11:51
XiaoHongbo-Hope
force-pushed
the
codex/pyarrow22-oss
branch
from
September 14, 2026 12:19
a8e0f85 to
04df066
Compare
XiaoHongbo-Hope
force-pushed
the
codex/pyarrow22-oss
branch
from
September 14, 2026 12:21
04df066 to
a06b25c
Compare
This reverts commit 92c38c6.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Pypaimon currently declares
pyarrow<20, which prevents it from sharing an environment with libraries that require newer PyArrow releases. This change widens the supported range topyarrow<24while retaining the19.0.0exclusion. The recommended range for new environments remainspyarrow>=16,!=19.0.0,<20. Regular Python 3.12 and 3.13 CI pins PyArrow 23.0.0 after installing Vortex, and a focused compatibility job covers the affected filesystem paths.PyArrow 22 and 23 use a newer AWS SDK whose default checksum requests and batch-delete behavior are incompatible with some S3-compatible services. The compatibility path requests checksums only when required and falls back to bounded concurrent object deletion when the SDK rejects multi-object deletion. Directory creation remains delegated to PyArrow.
PyArrow 24 and 25 remain excluded because ARROW-50188 can deadlock processes that retain an
S3FileSystemduring interpreter shutdown. Its proposed fix, ARROW-50193, has not been merged.Tests
4861 passed, 122 skipped; Java-Python interoperability passed4860 passed, 123 skipped; Java-Python interoperability passed50 passedper version inoss_legacy_mode_test.pyandfile_io_test.py