From f0071b65bce61f17c819e21b3785db7e96b3508a Mon Sep 17 00:00:00 2001 From: Finn Womack Date: Sun, 19 Oct 2025 21:49:23 -0700 Subject: [PATCH 1/8] add arm64 windows tests --- .github/workflows/ci_workflows.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci_workflows.yml b/.github/workflows/ci_workflows.yml index 6c82acb..cc7773e 100644 --- a/.github/workflows/ci_workflows.yml +++ b/.github/workflows/ci_workflows.yml @@ -15,7 +15,7 @@ jobs: strategy: fail-fast: true matrix: - os: [ubuntu-latest, macos-latest, windows-latest] + os: [ubuntu-latest, macos-latest, windows-latest, windows-11-arm] python: ['3.x'] toxenv: [test] toxargs: [-v] From 7298730d86345c4e7a5a54230d81f4f4dfc2a3bf Mon Sep 17 00:00:00 2001 From: Finn Womack Date: Sun, 19 Oct 2025 21:58:38 -0700 Subject: [PATCH 2/8] run windows arm64 build --- .github/workflows/publish.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 22fa448..ea26742 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -52,6 +52,7 @@ jobs: - cp3*win32 - cp3*win_amd64 - pp3*-win_amd64 + - cp3*win_arm64 secrets: pypi_token: ${{ secrets.pypi_token }} From e2527543d5465881e45d0ce11efd3e3c65063887 Mon Sep 17 00:00:00 2001 From: Finn Womack Date: Sun, 19 Oct 2025 22:16:35 -0700 Subject: [PATCH 3/8] run on fork --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ea26742..d8e9a43 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -16,7 +16,7 @@ jobs: build_and_publish: uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish.yml@28e947497bed4d6ec3fa1d66d198e95a1d17bc63 # v2.2.1 - if: (github.repository == 'liberfa/pyerfa') + # if: (github.repository == 'liberfa/pyerfa') with: upload_to_pypi: ${{ startsWith(github.ref, 'refs/tags/v') && !endsWith(github.ref, '.dev') && github.event_name == 'push' }} From 4e41d09f55e9ab2b6300835bc00ba4b8e16108b2 Mon Sep 17 00:00:00 2001 From: Finn Womack Date: Wed, 22 Oct 2025 02:17:01 -0700 Subject: [PATCH 4/8] Update publish.yml to use version v2.2.2 --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d8e9a43..75236b7 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -15,7 +15,7 @@ jobs: build_and_publish: - uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish.yml@28e947497bed4d6ec3fa1d66d198e95a1d17bc63 # v2.2.1 + uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish.yml@80387e9fbf2f4aeeacc7c2db79d4d1c17154ae95 # v2.2.2 # if: (github.repository == 'liberfa/pyerfa') with: From 4ed6e23aed23edbffbda2bd1ebac84da52a16525 Mon Sep 17 00:00:00 2001 From: Finn Womack Date: Wed, 22 Oct 2025 03:06:14 -0700 Subject: [PATCH 5/8] specify 3.11+ wheels for arm64 windows --- .github/workflows/publish.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 75236b7..f7bc17c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -52,7 +52,11 @@ jobs: - cp3*win32 - cp3*win_amd64 - pp3*-win_amd64 - - cp3*win_arm64 + # Windows arm64 wheels + - cp311*win_arm64 + - cp312*win_arm64 + - cp313*win_arm64 + - cp314*win_arm64 secrets: pypi_token: ${{ secrets.pypi_token }} From f07c34a2ad5c941ab5460c811e394a7f382ff7bf Mon Sep 17 00:00:00 2001 From: Finn Womack Date: Thu, 23 Oct 2025 00:03:55 -0700 Subject: [PATCH 6/8] uncomment conditional --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f7bc17c..4001495 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -16,7 +16,7 @@ jobs: build_and_publish: uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish.yml@80387e9fbf2f4aeeacc7c2db79d4d1c17154ae95 # v2.2.2 - # if: (github.repository == 'liberfa/pyerfa') + if: (github.repository == 'liberfa/pyerfa') with: upload_to_pypi: ${{ startsWith(github.ref, 'refs/tags/v') && !endsWith(github.ref, '.dev') && github.event_name == 'push' }} From 0dd764e63118889eafc8c781190fb8eeebe69590 Mon Sep 17 00:00:00 2001 From: Finn Womack Date: Thu, 23 Oct 2025 01:26:32 -0700 Subject: [PATCH 7/8] condense win_arm64 targets into one line MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Clément Robert --- .github/workflows/publish.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4001495..d030e0a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -53,10 +53,7 @@ jobs: - cp3*win_amd64 - pp3*-win_amd64 # Windows arm64 wheels - - cp311*win_arm64 - - cp312*win_arm64 - - cp313*win_arm64 - - cp314*win_arm64 + - cp3{11,12,13,14}-win_arm64 secrets: pypi_token: ${{ secrets.pypi_token }} From 140cbc7b53833b789480288b768ab3c4a76b1f2f Mon Sep 17 00:00:00 2001 From: Finn Womack Date: Tue, 28 Oct 2025 12:18:56 -0700 Subject: [PATCH 8/8] Fix publish.yml to use proper release hash --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d030e0a..6e4ee09 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -15,7 +15,7 @@ jobs: build_and_publish: - uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish.yml@80387e9fbf2f4aeeacc7c2db79d4d1c17154ae95 # v2.2.2 + uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish.yml@d9b81a07e789d1b1921ab5fe33de2ddcbbd02c3f # v2.3.0 if: (github.repository == 'liberfa/pyerfa') with: