From: Daniele Varrazzo Date: Sat, 28 Sep 2024 11:20:54 +0000 (+0200) Subject: ci: bump to PostgreSQL 17 in binary packages X-Git-Tag: 3.2.3~1^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2cc362e4dc662413f32d9e289afa0493fb2aada2;p=thirdparty%2Fpsycopg.git ci: bump to PostgreSQL 17 in binary packages 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 --- diff --git a/.github/workflows/packages-bin.yml b/.github/workflows/packages-bin.yml index d875b4fe2..6a3fd62d8 100644 --- a/.github/workflows/packages-bin.yml +++ b/.github/workflows/packages-bin.yml @@ -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: diff --git a/docs/release.rst b/docs/release.rst index 8a8c4c677..fb384d91a 100644 --- a/docs/release.rst +++ b/docs/release.rst @@ -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``.