Skip to content

chromadb: add build-chromadb.yml for riscv64 wheels - #554

Merged
luhenry merged 1 commit into
mainfrom
chromadb
Aug 28, 2026
Merged

chromadb: add build-chromadb.yml for riscv64 wheels#554
luhenry merged 1 commit into
mainfrom
chromadb

Conversation

@luhenry

@luhenry luhenry commented Aug 27, 2026

Copy link
Copy Markdown
Member

A thin Python layer over a large Rust workspace, compiled by maturin into the chromadb_rust_bindings extension. Upstream publishes no riscv64 wheel.

Mirrors upstream's _build_release_pypi.yml and the test-rust-bindings job of _python-tests.yml.

Differs from upstream

  • musllinux dropped — rustup ships no riscv64 musl toolchain.
  • protoc comes from Rocky's CRB repo rather than a release tarball.
  • Release debug info off — maturin strips it from the wheel anyway.

Matrix: one cp39-abi3 wheel, built once and tested on cp312/cp313/cp314, because pyo3 is pinned to abi3-py39 workspace-wide. Upstream ships no free-threaded wheel.

Testing

  • grpcio, numpy and pandas resolve from our registry; PyPI's newest releases have no riscv64 wheel.
  • chroma-hnswlib builds from sdist with HNSWLIB_NO_NATIVE, matching its own release workflow.
  • Lint and codegen tooling from requirements_dev.txt left out; the suite never loads it.

License: Wheel statically links the Rust crate graph and carries upstream's Apache-2.0 LICENSE plus maturin's SBOM, as upstream's wheels do.

Patches

  • 0001-test-create-an-event-loop-when-there-is-no-current-on.patch — To upstream. Three async_client tests fail on CPython 3.14, where asyncio.get_event_loop() no longer creates a loop. Reproduces off riscv64.

649 passed, 156 skipped, 1 xfailed on each of cp312, cp313 and cp314.

@luhenry
luhenry merged commit 5077715 into main Aug 28, 2026
7 checks passed
@luhenry
luhenry deleted the chromadb branch August 28, 2026 05:25
@luhenry luhenry linked an issue Aug 28, 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.

chromadb riscv64 support

1 participant