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

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