Add Alpine Linux Support to CI Pipeline - #66
Merged
Conversation
- Add Alpine Linux wheel building and testing - Create reusable test-wheel action - Fix incomplete build-wheels job - Standardize uv installation across all jobs - Add musllinux platform tag support for Alpine wheels
- Add build-wheel-alpine job to build wheels for Alpine Linux - Add test-wheel-alpine job to test Alpine wheels - Create reusable test-wheel action to reduce code duplication - Refactor test jobs to use the new reusable action
- Add recursive search for wheel files when dist directory is not found - Add debug logging to help diagnose artifact extraction issues - Fix Alpine wheel testing by searching in all directories
- Detect Alpine Linux by checking /etc/alpine-release
- Use linux_musl_{arch} tag for Alpine wheels instead of manylinux2014
- Add debug output to show built wheel filenames
- Fixes wheel compatibility issue when testing on Alpine Linux
- Change from linux_musl_{arch} to musllinux_1_2_{arch} tag format
- Update pip before installing wheels to ensure musllinux tag support
- Fixes pip compatibility issue when installing Alpine wheels
- Fix trailing whitespace detected by pre-commit hook
- Add missing build steps to build-wheels job (was incomplete) - Use astral-sh/setup-uv@v5 instead of pip install uv for Alpine - Standardize uv installation across all build jobs - Use reusable build-wheel action for consistency
- Remove echo statements and directory listings from test-wheel action - Remove wheel listing debug output from build-wheel action - Keep essential error messages for troubleshooting
Contributor
Author
|
@Goldziher Could you deploy a new release with this change? |
Member
|
sure |
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.
Summary
This PR adds Alpine Linux support to the CI pipeline, allowing wheels to be built and tested for Alpine-based distributions.
What Was Added
Alpine Linux Support
build-wheel-alpinejob to build wheels for Alpine Linux (musl libc)test-wheel-alpinejob to test Alpine wheels across Python 3.10-3.13setup.pyto detect Alpine Linux and usemusllinux_1_2_{arch}platform tag (PEP 656 compliant)Code Improvements
.github/actions/test-wheelaction to centralize wheel testing logicbuild-wheelsjob inbuild_and_publish.yamlby adding missing build stepsastral-sh/setup-uv@v5Changes
.github/workflows/ci.yaml: Added Alpine build and test jobs.github/workflows/build_and_publish.yaml: Completed build-wheels job and standardized uv installation.github/actions/*: New reusable actionssetup.py: Added Alpine detection and musllinux platform tag support