apache-beam: add build-apache-beam.yml for riscv64 wheels - #1726
Open
luhenry wants to merge 1 commit into
Open
Conversation
Builds the sdist from an apache/beam checkout on x86_64 (mirrors upstream's build_wheels.yml build_source job), then the riscv64 bdist from that sdist via cibuildwheel. Small Cython surface (~17 .so modules under coders/metrics/runners/transforms/utils), no external native dependency. build-system.requires pins grpcio-tools==1.62.1/1.71.0, which has no riscv64 wheel; it's unused here since the sdist ships pre-generated portability/api pb2 stubs with no .proto sources, so gen_protos.py never imports grpc_tools. Builds with --no-build-isolation instead of patching the pin.
luhenry
added a commit
that referenced
this pull request
Sep 10, 2026
An apache-beam entry already existed (repo pointing at the homepage, not the GitHub repo); merged it into the detailed entry added earlier this session instead of leaving two rows for the same package.
luhenry
added a commit
that referenced
this pull request
Sep 10, 2026
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.
apache-beam2.75.0Compiles ~17 small Cython extension modules under coders/metrics/runners/transforms/utils. Upstream publishes no riscv64 wheel.
Mirrors upstream's
build_wheels.yml.Differs from upstream
Matrix: cp312/cp313/cp314 (cp314t dropped: upstream's own matrix never builds a free-threaded wheel)
Testing
License: OK
Local --no-build-isolation build (macOS) produced a real wheel with 17 .so extensions.