Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,9 @@ jobs:
manylinux: 2_28
rustup-components: rust-std rustfmt
sccache: 'true'
args: --release --strip --out dist -i python3.10 python3.11 python3.12 python3.13
# abi3 (see Cargo.toml) produces one wheel for all CPython >= 3.10,
# so a single interpreter is enough to build it.
args: --release --strip --out dist -i python3.10

- uses: actions/upload-artifact@v6
with:
Expand All @@ -113,7 +115,9 @@ jobs:
manylinux: 2_28
rustup-components: rust-std rustfmt
sccache: 'true'
args: --release --strip --out dist -i python3.10 python3.11 python3.12 python3.13
# abi3 (see Cargo.toml) produces one wheel for all CPython >= 3.10,
# so a single interpreter is enough to build it.
args: --release --strip --out dist -i python3.10

- uses: actions/upload-artifact@v6
with:
Expand Down Expand Up @@ -191,6 +195,10 @@ jobs:
upload-to-pypi:
needs: verify-built-dist
runs-on: ubuntu-latest
# Only publish for real releases. `workflow_dispatch` runs build and
# verify the wheels (uploaded as artifacts) without pushing to PyPI, so
# the workflow can be exercised manually without cutting a release.
if: github.event_name == 'release'
steps:
- uses: actions/download-artifact@v6
with:
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ async-trait = "0.1"
datafusion = { version = "52.0.0" }
datafusion-ffi = { version = "52.0.0" }
futures = { version = "0.3" }
pyo3 = { version = "0.26.0", features = ["extension-module"] }
# `abi3-py310` builds against CPython's stable ABI, so a single wheel per
# platform works on all CPython >= 3.10 (matching `requires-python`). This
# lets the release workflow ship pre-built wheels for every interpreter
# without compiling per-version, avoiding local rebuilds on install.
pyo3 = { version = "0.26.0", features = ["extension-module", "abi3-py310"] }
tokio = { version = "1.46.1", features = ["rt"] }


Expand Down
Loading