Skip to content

Commit b7cf855

Browse files
Copilotalexlib
andauthored
Fix cibuildwheel workflow to unblock PyPI wheel uploads (#228)
* Initial plan * Fix cibuildwheel workflow: skip musllinux builds, add before_build for Linux/macOS Co-authored-by: alexlib <747110+alexlib@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: alexlib <747110+alexlib@users.noreply.github.com>
1 parent 7e111bd commit b7cf855

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/cibuildwheel.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,12 @@ jobs:
4646
python -m cibuildwheel --output-dir wheelhouse py_bind/
4747
env:
4848
CIBW_BUILD: ${{ matrix.python }}-*
49+
CIBW_SKIP: "*musllinux*"
4950
CIBW_ARCHS_MACOS: x86_64 arm64
5051
CIBW_ARCHS_WINDOWS: AMD64
5152
CIBW_ARCHS_LINUX: x86_64
53+
CIBW_BEFORE_BUILD_LINUX: "pip install numpy>=2.0.0 cython>=3.0.0 setuptools wheel"
54+
CIBW_BEFORE_BUILD_MACOS: "pip install numpy>=2.0.0 cython>=3.0.0 setuptools wheel"
5255
CIBW_BEFORE_BUILD_WINDOWS: "pip install numpy>=2.0.0 cython>=3.0.0 setuptools wheel"
5356
CIBW_TEST_REQUIRES: pytest
5457
CIBW_TEST_COMMAND_LINUX: "python -m pytest {project}/py_bind/test/test_version.py"

0 commit comments

Comments
 (0)