tree-sitter-java: add build-tree-sitter-java.yml for riscv64 wheels - #846
Merged
Conversation
Mirrors the tree-sitter-cpp/tree-sitter-rust pattern: setup.py builds an unconditional abi3 extension pinned to Py_LIMITED_API 0x03090000, so the wheel is cp39-abi3, built for cp312/cp313/cp314 and tested with upstream's own bindings/python/tests via CIBW_TEST_EXTRAS/SOURCES. No patch is needed — test_binding.py already qualifies tree_sitter.Language.
luhenry
force-pushed
the
tree-sitter-java
branch
from
September 3, 2026 13:53
38a1c46 to
699f048
Compare
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-java0.23.5Compiles the Java tree-sitter grammar's parser into the
_bindingextension. Upstream publishes no riscv64 wheel.Mirrors upstream's
package-pypi.yml, same shape as the already-mergedbuild-tree-sitter-cpp.yml/build-tree-sitter-rust.yml(cp39-abi3, since setup.py builds an unconditional abi3 extension pinned toPy_LIMITED_API0x03090000).Differs from upstream
Nothing beyond the riscv64 image.
Testing
License: OK
Built on cp39 locally (macOS venv); 1 passed.