Skip to content

Commit dd1d08c

Browse files
committed
BLD: Enable wheels on Windows-on-ARM
1 parent 7c49d52 commit dd1d08c

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.github/workflows/cibuildwheel.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,9 @@ jobs:
127127
- os: ubuntu-24.04-arm
128128
cibw_archs: "aarch64"
129129
- os: windows-latest
130-
cibw_archs: "auto64"
130+
cibw_archs: "AMD64"
131+
- os: windows-11-arm
132+
cibw_archs: "ARM64"
131133
- os: macos-13
132134
cibw_archs: "x86_64"
133135
- os: macos-14
@@ -167,7 +169,6 @@ jobs:
167169
CIBW_BUILD: "cp311-*"
168170
CIBW_ARCHS: ${{ matrix.cibw_archs }}
169171

170-
171172
- name: Build wheels for PyPy
172173
uses: pypa/cibuildwheel@faf86a6ed7efa889faf6996aa23820831055001a # v2.23.3
173174
with:
@@ -178,7 +179,7 @@ jobs:
178179
CIBW_ENABLE: pypy
179180
# No wheels available for Pillow with pp311 yet.
180181
CIBW_TEST_SKIP: "pp311*"
181-
if: matrix.cibw_archs != 'aarch64' && matrix.os != 'windows-latest'
182+
if: matrix.cibw_archs != 'aarch64' && matrix.os != 'windows-latest' && matrix.os != 'windows-11-arm'
182183

183184
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
184185
with:

pyproject.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,13 @@ local_scheme = "node-and-date"
8686
parentdir_prefix_version = "matplotlib-"
8787
fallback_version = "0.0+UNKNOWN"
8888

89+
[[tool.cibuildwheel.overrides]]
90+
select = "*-win_arm64"
91+
before-test = """\
92+
pip install --pre \
93+
--index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple \
94+
contourpy numpy"""
95+
8996
[tool.isort]
9097
known_pydata = "numpy, matplotlib.pyplot"
9198
known_firstparty = "matplotlib,mpl_toolkits"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy