Skip to content

rjieba: add build-rjieba.yml for riscv64 wheels - #1445

Merged
luhenry merged 2 commits into
mainfrom
rjieba
Sep 8, 2026
Merged

rjieba: add build-rjieba.yml for riscv64 wheels#1445
luhenry merged 2 commits into
mainfrom
rjieba

Conversation

@luhenry

@luhenry luhenry commented Sep 7, 2026

Copy link
Copy Markdown
Member

Compiles a PyO3/maturin binding over the jieba-rs Chinese word segmentation crate. Upstream publishes no riscv64 wheel.

Mirrors upstream's CI.yml linux job.

Differs from upstream

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

Testing

  • same as upstream

License: OK

Rust/PyO3-maturin binding for jieba-rs Chinese word segmentation.
pyo3's abi3-py38 feature yields one wheel across cp312-cp314; cp314t
builds separately since abi3 has no free-threaded ABI, matching
upstream's own CI.yml (maturin -i python3.14t pass).
luhenry added a commit that referenced this pull request Sep 7, 2026
CI showed the built wheel carries no LICENSE at all: pyproject.toml
has no [project] table, so maturin's license-file auto-discovery
never runs. Add patches/rjieba/0.2.1/0001-*.patch declaring a minimal
[project] table (Cargo-sourced fields left dynamic) plus an explicit
license-files glob, and apply it before the build.
@luhenry
luhenry merged commit 45fefb5 into main Sep 8, 2026
7 checks passed
@luhenry
luhenry deleted the rjieba branch September 8, 2026 08:35
@luhenry luhenry linked an issue Sep 8, 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.

rjieba riscv64 support

1 participant