Skip to content

jsonschema-rs: add build-jsonschema-rs.yml for riscv64 wheels - #919

Merged
luhenry merged 1 commit into
mainfrom
jsonschema-rs
Sep 4, 2026
Merged

jsonschema-rs: add build-jsonschema-rs.yml for riscv64 wheels#919
luhenry merged 1 commit into
mainfrom
jsonschema-rs

Conversation

@luhenry

@luhenry luhenry commented Sep 4, 2026

Copy link
Copy Markdown
Member

Compiles jsonschema-py, the PyO3 bindings crate in the jsonschema monorepo — a Rust-backed JSON Schema validator for Python. Upstream publishes no riscv64 wheel.

Mirrors the linux job of upstream's python-release.yml.

Differs from upstream

  • musllinux dropped - rustup ships no riscv64 musl toolchain.
  • Rust toolchain installed in-container rather than on the runner.
  • LICENSE staged beside crates/jsonschema-py/pyproject.toml so it reaches the wheel.

Matrix: cp310-abi3 (pyo3 abi3-py310 is unconditional, built on cp310 and re-tested on cp311-cp314) plus cp314t; cp313t is absent from the riscv64 image.

Testing

  • test_http_fetch_external_schema deselected - needs a live json-schema.org endpoint.
  • JSON-Schema-Test-Suite submodule and the module's README staged alongside tests-py so the suite runs unmodified.

License: MIT; upstream ships no licence text in the wheel (maturin's glob is relative to the pyproject directory), so the build adds it.

Built on cp310-abi3 and cp314t; ~9445 passed, 1 deselected, 1 xfailed.

@luhenry
luhenry merged commit 998c6bc into main Sep 4, 2026
7 checks passed
@luhenry
luhenry deleted the jsonschema-rs branch September 4, 2026 11:23
@luhenry luhenry linked an issue Sep 4, 2026 that may be closed by this pull request
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.

jsonschema-rs riscv64 support

1 participant