From c2bbaf47e14dac5f0470938b3ecf67836ca1695d Mon Sep 17 00:00:00 2001 From: Eliah Kagan Date: Wed, 24 Jul 2024 04:34:00 -0400 Subject: [PATCH 1/2] Remove the non-ARM macOS CI jobs This keeps only the macos-14 jobs, which run on Apple Silicon M1, and removes the macos-13 jobs, which ran on x86-64. Other operating systems jobs continue to run on x86-64 machines (and none on ARM, yet). Only the macOS jobs are removed. This change leaves Python 3.7 without any macOS test job. That is probably okay, since it has been end-of-life for some time, and it remains tested on Ubuntu and Windows. --- .github/workflows/pythonpackage.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 49f6c5254..7547aecf9 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - os: ["ubuntu-latest", "macos-13", "macos-14", "windows-latest"] + os: ["ubuntu-latest", "macos-14", "windows-latest"] python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] exclude: - os: "macos-14" From be6744b6e4365fc42996a1be7f026f133f992928 Mon Sep 17 00:00:00 2001 From: Eliah Kagan Date: Wed, 24 Jul 2024 04:38:06 -0400 Subject: [PATCH 2/2] Use the macos-latest label rather than macos-14 Currently they are the same. The macos-latest label will move to later versions automatically in the future, like the ubuntu-latest and windows-latest labels that we are already using. In this repo, the macos-14 label had been used originally because it was added before the migration of macos-latest to be macos-14 was completed. See https://github.com/github/roadmap/issues/926. It was kept for clarity of constrast with the macos-13 jobs that were also in use, some for the same Python versions. Now that the macos-13 jobs have been removed in c2bbaf4, the macos-latest label can be used here without confusion. --- .github/workflows/pythonpackage.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 7547aecf9..0f1d17544 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -13,10 +13,10 @@ jobs: strategy: fail-fast: false matrix: - os: ["ubuntu-latest", "macos-14", "windows-latest"] + os: ["ubuntu-latest", "macos-latest", "windows-latest"] python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] exclude: - - os: "macos-14" + - os: "macos-latest" python-version: "3.7" include: - experimental: false