From: Daniele Varrazzo Date: Fri, 10 Oct 2025 13:06:06 +0000 (+0200) Subject: chore(binary): bump packaged versions of libpq, OpenSSL X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d66ad92b9a00dd395dd4febaec21ed79ef42f6a5;p=thirdparty%2Fpsycopg.git chore(binary): bump packaged versions of libpq, OpenSSL --- diff --git a/.github/workflows/packages-bin.yml b/.github/workflows/packages-bin.yml index e2cd55cf4..514a872ef 100644 --- a/.github/workflows/packages-bin.yml +++ b/.github/workflows/packages-bin.yml @@ -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 diff --git a/tools/ci/build_libpq.sh b/tools/ci/build_libpq.sh index 543718a4a..0880526b8 100755 --- a/tools/ci/build_libpq.sh +++ b/tools/ci/build_libpq.sh @@ -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)