]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
add python 3.13 to pipeline
authorFederico Caselli <cfederico87@gmail.com>
Mon, 5 Aug 2024 21:26:13 +0000 (23:26 +0200)
committerFederico Caselli <cfederico87@gmail.com>
Thu, 19 Sep 2024 21:34:32 +0000 (23:34 +0200)
Change-Id: Id223cfa08b187c2225ea7a6c29817d79474acfc1
(cherry picked from commit 19f145d7f614372b740e7de8dd3ac54e279eb061)
(cherry picked from commit 767e5bf1570684e76e58f5d1b30c9ce158faf88b)

.github/workflows/create-wheels.yaml
.github/workflows/run-test.yaml

index 5f31d230d059ec923ee8816df424b6fe3979507f..4f7830e3512754c84c968df9f90439f2293486a5 100644 (file)
@@ -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' }}
index 1d384294a0aa0623e3c4666a3e113aa84d91fe0a..85272a21a6ffa24684f6ae462d66bf3df20272b1 100644 (file)
@@ -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"