tree-sitter-rust: add build-tree-sitter-rust.yml for riscv64 wheels - #664
Merged
Conversation
Mirrors the reusable workflow upstream's release job calls (tree-sitter/workflows package-pypi.yml), narrowed to riscv64. setup.py overrides bdist_wheel.get_tag() to cp39-abi3, so a single wheel covers every non-free-threaded CPython; cibuildwheel builds it on cp312 and re-tests it on cp313/cp314. Upstream builds cp39-* only and publishes no free-threaded wheel. musllinux is dropped: the core extra's tree-sitter dependency publishes no musllinux riscv64 wheel, so the test phase could not resolve it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
tree-sitter-rust0.24.2Compiles the generated Rust grammar parser and its external scanner into a CPython extension. Upstream publishes no riscv64 wheel.
Mirrors upstream's
package-pypi.yml.Differs from upstream
coreextra has no musl riscv64 wheel.Matrix:
setup.pytags the wheelcp39-abi3, so one build serves every non-free-threaded CPython; built on cp312, re-tested on cp313/cp314. Upstream ships no free-threaded wheel.Testing
License: OK
Built on cp312; 1 passed.