From: Daniele Varrazzo Date: Tue, 26 Sep 2023 16:54:10 +0000 (+0200) Subject: chore(crdb): test 23.1 in CI X-Git-Tag: pool-3.2.0~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=604e62397ca565bcbd19a578b51d9faa85520055;p=thirdparty%2Fpsycopg.git chore(crdb): test 23.1 in CI --- diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 12893e706..b16530023 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -244,7 +244,7 @@ jobs: fail-fast: false matrix: include: - - {impl: c, crdb: "latest-v22.1", python: "3.10", libpq: newest} + - {impl: c, crdb: "latest-v23.1", python: "3.10", libpq: newest} - {impl: python, crdb: "latest-v22.2", python: "3.11"} env: PSYCOPG_IMPL: ${{ matrix.impl }} diff --git a/tests/test_cursor.py b/tests/test_cursor.py index 2e607ec54..c0d57dac1 100644 --- a/tests/test_cursor.py +++ b/tests/test_cursor.py @@ -871,7 +871,7 @@ class TestColumn: assert c.name == "now" assert c.type_code == builtins["date"].oid assert c.display_size is None - if is_crdb(conn): + if is_crdb(conn) and conn.info.server_version < 230000: assert c.internal_size == 16 else: assert c.internal_size == 4