]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
update pipelines to include 3.12
authorFederico Caselli <cfederico87@gmail.com>
Thu, 5 Oct 2023 19:16:14 +0000 (21:16 +0200)
committerFederico Caselli <cfederico87@gmail.com>
Thu, 5 Oct 2023 19:50:40 +0000 (21:50 +0200)
Change-Id: I894a03089e4b7eedb3e42de9554c19f9ffea8ce1

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

index a00465d9fce8c06145cba9e119ffd8a0137c268f..101f6af162b4a0e280c4e0cbbd953b153718560b 100644 (file)
@@ -28,7 +28,8 @@ jobs:
           - "3.8"
           - "3.9"
           - "3.10"
-          - "3.11.0-rc - 3.11"
+          - "3.11"
+          - "3.12"
         architecture:
           - x64
           - x86
@@ -139,6 +140,7 @@ jobs:
           - cp39-cp39
           - cp310-cp310
           - cp311-cp311
+          - cp312-cp312
         architecture:
           - x64
 
@@ -167,6 +169,8 @@ jobs:
             python-version: cp310-cp310
           - os: "ubuntu-20.04"
             python-version: cp311-cp311
+          - os: "ubuntu-20.04"
+            python-version: cp312-cp312
 
       fail-fast: false
 
@@ -200,11 +204,11 @@ jobs:
           (cat setup.cfg) | %{$_ -replace "tag_build.?=.?dev",""} | set-content setup.cfg
 
       - name: Create wheel for manylinux1 and manylinux2010 for py3
-        if: ${{ matrix.python-version != 'cp27-cp27m' && matrix.python-version != 'cp27-cp27mu' && matrix.python-version != 'cp311-cp311' }}
+        if: ${{ matrix.python-version != 'cp27-cp27m' && matrix.python-version != 'cp27-cp27mu' && matrix.python-version != 'cp311-cp311' && matrix.python-version != 'cp312-cp312' }}
         # this step uses the image provided by pypa here https://github.com/pypa/manylinux to generate the wheels on linux
         # the action uses the image for manylinux2010 but can generate also a manylinux1 wheel
         # change the tag of this image to change the image used
-        uses: RalfG/python-wheels-manylinux-build@v0.5.0-manylinux2010_x86_64
+        uses: RalfG/python-wheels-manylinux-build@v0.7.1-manylinux2010_x86_64
         # this action generates 3 wheels in dist/. linux, manylinux1 and manylinux2010
         with:
           # python-versions is the output of the previous step and is in the form <python tag>-<abi tag>. Eg cp27-cp27mu
@@ -220,7 +224,7 @@ jobs:
         # this step uses the image provided by pypa here https://github.com/pypa/manylinux to generate the wheels on linux
         # the action uses the image for manylinux2010 but can generate also a manylinux1 wheel
         # change the tag of this image to change the image used
-        uses: RalfG/python-wheels-manylinux-build@v0.5.0-manylinux2014_x86_64
+        uses: RalfG/python-wheels-manylinux-build@v0.7.1-manylinux2014_x86_64
         # this action generates 2 wheels in dist/. linux and manylinux2014
         with:
           # python-versions is the output of the previous step and is in the form <python tag>-<abi tag>. Eg cp27-cp27mu
@@ -236,7 +240,7 @@ jobs:
         # this step uses the image provided by pypa here https://github.com/pypa/manylinux to generate the wheels on linux
         # the action uses the image for manylinux2010 but can generate also a manylinux1 wheel
         # change the tag of this image to change the image used
-        uses: RalfG/python-wheels-manylinux-build@v0.5.0-manylinux1_x86_64
+        uses: RalfG/python-wheels-manylinux-build@v0.7.1-manylinux1_x86_64
         # this action generates 2 wheels in dist/. linux and manylinux1
         with:
           # python-versions is the output of the previous step and is in the form <python tag>-<abi tag>. Eg cp27-cp27mu
@@ -301,7 +305,7 @@ jobs:
         # twine on py2 is very old and is no longer updated, so we change to python 3.8 before upload
         uses: actions/setup-python@v4
         with:
-          python-version: "3.8"
+          python-version: "3.11"
 
       - name: Publish wheel
         # the action https://github.com/marketplace/actions/pypi-publish runs only on linux and we cannot specify
@@ -334,6 +338,7 @@ jobs:
           - cp39-cp39
           - cp310-cp310
           - cp311-cp311
+          - cp312-cp312
         exclude:
           # ubuntu-latest does not have: py27, py36
           - os: "ubuntu-latest"
@@ -349,6 +354,8 @@ jobs:
             python-version: cp310-cp310
           - os: "ubuntu-20.04"
             python-version: cp311-cp311
+          - os: "ubuntu-20.04"
+            python-version: cp312-cp312
 
       fail-fast: false
 
@@ -377,7 +384,7 @@ jobs:
         # this step uses the image provided by pypa here https://github.com/pypa/manylinux to generate the wheels on linux
         # the action uses the image for manylinux2014 but can generate also a manylinux1 wheel
         # change the tag of this image to change the image used
-        uses: RalfG/python-wheels-manylinux-build@v0.5.0-manylinux2014_aarch64
+        uses: RalfG/python-wheels-manylinux-build@v0.7.1-manylinux2014_aarch64
         # this action generates 2 wheels in dist/. linux and manylinux2014
         with:
           # python-versions is the output of the previous step and is in the form <python tag>-<abi tag>. Eg cp37-cp37mu
@@ -415,7 +422,7 @@ jobs:
         # twine on py2 is very old and is no longer updated, so we change to python 3.8 before upload
         uses: actions/setup-python@v4
         with:
-          python-version: "3.8"
+          python-version: "3.11"
 
       - name: Publish wheel
         # the action https://github.com/marketplace/actions/pypi-publish runs only on linux and we cannot specify
index 9a944b01391e1cf6045b325646a583682687b3ae..ab51b357b44a30660a5927a0af59d825ea3ce615 100644 (file)
@@ -24,18 +24,13 @@ jobs:
       matrix:
         os:
           - "ubuntu-latest"
-          - "ubuntu-20.04"
         python-version:
-          - "3.10"
+          - "3.11"
         build-type:
           - "cext"
           - "nocext"
         architecture:
           - x64
-        exclude:
-          # ubuntu-20.04 does not need to test what ubuntu-latest supports
-          - os: "ubuntu-20.04"
-            python-version: "3.10"
 
       # abort all jobs as soon as one fails
       fail-fast: true
@@ -69,7 +64,7 @@ jobs:
         os:
           - "ubuntu-latest"
         python-version:
-          - "3.10"
+          - "3.11"
 
       fail-fast: false
 
@@ -102,7 +97,7 @@ jobs:
         os:
           - "ubuntu-latest"
         python-version:
-          - "3.10"
+          - "3.11"
 
       fail-fast: false
 
index bea6fd90cfc14c815bf101023b6bd5d30cecd009..c015ba4e9472db6ae43c922042e11d80c2c7f429 100644 (file)
@@ -27,6 +27,7 @@ jobs:
       # run this job using this matrix, excluding some combinations below.
       matrix:
         os:
+          - "ubuntu-20.04"
           - "ubuntu-latest"
           - "windows-latest"
           - "macos-latest"
@@ -36,7 +37,8 @@ jobs:
           - "3.8"
           - "3.9"
           - "3.10"
-          - "3.11.0-rc - 3.11"
+          - "3.11"
+          - "3.12"
           # waiting on https://foss.heptapod.net/pypy/pypy/-/issues/3690
           # which also seems to be in 3.9
           # - "pypy-3.9"
@@ -76,7 +78,9 @@ jobs:
           - os: "ubuntu-20.04"
             python-version: "3.10"
           - os: "ubuntu-20.04"
-            python-version: "3.11.0-rc - 3.11"
+            python-version: "3.11"
+          - os: "ubuntu-20.04"
+            python-version: "3.12"
           # pypy does not have cext
           # - python-version: "pypy-3.9"
           #   build-type: "cext"
@@ -154,6 +158,7 @@ jobs:
           - cp39-cp39
           - cp310-cp310
           - cp311-cp311
+          - cp312-cp312
         build-type:
           - "cext"
           - "nocext"
@@ -204,29 +209,17 @@ jobs:
       matrix:
         os:
           - "ubuntu-latest"
-          - "ubuntu-20.04"
         python-version:
-          - "3.6"
           - "3.7"
           - "3.8"
           - "3.9"
           - "3.10"
-          - "3.11.0-rc - 3.11"
-        exclude:
+          - "3.11"
+          - "3.12"
+        include:
           # ubuntu-latest does not have: py27, py36
-          - os: "ubuntu-latest"
-            python-version: "3.6"
-          # ubuntu-20.04 does not need to test what ubuntu-latest supports
           - os: "ubuntu-20.04"
-            python-version: "3.7"
-          - os: "ubuntu-20.04"
-            python-version: "3.8"
-          - os: "ubuntu-20.04"
-            python-version: "3.9"
-          - os: "ubuntu-20.04"
-            python-version: "3.10"
-          - os: "ubuntu-20.04"
-            python-version: "3.11.0-rc - 3.11"
+            python-version: "3.6"
       fail-fast: false
 
     # steps to run in each job. Some are github actions, others run shell commands
@@ -257,7 +250,7 @@ jobs:
         os:
           - "ubuntu-latest"
         python-version:
-          - "3.10"
+          - "3.11"
 
       fail-fast: false