Skip to content

WHL: enable musllinux wheels #519

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,13 @@ on: [push, pull_request]
permissions:
contents: read

env:
CIBW_BUILD_VERBOSITY: 1
# Testing on aarch64 takes too long, as it is currently emulated on GitHub Actions
# Building for musllinux and aarch64 takes way too much time.
# Moreover, NumPy is not providing musllinux for x86_64 either, so it's not worth it.
CIBW_SKIP: "*musllinux*aarch64* *musllinux*x86_64*"

jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }} for ${{ matrix.arch }}
runs-on: ${{ matrix.runs-on || matrix.os }}
permissions:
contents: write
env:
CIBW_BUILD: ${{ matrix.cibw_pattern }}
CIBW_ARCHS_LINUX: ${{ matrix.arch }}
CIBW_ARCHS_MACOS: "x86_64 arm64"
CIBW_ENABLE: cpython-freethreading
Expand All @@ -30,27 +22,21 @@ jobs:
# Linux x86_64 builds
- os: ubuntu-latest
arch: x86_64
cibw_pattern: "*manylinux*"
artifact_name: "linux-x86_64"

# Linux ARM64 builds (native runners)
- os: ubuntu-24.04-arm
arch: aarch64
cibw_pattern: "*manylinux*"
artifact_name: "linux-aarch64"
# Don't use native runners for now (looks like wait times are too long)
#runs-on: ["ubuntu-latest", "arm64"]

# Windows builds
- os: windows-latest
arch: x86_64
cibw_pattern: "*"
artifact_name: "windows-x86_64"

# macOS builds (universal2)
- os: macos-latest
arch: x86_64
cibw_pattern: "*"
artifact_name: "macos-universal2"
steps:
- uses: actions/checkout@v3
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ test = [
]

[tool.cibuildwheel]
build-verbosity = 1
skip = ["*-manylinux_i686", "*_ppc64le", "*_s390x"]
# Let's use a more recent version of the manylinux image for more modern compilers
manylinux-x86_64-image = "manylinux_2_28"
Expand Down
Loading