Skip to content

fix: adapt python runtime for pyo3 0.28 - #2

Merged
sundy-li merged 8 commits into
datafuse-extras:mainfrom
SkyFan2002:skyfan/arrow58-arrow-udf
May 15, 2026
Merged

fix: adapt python runtime for pyo3 0.28#2
sundy-li merged 8 commits into
datafuse-extras:mainfrom
SkyFan2002:skyfan/arrow58-arrow-udf

Conversation

@SkyFan2002

Copy link
Copy Markdown

Summary

This updates the Python runtime path needed by Databend's Arrow 58 upgrade.

  • bump Arrow runtime dependencies used by Databend
  • adapt the Python runtime to pyo3 0.28
  • restore safe_codes on the Python builder

Notes

The diff is intentionally limited to the Arrow 58 / pyo3 0.28 compatibility path used by Databend.

Validation

  • cargo check -p arrow-udf-runtime --no-default-features --features python

Update the runtime for the newer tonic and pyo3 APIs,
clean up a clippy warning in the JavaScript runtime, and
adjust the macro-generated Date32 conversion for the Arrow 58
deprecation path.
The duckdb sqllogictest package no longer exposes the old
python -m entrypoint used by extension-ci-tools.

Add a small local wrapper, install pytest for the new runner,
and translate the old external-extension invocation into the
current build-dir based interface.
@sundy-li
sundy-li merged commit c1de708 into datafuse-extras:main May 15, 2026
8 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