Repository navigation
feat(pyo3): support Python 3.9 (abi3-py39 + pyarrow env-marker split) - #155
Merged
Merged
Conversation
vikrantpuppala
had a problem deploying
to
azure-prod
June 11, 2026 06:37 — with
GitHub Actions
Error
vikrantpuppala
had a problem deploying
to
azure-prod
June 11, 2026 06:37 — with
GitHub Actions
Error
vikrantpuppala
had a problem deploying
to
azure-prod
June 11, 2026 06:37 — with
GitHub Actions
Error
vikrantpuppala
had a problem deploying
to
azure-prod
June 11, 2026 06:37 — with
GitHub Actions
Error
vikrantpuppala
had a problem deploying
to
azure-prod
June 11, 2026 06:37 — with
GitHub Actions
Error
vikrantpuppala
had a problem deploying
to
azure-prod
June 11, 2026 06:37 — with
GitHub Actions
Error
vikrantpuppala
enabled auto-merge
June 11, 2026 06:40
Lowers the PyO3 wheel floor from 3.10 to 3.9. The abi3 stable-ABI build means a single artifact covers the whole supported range, so no Rust changes were needed — only the ABI/floor pins. - Cargo.toml: abi3-py310 -> abi3-py39 (wheel tag cp39-abi3). - pyproject.toml: requires-python >=3.9, and split the pyarrow dependency by interpreter via PEP 508 env markers. pyarrow 23.x dropped 3.9 wheels, so 3.9 takes the last 3.9-capable series (>=14,<19) while 3.10+ keeps the connector-5.0.0-aligned >=23.0.1 floor (needed for cp314 wheels). Both ceilings preserve the go/pinning-python-deps major-version upper bound. - pyo3-checks.yml: add 3.9 to the CI matrix, exercising the older pyarrow path. Signed-off-by: Vikrant Puppala <vikrant.puppala@databricks.com>
vikrantpuppala
force-pushed
the
feat/python-39-support
branch
from
June 11, 2026 06:43
e8fb8a3 to
82dcce3
Compare
vikrantpuppala
temporarily deployed
to
azure-prod
June 11, 2026 06:45 — with
GitHub Actions
Inactive
vikrantpuppala
temporarily deployed
to
azure-prod
June 11, 2026 06:45 — with
GitHub Actions
Inactive
vikrantpuppala
temporarily deployed
to
azure-prod
June 11, 2026 06:45 — with
GitHub Actions
Inactive
vikrantpuppala
temporarily deployed
to
azure-prod
June 11, 2026 06:45 — with
GitHub Actions
Inactive
vikrantpuppala
temporarily deployed
to
azure-prod
June 11, 2026 06:45 — with
GitHub Actions
Inactive
vikrantpuppala
temporarily deployed
to
azure-prod
June 11, 2026 06:45 — with
GitHub Actions
Inactive
msrathore-db
approved these changes
Jun 11, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Jun 11, 2026
This branch was previously deployed
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.
What
Lowers the PyO3 wheel floor from Python 3.10 to 3.9.
The PyO3 layer is built in abi3 (stable ABI) mode, so a single wheel covers the whole supported range — dropping the floor needs no Rust changes, only the ABI/floor pins. Nothing in
pyo3/src/uses a 3.10-only API.Changes
pyo3/Cargo.toml—abi3-py310→abi3-py39(wheel tagcp39-abi3, loads on CPython 3.9+).pyo3/pyproject.toml:requires-python = ">=3.10"→">=3.9".pyarrowdependency by interpreter via PEP 508 environment markers. pyarrow 23.x dropped Python 3.9 wheels, so:pyarrow>=23.0.1,<24— aligned withdatabricks-sql-connector5.0.0 and required for cp314 (3.14) wheels.pyarrow>=14,<19. 3.9 never sees 3.14, so the cp314 concern doesn't apply.go/pinning-python-depsmajor-version upper bound..github/workflows/pyo3-checks.yml— add"3.9"to the build+test matrix, exercising the older-pyarrow resolution path.Validation
cargo build -p databricks-sql-kernel-pyo3— clean withabi3-py39.cargo clippy -p databricks-sql-kernel-pyo3 --all-targets -- -D warnings— clean.pyproject.tomlenv markers parse correctly.Note
databricks-sql-connector5.0.0 itself requires 3.10+, so a 3.9 kernel wheel only matters for a downstream consumer ofdatabricks-sql-kernelon 3.9 that isn't going through connector 5.0.0. Filing this so the option exists; happy to hold if there's no 3.9 consumer.