Add musllinux wheel packaging for Alpine - #2
Open
jtwigg-luma wants to merge 1 commit into
Open
Conversation
Build and publish musllinux wheels from this fork; disable unused upstream Actions; document in MUSLLINUX.md. Co-authored-by: Cursor <cursoragent@cursor.com>
jtwigg-luma
force-pushed
the
musllinux-wheels
branch
from
July 25, 2026 04:48
93d1b24 to
4106702
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Upstream contentauth/c2pa-python only publishes manylinux (glibc) wheels. Alpine (musl) cannot load those wheels; the sdist pulls gnu natives that fail at
dlopen; compiling Rust inside every image build is too slow.This fork ships musllinux wheels so Alpine can
import c2pawithout a per-image Rust compile. The Python API is unchanged. macOS and glibc Linux keep using PyPI.Divergence is kept small: one build script, one workflow,
MUSLLINUX.md, and disabled unused Adobe Actions so musl tags do not fan out into their Build/PyPI/Pages/Jira matrix.What
scripts/build_musllinux_wheel.sh— buildmusllinux_1_2_x86_64inpython:3.14-alpine.github/workflows/build-musllinux-wheel.yml— CI + GitHub Release onv*-musl*tagsMUSLLINUX.md— why this fork exists + how to upgradeworkflow_dispatchonly)Consume
Do not pin a direct musllinux wheel URL (forces one platform everywhere).
Test plan
python:3.14-alpine→import c2pa+Context()OKv0.37.1-musl.1published with wheel assetworkflow_dispatchMade with Cursor