Skip to content

Commit ccab579

Browse files
committed
BLD: Enable wheels on Windows-on-ARM
1 parent 4c345b4 commit ccab579

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.github/workflows/cibuildwheel.yml

Lines changed: 4 additions & 2 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
@@ -187,7 +189,7 @@ jobs:
187189
CIBW_BUILD: "pp311-*"
188190
CIBW_ARCHS: ${{ matrix.cibw_archs }}
189191
CIBW_ENABLE: pypy
190-
if: matrix.cibw_archs != 'aarch64' && matrix.os != 'windows-latest'
192+
if: matrix.cibw_archs != 'aarch64' && matrix.os != 'windows-latest' && matrix.os != 'windows-11-arm'
191193

192194
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
193195
with:

pyproject.toml

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

89+
# FIXME: Remove this override once dependencies are available on PyPI.
90+
[[tool.cibuildwheel.overrides]]
91+
select = "*-win_arm64"
92+
before-test = """\
93+
pip install --pre \
94+
--index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple \
95+
contourpy numpy"""
96+
8997
[tool.isort]
9098
known_pydata = "numpy, matplotlib.pyplot"
9199
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