From: Federico Caselli Date: Thu, 5 Oct 2023 19:16:14 +0000 (+0200) Subject: update pipelines to include 3.12 X-Git-Tag: rel_1_4_50~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=836e5a4b2249e41b96c27ac27dac5c56618be860;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git update pipelines to include 3.12 Change-Id: I894a03089e4b7eedb3e42de9554c19f9ffea8ce1 --- diff --git a/.github/workflows/create-wheels.yaml b/.github/workflows/create-wheels.yaml index a00465d9fc..101f6af162 100644 --- a/.github/workflows/create-wheels.yaml +++ b/.github/workflows/create-wheels.yaml @@ -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 -. 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 -. 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 -. 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 -. 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 diff --git a/.github/workflows/run-on-pr.yaml b/.github/workflows/run-on-pr.yaml index 9a944b0139..ab51b357b4 100644 --- a/.github/workflows/run-on-pr.yaml +++ b/.github/workflows/run-on-pr.yaml @@ -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 diff --git a/.github/workflows/run-test.yaml b/.github/workflows/run-test.yaml index bea6fd90cf..c015ba4e94 100644 --- a/.github/workflows/run-test.yaml +++ b/.github/workflows/run-test.yaml @@ -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