]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
chore: test with Python 3.11 rc1
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sun, 15 May 2022 16:10:24 +0000 (18:10 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Tue, 25 Oct 2022 12:35:47 +0000 (14:35 +0200)
.github/workflows/tests.yml
psycopg/tox.ini
psycopg_c/tox.ini

index 29b968d4a765abd8c37cab4f996c26e05ed7180f..d8014fb33d16989242ef7ee168f49c25f0f7be81 100644 (file)
@@ -27,12 +27,16 @@ jobs:
           # Test different combinations of Python, Postgres, libpq.
           - {impl: python, python: "3.7", postgres: "postgres:10", libpq: "newest"}
           - {impl: python, python: "3.8", postgres: "postgres:12", libpq: ""}
-          - {impl: python, python: "3.9", postgres: "postgres:14", libpq: ""}
-          - {impl: python, python: "3.10", postgres: "postgres:15", libpq: "oldest"}
+          - {impl: python, python: "3.9", postgres: "postgres:13", libpq: ""}
+          - {impl: python, python: "3.10", postgres: "postgres:14", libpq: ""}
+          - {impl: python, python: "3.11", postgres: "postgres:15", libpq: "oldest"}
+
           - {impl: c, python: "3.7", postgres: "postgres:15", libpq: "newest"}
-          - {impl: c, python: "3.8", postgres: "postgres:14", libpq: ""}
-          - {impl: c, python: "3.9", postgres: "postgres:13", libpq: ""}
-          - {impl: c, python: "3.10", postgres: "postgres:11", libpq: "oldest"}
+          - {impl: c, python: "3.8", postgres: "postgres:13", libpq: ""}
+          - {impl: c, python: "3.9", postgres: "postgres:14", libpq: ""}
+          - {impl: c, python: "3.10", postgres: "postgres:13", libpq: "oldest"}
+          - {impl: c, python: "3.11", postgres: "postgres:10", libpq: "newest"}
+
           - {impl: dns, python: "3.9", postgres: "postgres:14", libpq: ""}
           - {impl: postgis, python: "3.9", postgres: "postgis/postgis", libpq: ""}
 
@@ -128,10 +132,12 @@ jobs:
           - {impl: python, python: "3.8"}
           - {impl: python, python: "3.9"}
           - {impl: python, python: "3.10"}
+          - {impl: python, python: "3.11"}
           - {impl: c, python: "3.7"}
           - {impl: c, python: "3.8"}
           - {impl: c, python: "3.9"}
           - {impl: c, python: "3.10"}
+          - {impl: c, python: "3.11"}
 
     env:
       PSYCOPG_IMPL: ${{ matrix.impl }}
@@ -180,10 +186,12 @@ jobs:
           - {impl: python, python: "3.8"}
           - {impl: python, python: "3.9"}
           - {impl: python, python: "3.10"}
+          - {impl: python, python: "3.11"}
           - {impl: c, python: "3.7"}
           - {impl: c, python: "3.8"}
           - {impl: c, python: "3.9"}
           - {impl: c, python: "3.10"}
+          - {impl: c, python: "3.11"}
 
     env:
       PSYCOPG_IMPL: ${{ matrix.impl }}
index be1c2557c6231069e16b0ec6757050b0c32acf79..aa1c9dce3e896cf5b06684ede6f621f0056606e2 100644 (file)
@@ -1,5 +1,5 @@
 [tox]
-envlist = {3.7,3.8,3.9,3.10}
+envlist = {3.7,3.8,3.9,3.10,3.11}
 isolated_build = True
 
 # Retry flakey tests by re-running the failed tests up to 3 times.
index 007f10cd18175e33e26d918cd30fa9f8568f2b33..3b050e82e9c3fb656cdcf3b2a17b7cf99e1f9d3c 100644 (file)
@@ -1,5 +1,5 @@
 [tox]
-envlist = {3.7,3.8,3.9,3.10}
+envlist = {3.7,3.8,3.9,3.10,3.11}
 isolated_build = True
 
 [testenv]