]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
ci: Add PostgreSQL 17 to CI test grid, remove PostgreSQL 11
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sat, 28 Sep 2024 11:51:16 +0000 (13:51 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sun, 29 Sep 2024 13:38:06 +0000 (15:38 +0200)
.github/workflows/tests.yml
docs/basic/install.rst
tools/build/build_macos_arm64.sh

index a7cb38998b1728f25969106575d9a520a61db279..f78df9dd6dac6afc31cc1112b895ac9bcf75f236 100644 (file)
@@ -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
index 9fa19ee75e83a8ec8561a0668213e5fc04357afe..b4e799bc4b5fabe357f786fba3d8528b85e7ba93 100644 (file)
@@ -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:
 
index 3013efe7f384e5debc5cb7c390fd19192ab161ef..5975dc099042d66c2a66927c87b0ef277138737a 100755 (executable)
@@ -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