From: Federico Caselli Date: Mon, 5 Aug 2024 21:26:13 +0000 (+0200) Subject: add python 3.13 to pipeline X-Git-Tag: rel_2_0_36~27 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e526b53bb0d1c77572d01e485b4a3bf3b56c4681;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git add python 3.13 to pipeline Change-Id: Id223cfa08b187c2225ea7a6c29817d79474acfc1 (cherry picked from commit 19f145d7f614372b740e7de8dd3ac54e279eb061) (cherry picked from commit 767e5bf1570684e76e58f5d1b30c9ce158faf88b) --- diff --git a/.github/workflows/create-wheels.yaml b/.github/workflows/create-wheels.yaml index 5f31d230d0..4f7830e351 100644 --- a/.github/workflows/create-wheels.yaml +++ b/.github/workflows/create-wheels.yaml @@ -20,9 +20,9 @@ jobs: matrix: # emulated wheels on linux take too much time, split wheels into multiple runs python: - - "cp37-* cp38-*" - - "cp39-* cp310-*" - - "cp311-* cp312-*" + - "cp37-* cp38-* cp39-*" + - "cp310-* cp311-*" + - "cp312-* cp313-*" wheel_mode: - compiled os: @@ -85,7 +85,7 @@ jobs: - name: Set up Python for twine and pure-python wheel uses: actions/setup-python@v5 with: - python-version: "3.11" + python-version: "3.12" - name: Build pure-python wheel if: ${{ matrix.wheel_mode == 'pure-python' && runner.os == 'Linux' }} diff --git a/.github/workflows/run-test.yaml b/.github/workflows/run-test.yaml index 1d384294a0..85272a21a6 100644 --- a/.github/workflows/run-test.yaml +++ b/.github/workflows/run-test.yaml @@ -37,7 +37,8 @@ jobs: - "3.10" - "3.11" - "3.12" - - "pypy-3.9" + - "3.13.0-alpha - 3.13" + - "pypy-3.10" build-type: - "cext" - "nocext" @@ -48,7 +49,7 @@ jobs: include: # autocommit tests fail on the ci for some reason - - python-version: "pypy-3.9" + - python-version: "pypy-3.10" pytest-args: "-k 'not test_autocommit_on and not test_turn_autocommit_off_via_default_iso_level and not test_autocommit_isolation_level'" - os: "ubuntu-latest" pytest-args: "--dbdriver pysqlite --dbdriver aiosqlite" @@ -80,10 +81,10 @@ jobs: - os: "macos-13" architecture: x86 # pypy does not have cext or x86 - - python-version: "pypy-3.9" + - python-version: "pypy-3.10" build-type: "cext" - os: "windows-latest" - python-version: "pypy-3.9" + python-version: "pypy-3.10" architecture: x86 fail-fast: false @@ -113,7 +114,7 @@ jobs: - name: Run tests run: tox -e github-${{ matrix.build-type }} -- -q --nomemory --notimingintensive ${{ matrix.pytest-args }} - continue-on-error: ${{ matrix.python-version == 'pypy-3.9' }} + continue-on-error: ${{ matrix.python-version == 'pypy-3.10' }} run-test-arm64: # Hopefully something native can be used at some point https://github.blog/changelog/2023-10-30-accelerate-your-ci-cd-with-arm-based-hosted-runners-in-github-actions/ @@ -127,6 +128,8 @@ jobs: - cp39-cp39 - cp310-cp310 - cp311-cp311 + - cp312-cp312 + - cp313-cp313 build-type: - "cext" - "nocext" @@ -167,19 +170,18 @@ jobs: - "3.9" - "3.10" - "3.11" + - "3.12" + - "3.13.0-alpha - 3.13" tox-env: - mypy - - lint - pep484 - exclude: - # run lint only on 3.11 - - tox-env: lint - python-version: "3.8" - - tox-env: lint - python-version: "3.9" + include: + # run lint only on 3.12 - tox-env: lint - python-version: "3.10" + python-version: "3.12" + os: "ubuntu-latest" + exclude: # run pep484 only on 3.10+ - tox-env: pep484 python-version: "3.8"