From: Daniele Varrazzo Date: Sat, 28 Sep 2024 11:51:16 +0000 (+0200) Subject: ci: Add PostgreSQL 17 to CI test grid, remove PostgreSQL 11 X-Git-Tag: 3.2.3~1^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2a0242163b144153a6c7b9af08c47c9f3fd790f4;p=thirdparty%2Fpsycopg.git ci: Add PostgreSQL 17 to CI test grid, remove PostgreSQL 11 --- diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a7cb38998..f78df9dd6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -26,21 +26,21 @@ jobs: matrix: include: # Test different combinations of Python, Postgres, libpq. - - {impl: python, python: "3.8", postgres: "postgres:11", libpq: newest} - - {impl: python, python: "3.9", postgres: "postgres:13"} - - {impl: python, python: "3.10", postgres: "postgres:14"} - - {impl: python, python: "3.11", postgres: "postgres:15", libpq: master} - - {impl: python, python: "3.12", postgres: "postgres:16", libpq: oldest} - - {impl: python, python: "3.13", postgres: "postgres:16"} - - - {impl: c, python: "3.8", postgres: "postgres:16", libpq: newest} - - {impl: c, python: "3.9", postgres: "postgres:14", libpq: master} - - {impl: c, python: "3.10", postgres: "postgres:15"} - - {impl: c, python: "3.11", postgres: "postgres:12", libpq: oldest} - - {impl: c, python: "3.12", postgres: "postgres:11", libpq: newest} - - {impl: c, python: "3.13", postgres: "postgres:15"} - - - {impl: python, python: "3.8", ext: gevent, postgres: "postgres:16"} + - {impl: python, python: "3.8", postgres: "postgres:17", libpq: oldest} + - {impl: python, python: "3.9", postgres: "postgres:16", libpq: master} + - {impl: python, python: "3.10", postgres: "postgres:15"} + - {impl: python, python: "3.11", postgres: "postgres:14"} + - {impl: python, python: "3.12", postgres: "postgres:13", libpq: newest} + - {impl: python, python: "3.13", postgres: "postgres:12"} + + - {impl: c, python: "3.8", postgres: "postgres:12", libpq: master} + - {impl: c, python: "3.9", postgres: "postgres:13"} + - {impl: c, python: "3.10", postgres: "postgres:14"} + - {impl: c, python: "3.11", postgres: "postgres:15", libpq: oldest} + - {impl: c, python: "3.12", postgres: "postgres:16", libpq: newest} + - {impl: c, python: "3.13", postgres: "postgres:17"} + + - {impl: python, python: "3.8", ext: gevent, postgres: "postgres:17"} - {impl: c, python: "3.12", ext: gevent, postgres: "postgres:14"} - {impl: python, python: "3.9", ext: dns, postgres: "postgres:14"} - {impl: python, python: "3.9", ext: postgis, postgres: "postgis/postgis"} @@ -167,7 +167,7 @@ jobs: # Don't run timing-based tests as they regularly fail. # pproxy-based tests fail too, with the proxy not coming up in 2s. NOT_MARKERS: "timing proxy mypy" - PG_VERSION: "16" + PG_VERSION: "17" steps: - uses: actions/checkout@v4 @@ -224,7 +224,7 @@ jobs: # Don't run timing-based tests as they regularly fail. # pproxy-based tests fail too, with the proxy not coming up in 2s. NOT_MARKERS: "timing proxy mypy" - PG_VERSION: "16" + PG_VERSION: "17" steps: - uses: actions/checkout@v4 diff --git a/docs/basic/install.rst b/docs/basic/install.rst index 9fa19ee75..b4e799bc4 100644 --- a/docs/basic/install.rst +++ b/docs/basic/install.rst @@ -31,9 +31,17 @@ The Psycopg version documented here has *official and tested* support for: - **Note:** Only the pure Python version is supported. -- PostgreSQL: from version 10 to 16 +- PostgreSQL: from version 10 to 17 + + - **Note:** PostgreSQL `currently supported release`__ are actively tested + in the CI. Out-of-support releases are supported on a best-effort basis. + + Only the pure Python version is supported. + - OS: Linux, macOS, Windows +.. __: https://www.postgresql.org/support/versioning/ + The tests to verify the supported systems run in `Github workflows`__: anything that is not tested there is not officially supported. This includes: diff --git a/tools/build/build_macos_arm64.sh b/tools/build/build_macos_arm64.sh index 3013efe7f..5975dc099 100755 --- a/tools/build/build_macos_arm64.sh +++ b/tools/build/build_macos_arm64.sh @@ -10,7 +10,7 @@ set -euo pipefail python_versions="3.8.19 3.9.19 3.10.14 3.11.9 3.12.5 3.13.0rc1" -pg_version=16 +pg_version=17 function log { echo "$@" >&2