From ae2704ef5c9afd76bba9f3be104902b7aae6e943 Mon Sep 17 00:00:00 2001 From: Maciej Urbanski Date: Tue, 23 Apr 2024 13:24:47 +0200 Subject: [PATCH 1/2] fix GHA CI by using old macos for old python versions --- .github/workflows/ci.yml | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 21a513d3..96801ab6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -85,14 +85,25 @@ jobs: os: ["ubuntu-latest", "macos-latest", "windows-latest"] python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "pypy3.9", "pypy3.10"] exclude: - - os: "macos-latest" - python-version: "pypy3.9" - - os: "ubuntu-latest" - python-version: "pypy3.9" - os: "macos-latest" python-version: "pypy3.10" - os: "windows-latest" python-version: "pypy3.10" + # Workaround for https://github.com/actions/setup-python/issues/696 + - os: "macos-latest" + python-version: 3.7 + - os: "macos-latest" + python-version: 3.8 + - os: "macos-latest" + python-version: 3.9 + include: + # Workaround for https://github.com/actions/setup-python/issues/696 + - os: "macos-12" + python-version: 3.7 + - os: "macos-12" + python-version: 3.8 + - os: "macos-12" + python-version: 3.9 steps: - uses: actions/checkout@v4 with: From ed681771fa448d3c81ca0d162fc43260700dc49c Mon Sep 17 00:00:00 2001 From: Maciej Urbanski Date: Tue, 23 Apr 2024 16:32:28 +0200 Subject: [PATCH 2/2] use macos-13 over macos-12 in GHA (longer support, +1 cpu core) --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 96801ab6..2b291841 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -98,11 +98,11 @@ jobs: python-version: 3.9 include: # Workaround for https://github.com/actions/setup-python/issues/696 - - os: "macos-12" + - os: "macos-13" python-version: 3.7 - - os: "macos-12" + - os: "macos-13" python-version: 3.8 - - os: "macos-12" + - os: "macos-13" python-version: 3.9 steps: - uses: actions/checkout@v4