Skip to content
Open
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
24 changes: 24 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,18 @@ jobs:
manylinux: 2_28
rustup-components: rust-std rustfmt
sccache: 'true'
# protoc is required by the substrait crate build and must be
# installed inside the manylinux container.
before-script-linux: |
PROTOC_VERSION=29.3
case "$(uname -m)" in
x86_64) PROTOC_ARCH=x86_64 ;;
aarch64) PROTOC_ARCH=aarch_64 ;;
*) echo "unsupported arch $(uname -m)"; exit 1 ;;
esac
curl -L -o /tmp/protoc.zip "https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOC_VERSION}/protoc-${PROTOC_VERSION}-linux-${PROTOC_ARCH}.zip"
unzip -o /tmp/protoc.zip -d /usr/local bin/protoc 'include/*'
protoc --version
# 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
Expand All @@ -115,6 +127,18 @@ jobs:
manylinux: 2_28
rustup-components: rust-std rustfmt
sccache: 'true'
# protoc is required by the substrait crate build and must be
# installed inside the manylinux container.
before-script-linux: |
PROTOC_VERSION=29.3
case "$(uname -m)" in
x86_64) PROTOC_ARCH=x86_64 ;;
aarch64) PROTOC_ARCH=aarch_64 ;;
*) echo "unsupported arch $(uname -m)"; exit 1 ;;
esac
curl -L -o /tmp/protoc.zip "https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOC_VERSION}/protoc-${PROTOC_VERSION}-linux-${PROTOC_ARCH}.zip"
unzip -o /tmp/protoc.zip -d /usr/local bin/protoc 'include/*'
protoc --version
# 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
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ async-stream = "0.3"
async-trait = "0.1"
datafusion = { version = "54.0.0" }
datafusion-ffi = { version = "54.0.0" }
sqlparser = { version = "0.59", features = ["visitor"] }
futures = { version = "0.3" }
# `abi3-py310` builds against CPython's stable ABI, so a single wheel per
# platform works on all CPython >= 3.10 (matching `requires-python`). This
Expand Down
Loading
Loading