From e5dbbf4cfa62fab25f2f52fa0a786c0e7236b39f Mon Sep 17 00:00:00 2001 From: link2xt Date: Thu, 9 Jan 2025 12:14:32 +0000 Subject: [PATCH] ci: use Ubuntu 22.04 runner to test Python 3.7 --- .github/workflows/ci.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ab63e5b16..6f2c75355 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -226,7 +226,11 @@ jobs: # Minimum Supported Python Version = 3.7 # This is the minimum version for which manylinux Python wheels are # built. Test it with minimum supported Rust version. - - os: ubuntu-latest + # + # Running on Ubuntu 22.04 + # because Ubuntu 24.04 runner does not support Python 3.7: + # https://github.com/actions/setup-python/issues/962 + - os: ubuntu-22.04 python: 3.7 runs-on: ${{ matrix.os }} @@ -238,7 +242,7 @@ jobs: - name: Download libdeltachat.a uses: actions/download-artifact@v4 with: - name: ${{ matrix.os }}-libdeltachat.a + name: ${{ matrix.os == 'ubuntu-22.04' && 'ubuntu-latest' || matrix.os }}-libdeltachat.a path: target/debug - name: Install python @@ -278,7 +282,11 @@ jobs: python: pypy3.10 # Minimum Supported Python Version = 3.7 - - os: ubuntu-latest + # + # Running on Ubuntu 22.04 + # because Ubuntu 24.04 runner does not support Python 3.7: + # https://github.com/actions/setup-python/issues/962 + - os: ubuntu-22.04 python: 3.7 runs-on: ${{ matrix.os }}