Skip to content

Commit 87dc783

Browse files
committed
chore(crdb): test 23.1 in CI
1 parent dbddfc5 commit 87dc783

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎.github/workflows/tests.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ jobs:
237237
fail-fast: false
238238
matrix:
239239
include:
240-
- {impl: c, crdb: "latest-v22.1", python: "3.10", libpq: newest}
240+
- {impl: c, crdb: "latest-v23.1", python: "3.10", libpq: newest}
241241
- {impl: python, crdb: "latest-v22.2", python: "3.11"}
242242
env:
243243
PSYCOPG_IMPL: ${{ matrix.impl }}

‎tests/test_client_cursor.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ def test_description_attribs(self, conn):
692692
assert c.name == "now"
693693
assert c.type_code == builtins["date"].oid
694694
assert c.display_size is None
695-
if is_crdb(conn):
695+
if is_crdb(conn) and conn.info.server_version < 230000:
696696
assert c.internal_size == 16
697697
else:
698698
assert c.internal_size == 4

‎tests/test_cursor.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,7 @@ def test_description_attribs(self, conn):
810810
assert c.name == "now"
811811
assert c.type_code == builtins["date"].oid
812812
assert c.display_size is None
813-
if is_crdb(conn):
813+
if is_crdb(conn) and conn.info.server_version < 230000:
814814
assert c.internal_size == 16
815815
else:
816816
assert c.internal_size == 4

0 commit comments

Comments
 (0)