Skip to content

Commit 7cf6760

Browse files
committed
Try to fix build install
1 parent ad4ad70 commit 7cf6760

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/build-wheels.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ jobs:
4747
# cibw_archs: "x86_64"
4848
# - os: ubuntu-24.04-arm
4949
# cibw_archs: "aarch64"
50-
- os: windows-latest
51-
cibw_archs: "AMD64"
50+
# - os: windows-latest
51+
# cibw_archs: "AMD64"
5252
- os: windows-11-arm
5353
cibw_archs: "ARM64"
5454
# - os: macos-13
@@ -80,7 +80,9 @@ jobs:
8080
CIBW_BUILD: "cp39-*"
8181
CIBW_ARCHS: ${{ matrix.cibw_archs }}
8282
# See: https://github.com/matplotlib/matplotlib/blob/1ddb1eccac8cfc25dee47bc538dc5913384b253f/pyproject.toml#L89C1-L95C23
83-
CIBW_BEFORE_BUILD: pip install --pre --index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy --only-binary numpy
83+
CIBW_BEFORE_BUILD_WINDOWS: >-
84+
pip install delvewheel
85+
&& pip install --pre --index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy --only-binary numpy
8486
- name: Build wheels for CPython 3.12
8587
# TODO: remove
8688
if: matrix.cibw_archs == 'ARM64'
@@ -92,6 +94,9 @@ jobs:
9294
env:
9395
CIBW_BUILD: "cp312-*"
9496
CIBW_ARCHS: ${{ matrix.cibw_archs }}
97+
CIBW_BEFORE_BUILD_WINDOWS: >-
98+
pip install delvewheel
99+
&& pip install numpy
95100
# # - name: Setup Python
96101
# # if: ${{ startsWith(matrix.os, 'windows') }}
97102
# # uses: actions/setup-python@v5

0 commit comments

Comments
 (0)