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"