Skip to content

cel-expr-python: add build-cel-expr-python.yml for riscv64 wheels - #2353

Merged
luhenry merged 2 commits into
mainfrom
cel-expr-python
Sep 26, 2026
Merged

luhenry merged 2 commits into
mainfrom
cel-expr-python

Conversation

@luhenry

@luhenry luhenry commented Sep 26, 2026 •

Copy link
Copy Markdown
Member

Seven pybind11 extensions over cel-cpp, protobuf and abseil, built with Bazel. Upstream publishes no riscv64 wheel.

Mirrors upstream's release_linux.sh and its release/pyproject.toml cibuildwheel config.

Differs from upstream

  • Bazel 8.5.1 bootstrapped from the dist archive - no riscv64 bazelisk binary exists.
  • Build container driven directly instead of cibuildwheel, like the other Bazel ports.
  • Local JDK for Bazel's Java runtimes - no remote JDK for riscv64 (cel-cpp runs ANTLR).
  • Bazel's convenience symlinks cleared before packaging - upstream wheels carry a stray bazel-project/ tree.

Matrix: cp312/cp313/cp314 - upstream ships no free-threaded wheel.

Testing

  • same as upstream (cel_basic_test.py), plus an import of all seven extensions.

License: Wheel statically links cel-cpp, abseil, protobuf, re2, pybind11 and other permissive (Apache-2.0/BSD/MIT) dependencies; upstream ships no licence text for them, so the build adds it.

luhenry added a commit that referenced this pull request Sep 26, 2026
@github-actions

github-actions Bot commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-09-26 17:44 UTC

With --consistent_labels, cquery prints main-repo labels as @@//, which
the optional-@ capture turned into a bare '@' repository; the find on
external/@ then failed the step under pipefail. Match @@<canonical>//
only, tolerate a repository directory that is missing, and fail early
if a core licence was not collected.
@luhenry
luhenry merged commit 4f9315b into main Sep 26, 2026
12 checks passed
@luhenry
luhenry deleted the cel-expr-python branch September 26, 2026 17:25
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.

1 participant