Skip to content

tensor-grep: add build-tensor-grep.yml for riscv64 wheels - #1476

Merged
luhenry merged 2 commits into
mainfrom
tensor-grep
Sep 8, 2026
Merged

tensor-grep: add build-tensor-grep.yml for riscv64 wheels#1476
luhenry merged 2 commits into
mainfrom
tensor-grep

Conversation

@luhenry

@luhenry luhenry commented Sep 7, 2026

Copy link
Copy Markdown
Member

Compiles the pyo3/maturin Rust core (ast-grep-core/ripgrep-crate-based regex and AST search) behind the tg CLI. Upstream publishes no riscv64 wheel.

Mirrors upstream's ci.yml build-wheels-pypi job.

Differs from upstream

  • Builds via PyO3/maturin-action targeting riscv64gc-unknown-linux-gnu in the manylinux_2_39 image - upstream builds on bare ubuntu-latest/windows-latest/macos-latest.

Matrix: no 3.14t - the wheel is cp311-abi3 and pyo3 disables abi3 under free-threading; upstream ships no free-threaded wheel either.

Testing

  • rg-compatible search example (grep-for-pattern, case-insensitive) - upstream ships no wheel-level test suite in the sdist/checkout.
  • cryptography (a required runtime dependency) resolves from pypi.riseproject.dev; no riscv64 wheel on public PyPI.

License: OK - Apache-2.0, LICENSE/NOTICE bundled via [tool.maturin] include.

Built on cp312/cp313/cp314.

luhenry added a commit that referenced this pull request Sep 7, 2026
@luhenry
luhenry merged commit 9871ca6 into main Sep 8, 2026
9 checks passed
@luhenry
luhenry deleted the tensor-grep branch September 8, 2026 08:40
@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.

tensor-grep riscv64 support

1 participant