Skip to content

ziglang: Add version 0.17.0 - #3332

Merged
riseproject-dev[bot] merged 2 commits into
mainfrom
ziglang
Oct 26, 2026
Merged

riseproject-dev[bot] merged 2 commits into
mainfrom
ziglang

Conversation

@luhenry

@luhenry luhenry commented Oct 15, 2026 •

Copy link
Copy Markdown
Member

Repackages the official riscv64-linux Zig release tarball into a wheel. Upstream publishes no riscv64 wheel.

Mirrors zig-pypi's cd.yml, running its own make_wheels.py --platform riscv64-linux (sha256-verified download from ziglang.org, same path it already uses for every platform it publishes).

Differs from upstream

  • Checks out zig-pypi with a plain git clone - its repo is on Codeberg, not GitHub.
  • Adds a step that runs the bundled zig binary and compiles+runs a one-line program, proving it executes on riscv64.

Testing

  • python -m ziglang version, then zig build-exe on a trivial program and run the result.

License: OK.

Built locally on x86_64 (make_wheels.py performs no compilation); riscv64 execution verified in CI.

Mirrors zig-pypi's own make_wheels.py repackaging (no compilation, the
riscv64-linux Zig tarball is downloaded from ziglang.org and re-wrapped
into a wheel), the same path upstream's own CD workflow uses for every
other platform it publishes.
@luhenry
luhenry marked this pull request as draft October 16, 2026 00:07
twine depends on keyring -> SecretStorage -> cryptography -> cffi.
cffi/cryptography have no riscv64 wheel on public PyPI, and this
bare riscv64 runner lacks libffi-dev to build cffi from source, so
pip's plain install tried and failed to compile it (ffi.h missing).
Pull the registry's prebuilt riscv64 wheels instead, same fix as
build-pymongocrypt.yml uses for the same dependency chain.
@riseproject-dev
riseproject-dev Bot marked this pull request as ready for review October 26, 2026 14:54
@riseproject-dev
riseproject-dev Bot merged commit 9440991 into main Oct 26, 2026
8 checks passed
@riseproject-dev
riseproject-dev Bot deleted the ziglang branch October 26, 2026 14:55
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