From: Federico Caselli Date: Fri, 3 Jan 2025 19:56:37 +0000 (+0100) Subject: avoid using ubuntu 24 since it's currently having issues X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=00728b53753bf14febe10587b9acc36c7eab99d8;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git avoid using ubuntu 24 since it's currently having issues Change-Id: I53ca096258988e5a7e76c46c5a5881c662a58d39 --- diff --git a/.github/workflows/create-wheels.yaml b/.github/workflows/create-wheels.yaml index 0e8d5b1a10..68ece92b13 100644 --- a/.github/workflows/create-wheels.yaml +++ b/.github/workflows/create-wheels.yaml @@ -121,7 +121,7 @@ jobs: strategy: matrix: os: - - "ubuntu-latest" + - "ubuntu-22.04" - "ubuntu-20.04" python-version: # the versions are - as specified in PEP 425. @@ -144,14 +144,14 @@ jobs: extra-requires: "mock" exclude: - # ubuntu-latest does not have: py27, py36 - - os: "ubuntu-latest" + # ubuntu-22.04 does not have: py27, py36 + - os: "ubuntu-22.04" python-version: cp27-cp27m - - os: "ubuntu-latest" + - os: "ubuntu-22.04" python-version: cp27-cp27mu - - os: "ubuntu-latest" + - os: "ubuntu-22.04" python-version: cp36-cp36m - # ubuntu-20.04 does not need to test what ubuntu-latest supports + # ubuntu-20.04 does not need to test what ubuntu-22.04 supports - os: "ubuntu-20.04" python-version: cp37-cp37m - os: "ubuntu-20.04" @@ -312,7 +312,7 @@ jobs: strategy: matrix: os: - - "ubuntu-latest" + - "ubuntu-22.04" - "ubuntu-20.04" python-version: # the versions are - as specified in PEP 425. @@ -324,10 +324,10 @@ jobs: - cp311-cp311 - cp312-cp312 exclude: - # ubuntu-latest does not have: py27, py36 - - os: "ubuntu-latest" + # ubuntu-22.04 does not have: py27, py36 + - os: "ubuntu-22.04" python-version: cp36-cp36m - # ubuntu-20.04 does not need to test what ubuntu-latest supports + # ubuntu-20.04 does not need to test what ubuntu-22.04 supports - os: "ubuntu-20.04" python-version: cp37-cp37m - os: "ubuntu-20.04" diff --git a/.github/workflows/run-on-pr.yaml b/.github/workflows/run-on-pr.yaml index ab51b357b4..7634e68d10 100644 --- a/.github/workflows/run-on-pr.yaml +++ b/.github/workflows/run-on-pr.yaml @@ -23,7 +23,7 @@ jobs: # run this job using this matrix, excluding some combinations below. matrix: os: - - "ubuntu-latest" + - "ubuntu-22.04" python-version: - "3.11" build-type: @@ -62,7 +62,7 @@ jobs: # run this job using this matrix, excluding some combinations below. matrix: os: - - "ubuntu-latest" + - "ubuntu-22.04" python-version: - "3.11" @@ -95,7 +95,7 @@ jobs: # run this job using this matrix, excluding some combinations below. matrix: os: - - "ubuntu-latest" + - "ubuntu-22.04" python-version: - "3.11" @@ -123,8 +123,8 @@ jobs: # Arm emulation is quite slow (~20min) so for now just run it when merging to main # run-test-arm64: - # name: ${{ matrix.python-version }}-${{ matrix.build-type }}-arm64-ubuntu-latest - # runs-on: ubuntu-latest + # name: ${{ matrix.python-version }}-${{ matrix.build-type }}-arm64-ubuntu-22.04 + # runs-on: ubuntu-22.04 # strategy: # matrix: # python-version: diff --git a/.github/workflows/run-test.yaml b/.github/workflows/run-test.yaml index 8ad1d1deec..ad4f9f40c2 100644 --- a/.github/workflows/run-test.yaml +++ b/.github/workflows/run-test.yaml @@ -28,7 +28,7 @@ jobs: matrix: os: - "ubuntu-20.04" - - "ubuntu-latest" + - "ubuntu-22.04" - "windows-latest" - "macos-13" python-version: @@ -54,21 +54,21 @@ jobs: # - python-version: "pypy-3.9" # pytest-args: "-k 'not test_autocommit_on and not test_turn_autocommit_off_via_default_iso_level and not test_autocommit_isolation_level'" # add aiosqlite on linux - - os: "ubuntu-latest" + - os: "ubuntu-22.04" pytest-args: "--dbdriver pysqlite --dbdriver aiosqlite" exclude: # linux and osx do not have x86 python - - os: "ubuntu-latest" + - os: "ubuntu-22.04" architecture: x86 - os: "ubuntu-20.04" architecture: x86 - os: "macos-13" architecture: x86 - # ubuntu-latest does not have: py27, py36 - - os: "ubuntu-latest" + # ubuntu-22.04 does not have: py27, py36 + - os: "ubuntu-22.04" python-version: "3.6" - # ubuntu-20.04 does not need to test what ubuntu-latest supports + # ubuntu-20.04 does not need to test what ubuntu-22.04 supports - os: "ubuntu-20.04" python-version: "3.7" - os: "ubuntu-20.04" @@ -116,7 +116,7 @@ jobs: strategy: matrix: os: - - "ubuntu-latest" + - "ubuntu-22.04" python-version: - cp27-cp27m - cp27-cp27mu @@ -150,7 +150,7 @@ jobs: strategy: matrix: os: - - "ubuntu-latest" + - "ubuntu-22.04" python-version: - cp36-cp36m - cp37-cp37m @@ -163,10 +163,10 @@ jobs: - "cext" - "nocext" exclude: - # ubuntu-latest does not have: py27, py36 - - os: "ubuntu-latest" + # ubuntu-22.04 does not have: py27, py36 + - os: "ubuntu-22.04" python-version: cp36-cp36m - # ubuntu-20.04 does not need to test what ubuntu-latest supports + # ubuntu-20.04 does not need to test what ubuntu-22.04 supports - os: "ubuntu-20.04" python-version: cp37-cp37m - os: "ubuntu-20.04" @@ -208,7 +208,7 @@ jobs: # run this job using this matrix, excluding some combinations below. matrix: os: - - "ubuntu-latest" + - "ubuntu-22.04" python-version: - "3.7" - "3.8" @@ -217,7 +217,7 @@ jobs: - "3.11" - "3.12" include: - # ubuntu-latest does not have: py27, py36 + # ubuntu-22.04 does not have: py27, py36 - os: "ubuntu-20.04" python-version: "3.6" fail-fast: false @@ -248,7 +248,7 @@ jobs: strategy: matrix: os: - - "ubuntu-latest" + - "ubuntu-22.04" python-version: - "3.11"