From bcc42d9f0bc2aeaab205c56069400e6cb51417ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Robert?= Date: Fri, 21 Nov 2025 18:52:06 +0100 Subject: [PATCH] MNT: simplify configuration for windows arm64 wheels --- .github/workflows/publish.yml | 9 +++------ pyproject.toml | 8 ++++++++ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6e4ee09..6282d09 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -31,8 +31,6 @@ jobs: env: | CIBW_BEFORE_BUILD: '${{ ((github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || github.event_name == 'pull_request') && 'pip install --pre setuptools setuptools_scm wheel jinja2 numpy') || '' }}' CIBW_BUILD_FRONTEND: '${{ ((github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || github.event_name == 'pull_request') && 'pip; args: --no-build-isolation') || 'build' }}' - CIBW_ENABLE: pypy - CIBW_SKIP: cp314t-* test_extras: test test_command: pytest --pyargs erfa @@ -49,11 +47,10 @@ jobs: - pp3*-macosx_x86_64 - pp3*-macosx_arm64 # Windows wheels - - cp3*win32 - - cp3*win_amd64 + - cp3*-win32 + - cp3*-win_amd64 + - cp3*-win_arm64 - pp3*-win_amd64 - # Windows arm64 wheels - - cp3{11,12,13,14}-win_arm64 secrets: pypi_token: ${{ secrets.pypi_token }} diff --git a/pyproject.toml b/pyproject.toml index e6a8562..0600d86 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -61,3 +61,11 @@ text_file_format = "rst" addopts = "--doctest-rst" xfail_strict = true norecursedirs = ["erfa/_dev"] + +[tool.cibuildwheel] +enable = ["pypy"] +skip = [ + "cp314t-*", + "cp39-win_arm64", + "cp310-win_arm64", +]