Skip to content

zen-engine: Add version 2.0.2 - #2337

Merged
luhenry merged 2 commits into
mainfrom
zen-engine
Sep 27, 2026
Merged

luhenry merged 2 commits into
mainfrom
zen-engine

Conversation

@luhenry

@luhenry luhenry commented Sep 25, 2026 •

Copy link
Copy Markdown
Member

Compiles the GoRules ZEN decision engine (Rust, PyO3, embedded QuickJS) into one cp38-abi3 extension. Upstream publishes no riscv64 wheel.

Mirrors upstream's python.yaml.

Differs from upstream

  • --features zen-engine/bindgen - rquickjs-sys 0.10.0 ships no pregenerated riscv64 bindings; upstream does the same for s390x.
  • clang-devel plus a --target=riscv64-unknown-linux-gnu bindgen arg - libclang rejects the riscv64gc- triple rquickjs-sys passes.
  • Dropped --zig, --find-interpreter and --compatibility manylinux_2_28 - native build in the manylinux_2_39 image.

Matrix: one cp38-abi3 wheel, tested on cp312/cp313/cp314; upstream ships no free-threaded wheel.

Testing

  • Runs the binding's own test_sync.py/test_async.py, which upstream's CI does not run.

License: OK

Cross-built riscv64 extension under QEMU: cp312 and cp314 each 22 passed, 0 skipped.

Builds the cp38-abi3 wheel from the python-v2.0.2 tag with
PyO3/maturin-action, mirroring upstream's python.yaml wheels job.
rquickjs-sys 0.10.0 ships no pregenerated riscv64 bindings, so the
build enables zen-engine's bindgen feature (as upstream's s390x uniffi
build does) and overrides the rust-style target triple rquickjs-sys
hands libclang.
luhenry added a commit that referenced this pull request Sep 25, 2026
@github-actions

github-actions Bot commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-09-27 16:34 UTC

The CLI --features zen-engine/bindgen replaced the pyproject's
[tool.maturin] features = ["pyo3/extension-module"], so pyo3 0.25
linked the extension against libpython and the link failed with
"cannot find -lpython3.12" in the manylinux_2_39 image.
luhenry added a commit that referenced this pull request Sep 27, 2026
@luhenry
luhenry merged commit debdd39 into main Sep 27, 2026
9 checks passed
@luhenry
luhenry deleted the zen-engine branch September 27, 2026 16:05
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