From cdd0a53b1ca7677a8fdd07fc0384aa73d38d0c94 Mon Sep 17 00:00:00 2001 From: Xavier Olive Date: Mon, 14 Oct 2024 22:16:28 +0200 Subject: [PATCH] issue with maturin-action in ubuntu-24.04 PyO3/maturin-action#291 --- .github/workflows/python.yml | 4 ++-- .github/workflows/wheels.yml | 24 ++++++++++++------------ 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 25ddea3..e111ce8 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -18,7 +18,7 @@ jobs: strategy: matrix: os: - - ubuntu-latest + - ubuntu-22.04 python-version: - "3.9" - "3.10" @@ -33,7 +33,7 @@ jobs: - uses: actions/checkout@v4 - name: Set up uv - if: ${{ matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' }} + if: ${{ matrix.os == 'ubuntu-22.04' || matrix.os == 'macos-latest' }} run: curl -LsSf https://astral.sh/uv/install.sh | sh - name: Set up uv diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 91fb8fc..fdaeb7c 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -24,17 +24,17 @@ jobs: strategy: matrix: platform: - - runner: ubuntu-latest + - runner: ubuntu-22.04 target: x86_64 - - runner: ubuntu-latest + - runner: ubuntu-22.04 target: x86 - - runner: ubuntu-latest + - runner: ubuntu-22.04 target: aarch64 - - runner: ubuntu-latest + - runner: ubuntu-22.04 target: armv7 - - runner: ubuntu-latest + - runner: ubuntu-22.04 target: s390x - - runner: ubuntu-latest + - runner: ubuntu-22.04 target: ppc64le steps: - uses: actions/checkout@v4 @@ -60,13 +60,13 @@ jobs: strategy: matrix: platform: - - runner: ubuntu-latest + - runner: ubuntu-22.04 target: x86_64 - - runner: ubuntu-latest + - runner: ubuntu-22.04 target: x86 - - runner: ubuntu-latest + - runner: ubuntu-22.04 target: aarch64 - - runner: ubuntu-latest + - runner: ubuntu-22.04 target: armv7 steps: - uses: actions/checkout@v4 @@ -143,7 +143,7 @@ jobs: path: python/dist sdist: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - name: Build sdist @@ -160,7 +160,7 @@ jobs: release: name: Release - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 if: startsWith(github.ref, 'refs/tags/') needs: [linux, musllinux, windows, macos, sdist] steps: