Skip to content

Commit a82da08

Browse files
committed
Try and be smarter
1 parent ecf5a80 commit a82da08

File tree

1 file changed

+4
-32
lines changed

1 file changed

+4
-32
lines changed

.github/workflows/build-wheels.yaml

Lines changed: 4 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -68,23 +68,7 @@ jobs:
6868
config-file: "{package}/pyproject.toml"
6969
env:
7070
CIBW_ARCHS: ${{ matrix.cibw_archs }}
71-
# # Seems to not be happy because you can't get numpy to install
72-
# - name: Build wheels for CPython 3.9
73-
# # TODO: remove
74-
# if: matrix.cibw_archs == 'ARM64'
75-
# uses: pypa/cibuildwheel@v3.1.4 # matplotlib had v3.1.3
76-
# with:
77-
# package-dir: .
78-
# output-dir: wheelhouse
79-
# config-file: "{package}/pyproject.toml"
80-
# env:
81-
# CIBW_BUILD: "cp39-*"
82-
# CIBW_ARCHS: ${{ matrix.cibw_archs }}
83-
# # See: https://github.com/matplotlib/matplotlib/blob/1ddb1eccac8cfc25dee47bc538dc5913384b253f/pyproject.toml#L89C1-L95C23
84-
# CIBW_BEFORE_BUILD_WINDOWS: >-
85-
# pip install delvewheel
86-
# && pip install numpy
87-
- name: Build wheels for CPython 3.10
71+
- name: Build wheels
8872
# TODO: remove
8973
if: matrix.cibw_archs == 'ARM64'
9074
uses: pypa/cibuildwheel@v3.1.4 # matplotlib had v3.1.3
@@ -93,26 +77,14 @@ jobs:
9377
output-dir: wheelhouse
9478
config-file: "{package}/pyproject.toml"
9579
env:
96-
CIBW_BUILD: "cp310-*"
80+
# 3.9, 3.10 seem to not be happy because you can't install numpy from a wheel
81+
# (and we're not going to try recompiling)
82+
CIBW_SKIP: "cp39-win_arm64 cp310-win_arm64"
9783
CIBW_ARCHS: ${{ matrix.cibw_archs }}
9884
# See: https://github.com/matplotlib/matplotlib/blob/1ddb1eccac8cfc25dee47bc538dc5913384b253f/pyproject.toml#L89C1-L95C23
9985
CIBW_BEFORE_BUILD_WINDOWS: >-
10086
pip install delvewheel
10187
&& pip install numpy
102-
- name: Build wheels for CPython 3.12
103-
# TODO: remove
104-
if: matrix.cibw_archs == 'ARM64'
105-
uses: pypa/cibuildwheel@v3.1.4 # matplotlib had v3.1.3
106-
with:
107-
package-dir: .
108-
output-dir: wheelhouse
109-
config-file: "{package}/pyproject.toml"
110-
env:
111-
CIBW_BUILD: "cp312-*"
112-
CIBW_ARCHS: ${{ matrix.cibw_archs }}
113-
CIBW_BEFORE_BUILD_WINDOWS: >-
114-
pip install delvewheel
115-
&& pip install --pre --index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy --only-binary numpy
11688
# # - name: Setup Python
11789
# # if: ${{ startsWith(matrix.os, 'windows') }}
11890
# # uses: actions/setup-python@v5

0 commit comments

Comments
 (0)