]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
ci: bump to PostgreSQL 17 in binary packages
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sat, 28 Sep 2024 11:20:54 +0000 (13:20 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sun, 29 Sep 2024 13:47:07 +0000 (15:47 +0200)
It is not possible at the moment to Upgrade OpenSSL to 3.3.2 because of
https://github.com/openssl/openssl/issues/25366

Close #852

.github/workflows/packages-bin.yml
docs/release.rst

index d875b4fe2073ad7b7d63f2ce4bed769eb169b9be..6a3fd62d872c2029d9427334bb75a7ae0c28a7ed 100644 (file)
@@ -13,8 +13,10 @@ jobs:
 
     env:
       # Latest release: https://www.postgresql.org/ftp/source/
-      LIBPQ_VERSION: "16.3"
+      LIBPQ_VERSION: "17.0"
       # Latest release: https://www.openssl.org/source/
+      # Note: 3.3.2 is broken:
+      # https://github.com/openssl/openssl/issues/25366
       OPENSSL_VERSION: "3.3.1"
 
     strategy:
@@ -45,7 +47,7 @@ jobs:
         run: python3 ./tools/build/copy_to_binary.py
 
       - name: Build wheels
-        uses: pypa/cibuildwheel@v2.20.0
+        uses: pypa/cibuildwheel@v2.21.1
         with:
           package-dir: psycopg_binary
         env:
@@ -106,7 +108,7 @@ jobs:
         pyver: [cp310, cp311, cp312, cp313]
 
     env:
-      PG_VERSION: "16"
+      PG_VERSION: "17"
 
     steps:
       - uses: actions/checkout@v4
@@ -121,7 +123,7 @@ jobs:
         run: brew services start postgresql@${PG_VERSION}
 
       - name: Build wheels
-        uses: pypa/cibuildwheel@v2.20.0
+        uses: pypa/cibuildwheel@v2.21.1
         with:
           package-dir: psycopg_binary
         env:
@@ -158,7 +160,7 @@ jobs:
         pyver: [cp38, cp39, cp310, cp311, cp312, cp313]
 
     env:
-      PG_VERSION: "16"
+      PG_VERSION: "17"
 
     steps:
       - uses: actions/checkout@v4
@@ -173,7 +175,7 @@ jobs:
         run: brew services start postgresql@${PG_VERSION}
 
       - name: Build wheels
-        uses: pypa/cibuildwheel@v2.20.0
+        uses: pypa/cibuildwheel@v2.21.1
         with:
           package-dir: psycopg_binary
         env:
@@ -222,7 +224,7 @@ jobs:
         run: python3 ./tools/build/copy_to_binary.py
 
       - name: Build wheels
-        uses: pypa/cibuildwheel@v2.20.0
+        uses: pypa/cibuildwheel@v2.21.1
         with:
           package-dir: psycopg_binary
         env:
index 8a8c4c677b9d85b9021957b21ebadd997bacd32e..fb384d91a72176948f9773224a0b6ba7a8c590dd 100644 (file)
@@ -77,7 +77,9 @@ When a new PostgreSQL major version is released
 - Include the new version in GitHub Actions test and package grids.
 
 - Bump ``PG_VERSION`` in the ``macos`` job of
-  ``.github/workflows/packages-bin.yml``.
+
+  -  ``.github/workflows/packages-bin.yml``.
+  -  ``.github/workflows/tests.yml``.
 
 - Bump ``pg_version`` in ``tools/build/build_macos_arm64.sh``.
 
@@ -88,8 +90,9 @@ When a new PostgreSQL major version is released
   - ``docs/basic/install.rst``;
   - ``content/features/contents.lr`` in the psycopg-website repository.
 
+
 When a new Python major version is released
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 - Add the new version to the relevant test matrices in
   ``.github/workflows/tests.yml`` and ``.github/workflows/packages-bin.yml``.