tree-sitter-c: add build-tree-sitter-c.yml for riscv64 wheels - #661
Merged
Conversation
Mirrors tree-sitter's shared package-pypi.yml wheel job, narrowed to manylinux riscv64, in the same shape as build-tree-sitter-bash.yml and build-tree-sitter-javascript.yml. The generated parser sources are committed at the tag and byte-identical to the released sdist, so no code generation is needed. setup.py tags the wheel cp310-abi3, so one build covers every non-free-threaded CPython. musllinux is dropped: tree-sitter, the `core` extra the test needs, publishes no musllinux riscv64 wheel. The bundled test is patched because it calls undefined bare names; it fails identically on x86_64.
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-c0.24.2Compiles the generated C grammar parser and its CPython binding into a
cp310-abi3extension. Upstream publishes no riscv64 wheel.Mirrors upstream's shared
package-pypi.yml, in the same shape asbuild-tree-sitter-bash.ymlandbuild-tree-sitter-javascript.yml.Differs from upstream
tree-sitterships no musl riscv64 wheel.Matrix: one
cp310-abi3wheel, built on cp312 and re-tested on cp313/cp314. Upstream buildscp310-*only and publishes no free-threaded wheel.Testing
bindings/python/tests, which upstream's wheel job skipsLicense: OK
Patches
0001-tests-qualify-Parser-and-Language-with-the-tree_sitt.patch— To upstream, not yet submitted. The bundled test calls bareParser/Language, so it always fails withNameError. Reproduces on x86.Built on cp312; 1 passed.