]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
chore(binary): bump packaged versions of libpq, OpenSSL
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Fri, 10 Oct 2025 13:06:06 +0000 (15:06 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sun, 12 Oct 2025 17:22:43 +0000 (19:22 +0200)
.github/workflows/packages-bin.yml
tools/ci/build_libpq.sh

index e2cd55cf45f9829783a5c07205c934d85efcbfbf..514a872ef3e90e58210f7b1fe7c6a276de2b3504 100644 (file)
@@ -5,12 +5,21 @@ name: Build binary packages
 #
 # You can see the caches at https://github.com/psycopg/psycopg/actions/caches
 #
+# Or from the API:
+#
+#   curl -fsSL -X GET \
+#     -H "Accept: application/vnd.github+json" \
+#     -H "Authorization: Bearer $GITHUB_TOKEN" \
+#     -H "X-GitHub-Api-Version: 2022-11-28" \
+#     "https://api.github.com/repos/psycopg/psycopg/actions/caches" \
+#   | jq -r '.actions_caches[].key'
+#
 # You can delete a cache using:
 #
-#   curl -L -X DELETE
-#     -H "Accept: application/vnd.github+json"
-#     -H "Authorization: Bearer $GITHUB_TOKEN"
-#     -H "X-GitHub-Api-Version: 2022-11-28"
+#   curl -fsSL -X DELETE \
+#     -H "Accept: application/vnd.github+json" \
+#     -H "Authorization: Bearer $GITHUB_TOKEN" \
+#     -H "X-GitHub-Api-Version: 2022-11-28" \
 #     "https://api.github.com/repos/psycopg/psycopg/actions/caches?key=libpq-manylinux-ppc64le-17.2-3.4.0"
 #
 # ref: https://docs.github.com/en/rest/actions/cache?apiVersion=2022-11-28#delete-github-actions-caches-for-a-repository-using-a-cache-key
@@ -25,7 +34,7 @@ on:
 
 env:
   # Latest release: https://www.postgresql.org/ftp/source/
-  LIBPQ_VERSION: "17.5"
+  LIBPQ_VERSION: "18.0"
   # Note: On windows the latest version can be found at
   # https://vcpkg.io/en/package/libpq
   # However the command line tool doesn't have a flag to specify to install
@@ -33,7 +42,7 @@ env:
   # https://github.com/microsoft/vcpkg/discussions/25622
 
   # Latest release: https://www.openssl.org/source/
-  OPENSSL_VERSION: "3.5.0"
+  OPENSSL_VERSION: "3.5.4"
 
   # A string to differentiate build cacke keys to allow building different
   # flavours of libpq in different branches without mixups. Currently used to
@@ -147,7 +156,7 @@ jobs:
         uses: actions/cache@v4
         with:
           path: /tmp/libpq.build
-          key: libpq-${{ env.LIBPQ_VERSION }}-macos-${{ matrix.arch }}-${{ env.OPENSSL_VERSION }}${{ env.PQ_FLAGS }}
+          key: libpq-macos-${{ env.LIBPQ_VERSION }}-${{ matrix.arch }}-${{ env.OPENSSL_VERSION }}${{ env.PQ_FLAGS }}
 
       - name: Create the binary package source tree
         run: python3 ./tools/ci/copy_to_binary.py
index 543718a4a6f3358bc0a4eaf1809cae5b369d6ea7..0880526b89ac2a87d184b1c1dbdf749761933a7d 100755 (executable)
@@ -52,7 +52,7 @@ fi
 case "$ID" in
     centos)
         yum update -y
-        yum install -y flex krb5-devel pam-devel perl-IPC-Cmd zlib-devel
+        yum install -y flex krb5-devel pam-devel perl-IPC-Cmd perl-Time-Piece zlib-devel
         ;;
 
     alpine)