]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
ci: add Python 3.12 packages build
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Tue, 3 Oct 2023 11:19:35 +0000 (13:19 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Tue, 3 Oct 2023 11:19:35 +0000 (13:19 +0200)
.github/workflows/packages-bin.yml
tools/build/build_macos_arm64.sh

index e118ef0ca2724943da1ea4b156f1058afbc421b5..123c75cb110ac70422b90532553311caf2b755d5 100644 (file)
@@ -19,9 +19,7 @@ jobs:
       fail-fast: false
       matrix:
         arch: [x86_64, i686, ppc64le, aarch64]
-        # NOMERGE: one-off build of cp312 packages
-        # pyver: [cp37, cp38, cp39, cp310, cp311]
-        pyver: [cp312]
+        pyver: [cp37, cp38, cp39, cp310, cp311, cp312]
         platform: [manylinux, musllinux]
 
     steps:
@@ -103,9 +101,7 @@ jobs:
       matrix:
         # These archs require an Apple M1 runner: [arm64, universal2]
         arch: [x86_64]
-        # NOMERGE: one-off build of cp312 packages
-        # pyver: [cp37, cp38, cp39, cp310, cp311]
-        pyver: [cp312]
+        pyver: [cp37, cp38, cp39, cp310, cp311, cp312]
 
     steps:
       - uses: actions/checkout@v3
@@ -148,9 +144,7 @@ jobs:
       matrix:
         # Might want to add win32, untested at the moment.
         arch: [win_amd64]
-        # NOMERGE: one-off build of cp312 packages
-        # pyver: [cp37, cp38, cp39, cp310, cp311]
-        pyver: [cp312]
+        pyver: [cp37, cp38, cp39, cp310, cp311, cp312]
 
     steps:
       - uses: actions/checkout@v3
index 01eccc678b877cdb297b5e8a97d6458495a8f318..2219fc62332c4b996d2f97906707f09195e29518 100755 (executable)
@@ -10,9 +10,7 @@
 set -euo pipefail
 # set -x
 
-# NOMERGE: one-off build of cp312 packages
-# python_versions="3.8.10 3.9.13 3.10.5 3.11.0"
-python_versions="3.12.0"
+python_versions="3.8.10 3.9.13 3.10.5 3.11.0 3.12.0"
 pg_version=16
 
 function log {
@@ -95,9 +93,7 @@ python tools/build/copy_to_binary.py
 # Build the binary packages
 export CIBW_PLATFORM=macos
 export CIBW_ARCHS=arm64
-# NOMERGE: one-off build of cp312 packages
-# export CIBW_BUILD='cp{38,39,310,311}-*'
-export CIBW_BUILD='cp312-*'
+export CIBW_BUILD='cp{38,39,310,311,312}-*'
 export CIBW_TEST_REQUIRES="./psycopg[test] ./psycopg_pool"
 export CIBW_TEST_COMMAND="pytest {project}/tests -m 'not slow and not flakey' --color yes"