Skip to content

GitHub Actions CI: Remove Zig in Python wheel release#315

Open
jayaddison wants to merge 1 commit intoua-parser:masterfrom
openculinary:issue-312/buildscript-remove-ziglang
Open

GitHub Actions CI: Remove Zig in Python wheel release#315
jayaddison wants to merge 1 commit intoua-parser:masterfrom
openculinary:issue-312/buildscript-remove-ziglang

Conversation

@jayaddison
Copy link
Copy Markdown

The Zig toolchain functionality enabled here originates from a build workflow in the uap-rust repository; as far as I can tell, Zig is not required when building and releasing the Python wheels.

My understanding is that the maturin-action that installs the Zig dependencies would proceed even if they cannot be installed, so I don't think that their failure would block the release process here.

Even so, I think that software build processes should usually try to limit their build requirements to only what is necessary, so I'm offering this as a cleanup.

Resolves #312.

The Zig toolchain functionality enabled here originates from a build
workflow[1] in the `uap-rust` repository; as far as I can tell, Zig
is not required when building and releasing the Python wheels.

My understanding is that the `maturin-action` that installs the Zig
dependencies would proceed[2] even if they cannot be installed, so I
don't think that their failure would block the release process here.

Even so, I think that software build processes should usually try to
limit their build requirements to only what is necessary, so I'm
offering this as a cleanup.

Resolves ua-parser#312.

[1] - ua-parser/uap-rust#3

[2] - https://github.com/PyO3/maturin-action/blob/04ac600d27cdf7a9a280dadf7147097c42b757ad/dist/index.js#L47396-L47407
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.

CI / release: Linux wheels: dependency on ziglang?

1 participant