From: Daniele Varrazzo Date: Sun, 15 May 2022 16:10:24 +0000 (+0200) Subject: chore: test with Python 3.11 rc1 X-Git-Tag: 3.1.4~2^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4af628451cfe6784b5803b803f9f685af7beff7;p=thirdparty%2Fpsycopg.git chore: test with Python 3.11 rc1 --- diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 29b968d4a..d8014fb33 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 }} diff --git a/psycopg/tox.ini b/psycopg/tox.ini index be1c2557c..aa1c9dce3 100644 --- a/psycopg/tox.ini +++ b/psycopg/tox.ini @@ -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. diff --git a/psycopg_c/tox.ini b/psycopg_c/tox.ini index 007f10cd1..3b050e82e 100644 --- a/psycopg_c/tox.ini +++ b/psycopg_c/tox.ini @@ -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]