Skip to content

headroom-ai: Add version 0.37.0 - #2307

Merged
luhenry merged 1 commit into
mainfrom
headroom-ai
Sep 25, 2026
Merged

luhenry merged 1 commit into
mainfrom
headroom-ai

Conversation

@luhenry

@luhenry luhenry commented Sep 25, 2026 •

Copy link
Copy Markdown
Member

Compiles a PyO3/maturin Rust extension (headroom._core, the compression/tokenization core behind the headroom package). Upstream publishes no riscv64 wheel.

Mirrors the build-wheels job of upstream's release.yml.

Differs from upstream

  • Musllinux dropped - rustup.rs ships no riscv64 musl toolchain.

Matrix: cp310-abi3 only, built on cp310 and re-tested on cp311-cp314; no cp314t - pyo3's abi3-py310 feature is unconditional in Cargo.toml, so there is no non-abi3 build path for it, and upstream ships none either.

Testing

  • Upstream's own per-wheel gate (import the compiled extension, call hello()), not the source-tree pytest suite, which needs the proxy/ml/evals extras and a live checkout.

License: OK

Built on cp310; smoke-import passed.

Real PyO3/maturin Rust extension (headroom-py crate over headroom-core),
not a mislabeled pure-Python wheel: pyo3's abi3-py310 feature is baked
into Cargo.toml unconditionally, which is why upstream ships a single
cp310-abi3 wheel per platform. Builds cleanly on riscv64: aws-lc-sys
ships prebuilt riscv64gc bindings, rusqlite/tokenizers/tree-sitter vendor
portable C, and the optional ONNX Runtime path (fastembed/ort/magika)
loads the runtime dynamically at first use rather than linking a
prebuilt binary at build time. No free-threaded (cp314t) wheel: the
same unconditional abi3-py310 feature has no non-abi3 build path to
switch to, matching upstream's own release matrix.
@github-actions

github-actions Bot commented Sep 25, 2026 •

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

luhenry added a commit that referenced this pull request Sep 25, 2026
@luhenry
luhenry merged commit cfe52de into main Sep 25, 2026
11 of 12 checks passed
@luhenry
luhenry deleted the headroom-ai branch September 25, 2026 14:18
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