Skip to content

tree-sitter-java: add build-tree-sitter-java.yml for riscv64 wheels - #846

Merged
luhenry merged 1 commit into
mainfrom
tree-sitter-java
Sep 3, 2026
Merged

tree-sitter-java: add build-tree-sitter-java.yml for riscv64 wheels#846
luhenry merged 1 commit into
mainfrom
tree-sitter-java

Conversation

@luhenry

@luhenry luhenry commented Sep 3, 2026

Copy link
Copy Markdown
Member

Compiles the Java tree-sitter grammar's parser into the _binding extension. Upstream publishes no riscv64 wheel.

Mirrors upstream's package-pypi.yml, same shape as the already-merged build-tree-sitter-cpp.yml / build-tree-sitter-rust.yml (cp39-abi3, since setup.py builds an unconditional abi3 extension pinned to Py_LIMITED_API 0x03090000).

Differs from upstream
Nothing beyond the riscv64 image.

Testing

  • same as upstream

License: OK

Built on cp39 locally (macOS venv); 1 passed.

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
luhenry merged commit 3bab767 into main Sep 3, 2026
6 checks passed
@luhenry
luhenry deleted the tree-sitter-java branch September 3, 2026 14:05
@luhenry luhenry linked an issue Sep 3, 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.

tree-sitter-java riscv64 support

1 participant