Skip to content

fix(pyo3): require PyArrow 26 on Python 3.11 and newer - #529

Open
shiminlin-db wants to merge 3 commits into
databricks:mainfrom
shiminlin-db:isaac/shiminlin-db/kernel-pyarrow-26-floor
Open

shiminlin-db wants to merge 3 commits into
databricks:mainfrom
shiminlin-db:isaac/shiminlin-db/kernel-pyarrow-26-floor

Conversation

@shiminlin-db

@shiminlin-db shiminlin-db commented Dec 2, 2026 •

Copy link
Copy Markdown
Collaborator

🥞 Stacked PR

Review the incremental changes in this PR.


Description

Require pyarrow>=26,<27 on Python 3.11 and newer to address CVE-2026-92287. PR #501 allowed PyArrow 26 but also allowed affected versions such as 23.0.1. Python 3.10 supports pyarrow>=23.0.1,<26, preserving compatibility with PyArrow 24.x and 25.x on clients such as Databricks Runtime 14.3 LTS. PyArrow 26 requires Python 3.11 or newer.

Testing

Built the kernel wheel and ran the offline PyO3 suite on Python 3.10 with PyArrow 23.0.1, 24.0.0, and 25.0.1, on Python 3.11 with 26.0.0, and on Python 3.12 with 26.0.1. All 32 tests passed on each combination. The wheel metadata tests cover accepted and rejected versions on each side of the Python 3.11 boundary. Both CI matrices exercise the 26.0.0 floor.

Additional notes

Depends on #528. Both PRs target upstream main from a contribution fork. Review the PyArrow change alone and merge #528 first.

Refs databricks/databricks-sql-python#1076.

Signed-off-by: shimin.lin <shimin.lin@databricks.com>
Signed-off-by: shimin.lin <shimin.lin@databricks.com>
Signed-off-by: shimin.lin <shimin.lin@databricks.com>
@shiminlin-db
shiminlin-db force-pushed the isaac/shiminlin-db/kernel-pyarrow-26-floor branch from 004b9f8 to f17b300 Compare December 2, 2026 23:44
@shiminlin-db
shiminlin-db marked this pull request as ready for review December 2, 2026 23:54
@shiminlin-db
shiminlin-db requested a review from a team as a code owner December 2, 2026 23:54

This branch has not been deployed

No deployments
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.

1 participant