From 0e2cc10709513c094a927384a244d2f1516e91bd Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Fri, 12 Jul 2024 11:53:28 -0700 Subject: [PATCH] BLD: Enable wheels on Windows-on-ARM --- .github/workflows/cibuildwheel.yml | 6 ++++-- pyproject.toml | 8 ++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cibuildwheel.yml b/.github/workflows/cibuildwheel.yml index 15ec0e405400..a870ce76c2d7 100644 --- a/.github/workflows/cibuildwheel.yml +++ b/.github/workflows/cibuildwheel.yml @@ -127,7 +127,9 @@ jobs: - os: ubuntu-24.04-arm cibw_archs: "aarch64" - os: windows-latest - cibw_archs: "auto64" + cibw_archs: "AMD64" + - os: windows-11-arm + cibw_archs: "ARM64" - os: macos-13 cibw_archs: "x86_64" - os: macos-14 @@ -187,7 +189,7 @@ jobs: CIBW_BUILD: "pp311-*" CIBW_ARCHS: ${{ matrix.cibw_archs }} CIBW_ENABLE: pypy - if: matrix.cibw_archs != 'aarch64' && matrix.os != 'windows-latest' + if: matrix.cibw_archs != 'aarch64' && matrix.os != 'windows-latest' && matrix.os != 'windows-11-arm' - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: diff --git a/pyproject.toml b/pyproject.toml index b06a5bcc5740..412d849754bd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -86,6 +86,14 @@ local_scheme = "node-and-date" parentdir_prefix_version = "matplotlib-" fallback_version = "0.0+UNKNOWN" +# FIXME: Remove this override once dependencies are available on PyPI. +[[tool.cibuildwheel.overrides]] +select = "*-win_arm64" +before-test = """\ + pip install --pre \ + --index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple \ + contourpy numpy""" + [tool.isort] known_pydata = "numpy, matplotlib.pyplot" known_firstparty = "matplotlib,mpl_toolkits" 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