Skip to content

pydantic-monty-runtime: add build-pydantic-monty-runtime.yml for riscv64 wheels - #1620

Open
luhenry wants to merge 1 commit into
mainfrom
pydantic-monty-runtime
Open

pydantic-monty-runtime: add build-pydantic-monty-runtime.yml for riscv64 wheels#1620
luhenry wants to merge 1 commit into
mainfrom
pydantic-monty-runtime

Conversation

@luhenry

@luhenry luhenry commented Sep 8, 2026

Copy link
Copy Markdown
Member

Compiles a maturin bindings = "bin" wheel wrapping the monty CLI binary, the sandboxed Python interpreter's REPL/file-runner/subprocess-worker entry point. Upstream publishes no riscv64 wheel.

Mirrors the build job of upstream's own ci.yml.

Differs from upstream

  • Builds once with no -i interpreter list, unlike upstream's -i 3.10 3.11 3.12 3.13 3.14 - the binary has no ABI dependency, so this yields one interpreter-agnostic wheel instead of five near-duplicates.
  • Copies the workspace-root LICENSE beside the crate's pyproject.toml before building; upstream's own published wheel ships without it.
  • Targets riscv64gc-unknown-linux-gnu with manylinux: '2_39', not one of upstream's own architectures (which build on manylinux_2_28).

Testing

  • No wheel-level test suite ships in the sdist; drives the real binary against fixtures mirroring upstream's own tests/mounts.rs (script execution, a read-write mount round trip, an unmounted-path PermissionError).

License: OK - MIT, nothing third-party vendored.

@luhenry
luhenry force-pushed the pydantic-monty-runtime branch from 2ac6959 to 0399ca1 Compare September 8, 2026 16:39
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