mirror of
https://git.pumpin.online/funkpower/typikon.git
synced 2026-10-22 18:57:13 +00:00
The release job failed on its first run. maturin locates zig by running `python3 -m ziglang`, and `maturin[zig]` installs ziglang into the venv only, so calling maturin by absolute path left a bare python3 resolving to the system one, which does not have it. It died with 'Failed to find zig' after apt and rustup had already run, and published nothing. Reproduced locally, both the failure and the fix: with the venv first on PATH the same command builds a manylinux_2_17 wheel, which is the whole reason for --zig. The step now also prints the zig version before the loop, so a missing toolchain fails in one line rather than three minutes in, and pip is no longer quiet, so the log shows what was installed.