Skip to content

Commit

Permalink
chore(crdb): test 23.1 in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dvarrazzo committed Sep 26, 2023
1 parent dbddfc5 commit 87dc783
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,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 }}
Expand Down
2 changes: 1 addition & 1 deletion tests/test_client_cursor.py
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,7 @@ def test_description_attribs(self, conn):
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
Expand Down
2 changes: 1 addition & 1 deletion tests/test_cursor.py
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,7 @@ def test_description_attribs(self, conn):
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
Expand Down

0 comments on commit 87dc783

Please sign in to comment.