Skip to content

restate-sdk: Add version 1.0.4 - #2436

Merged
luhenry merged 2 commits into
mainfrom
restate-sdk
Sep 28, 2026
Merged

luhenry merged 2 commits into
mainfrom
restate-sdk

Conversation

@luhenry

@luhenry luhenry commented Sep 28, 2026 •

Copy link
Copy Markdown
Member

Compiles the restate/_internal PyO3/maturin extension (pure Rust: RustCrypto crates, jsonwebtoken, prost, pyo3 - no ring/openssl-sys/vendored C). cargo check --target riscv64gc-unknown-linux-gnu --locked compiles cleanly across all 119 crates in the dependency tree. Upstream publishes no riscv64 wheel.

Mirrors upstream's release.yml linux job.

Differs from upstream

  • PyPy (pp310/pp311, also published upstream) dropped - PyPy has no riscv64 port.
  • musllinux dropped - rustup ships no riscv64 musl toolchain.

Matrix: cp310-cp314 + cp314t; no abi3 collapse since pyo3's Cargo.toml feature set carries no abi3-pyNN feature, so every interpreter needs its own build (matches upstream's own --find-interpreter behavior).

Testing

  • Runs the docker-independent subset of upstream's just test (tests/disconnect_hotloop.py, tests/serde.py, tests/server.py); the three files that call restate.create_test_harness are dropped because that harness always starts a docker.io/restatedev/restate container, and that image's manifest list (ghcr.io/restatedev/restate) carries only linux/amd64 and linux/arm64.

License: OK (MIT)

Built on cp312; 9 passed, 0 skipped.

pyo3 dependency has a plain extension-module feature (no abi3), so every
CPython interpreter needs its own build (cp310-cp314, cp314t); PyPy
(pp310/pp311, also published upstream) is dropped since it has no riscv64
port. Dependency tree is pure Rust (RustCrypto crates + jsonwebtoken +
prost + pyo3, no ring/openssl-sys/vendored C), confirmed to cross-compile
cleanly with `cargo check --target riscv64gc-unknown-linux-gnu`.

Test step mirrors upstream's `just test` (pytest tests/*) minus the three
files that call restate.create_test_harness, which always starts a
docker.io/restatedev/restate container: that image's manifest list only
carries linux/amd64 and linux/arm64, so it cannot run on riscv64 regardless
of Docker availability on the runner.
luhenry added a commit that referenced this pull request Sep 28, 2026
@github-actions

github-actions Bot commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-09-28 14:28 UTC

@luhenry
luhenry marked this pull request as ready for review September 28, 2026 12:47
@luhenry
luhenry merged commit 21574a4 into main Sep 28, 2026
19 of 20 checks passed
@luhenry
luhenry deleted the restate-sdk branch September 28, 2026 14:21
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.

1 participant