From: Daniele Varrazzo Date: Thu, 8 Sep 2022 13:00:59 +0000 (+0100) Subject: ci: build packages for Python 3.11 too X-Git-Tag: 3.1.4~2^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c22895ca2caf4e01f8c9840c5a5abf4b72df449;p=thirdparty%2Fpsycopg.git ci: build packages for Python 3.11 too --- diff --git a/.github/workflows/packages.yml b/.github/workflows/packages.yml index e00b382e5..31f774da9 100644 --- a/.github/workflows/packages.yml +++ b/.github/workflows/packages.yml @@ -88,7 +88,7 @@ jobs: fail-fast: false matrix: arch: [x86_64, i686, ppc64le, aarch64] - pyver: [cp37, cp38, cp39, cp310] + pyver: [cp37, cp38, cp39, cp310, cp311] platform: [manylinux, musllinux] steps: @@ -112,7 +112,7 @@ jobs: run: python3 ./tools/build/copy_to_binary.py - name: Build wheels - uses: pypa/cibuildwheel@v2.6.1 + uses: pypa/cibuildwheel@v2.9.0 with: package-dir: psycopg_binary env: @@ -169,7 +169,7 @@ jobs: matrix: # These archs require an Apple M1 runner: [arm64, universal2] arch: [x86_64] - pyver: [cp37, cp38, cp39, cp310] + pyver: [cp37, cp38, cp39, cp310, cp311] steps: - uses: actions/checkout@v3 @@ -178,7 +178,7 @@ jobs: run: python3 ./tools/build/copy_to_binary.py - name: Build wheels - uses: pypa/cibuildwheel@v2.6.1 + uses: pypa/cibuildwheel@v2.9.0 with: package-dir: psycopg_binary env: @@ -209,7 +209,7 @@ jobs: matrix: # Might want to add win32, untested at the moment. arch: [win_amd64] - pyver: [cp37, cp38, cp39, cp310] + pyver: [cp37, cp38, cp39, cp310, cp311] steps: - uses: actions/checkout@v3 @@ -224,7 +224,7 @@ jobs: run: python3 ./tools/build/copy_to_binary.py - name: Build wheels - uses: pypa/cibuildwheel@v2.6.1 + uses: pypa/cibuildwheel@v2.9.0 with: package-dir: psycopg_binary env: diff --git a/tools/build/build_macos_arm64.sh b/tools/build/build_macos_arm64.sh index 7a9945b3d..c318e0794 100755 --- a/tools/build/build_macos_arm64.sh +++ b/tools/build/build_macos_arm64.sh @@ -10,7 +10,7 @@ set -euo pipefail set -x -python_versions="3.8.10 3.9.13 3.10.5" +python_versions="3.8.10 3.9.13 3.10.5 3.11.0" postgres_version=14 # Move to the root of the project