From 83ce75710789f94f2225cd7d4c85cdd48860d13d Mon Sep 17 00:00:00 2001 From: Johnson Sun Date: Wed, 14 Aug 2024 23:05:40 +0800 Subject: [PATCH] Exclude gh-actions for Python 3.7 on Ubuntu 24.04 and MacOS 14 Error message: Error: The version '3.7' with architecture 'x64' was not found for Ubuntu 24.04. Error: The version '3.7' with architecture 'arm64' was not found for macOS 14.6.1. Ref: https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#jobsjob_idstrategymatrixexclude --- .github/workflows/test-with-tox.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/test-with-tox.yaml b/.github/workflows/test-with-tox.yaml index cfaa8a3..3f2f394 100644 --- a/.github/workflows/test-with-tox.yaml +++ b/.github/workflows/test-with-tox.yaml @@ -19,6 +19,11 @@ jobs: - windows-2019 - windows-2022 # windows-latest python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] + exclude: + - platform: ubuntu-24.04 + python-version: 3.7 + - platform: macos-14 + python-version: 3.7 steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }}