Skip to content

Commit ca23810

Browse files
tacaswellmeeseeksmachine
authored andcommitted
Backport PR #28554: BLD: Enable wheels on Windows-on-ARM
1 parent b4c1acd commit ca23810

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
@@ -183,7 +185,7 @@ jobs:
183185
CIBW_BUILD: "pp310-*"
184186
CIBW_ARCHS: ${{ matrix.cibw_archs }}
185187
CIBW_ENABLE: pypy
186-
if: matrix.cibw_archs != 'aarch64' && matrix.os != 'windows-latest'
188+
if: matrix.cibw_archs != 'aarch64' && matrix.os != 'windows-latest' && matrix.os != 'windows-11-arm'
187189

188190
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
189191
with:

pyproject.toml

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

88+
# FIXME: Remove this override once dependencies are available on PyPI.
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+
8896
[tool.isort]
8997
known_pydata = "numpy, matplotlib.pyplot"
9098
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