Skip to content

build(python): raise the minimum Python version to 3.10 - #1539

Merged
paleolimbot merged 4 commits into
apache:mainfrom
paleolimbot:codex/fix-raster-inline-export
Oct 30, 2026
Merged

paleolimbot merged 4 commits into
apache:mainfrom
paleolimbot:codex/fix-raster-inline-export

Conversation

@paleolimbot

@paleolimbot paleolimbot commented Oct 29, 2026 •

Copy link
Copy Markdown
Member

Raise the minimum Python version to 3.10 and build core wheels with cp310-abi3. Run Zarr wheel tests on Python 3.10 so they can install the current core wheel.

PyArrow remains optional. Test dependencies require PyArrow >=25.0.0 to avoid crashes when exporting inline binary views. Add inline-boundary and zero-copy raster regression tests.

Validated 3,707 Python tests using the CI wheel with updated Python sources on Python 3.10/PyArrow 25.0.0 (2,664 optional skips), generated metadata with no unconditional dependencies, a locked extension compile check, and all pre-commit hooks.

import numpy as np
import pyarrow as pa
from sedonadb.raster import Raster

raster = Raster.from_numpy(np.arange(6, dtype=np.uint8).reshape(2, 3))
exported = pa.array(raster)
exported.validate(full=True)
print(Raster(exported).to_numpy()[0].tolist())
# [[0, 1, 2], [3, 4, 5]]

@paleolimbot paleolimbot changed the title fix(python): require PyArrow 25 for raster buffer construction build(python): require Python 3.10 and PyArrow 25 Oct 30, 2026
@paleolimbot paleolimbot changed the title build(python): require Python 3.10 and PyArrow 25 build(python): raise the minimum Python version to 3.10 Oct 30, 2026
@paleolimbot
paleolimbot marked this pull request as ready for review October 30, 2026 04:08

@jiayuasu jiayuasu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@paleolimbot
paleolimbot merged commit ab232bc into apache:main Oct 30, 2026
21 checks passed
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