Skip to content

Commit

Permalink
Updates for SQLA 2.0.35
Browse files Browse the repository at this point in the history
  • Loading branch information
gordthompson authored and rafiss committed Oct 1, 2024
1 parent 2ba81ad commit 7bd628f
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 14 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ jobs:
docker pull cockroachdb/${{ matrix.crdb-version }}
docker run --rm -d --name crdb -p 26257:26257 \
cockroachdb/${{ matrix.crdb-version }} start-single-node --insecure
sleep 10
docker exec crdb cockroach sql --insecure --host=localhost:26257 \
-e 'CREATE SCHEMA test_schema; CREATE SCHEMA test_schema_2;'
- name: Install testrunner
run: pip install --user tox==${TOX_VERSION}
- name: Test
Expand Down
20 changes: 10 additions & 10 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ backports-tarfile==1.2.0
# via jaraco-context
certifi==2024.8.30
# via requests
cffi==1.17.0
cffi==1.17.1
# via cryptography
charset-normalizer==3.3.2
# via requests
Expand All @@ -12,13 +12,13 @@ distlib==0.3.8
# via virtualenv
docutils==0.21.2
# via readme-renderer
filelock==3.15.4
filelock==3.16.0
# via
# tox
# virtualenv
idna==3.8
idna==3.10
# via requests
importlib-metadata==8.4.0
importlib-metadata==8.5.0
# via
# keyring
# twine
Expand All @@ -38,7 +38,7 @@ markdown-it-py==3.0.0
# via rich
mdurl==0.1.2
# via markdown-it-py
more-itertools==10.4.0
more-itertools==10.5.0
# via
# jaraco-classes
# jaraco-functools
Expand All @@ -48,7 +48,7 @@ packaging==24.1
# via tox
pkginfo==1.10.0
# via twine
platformdirs==4.2.2
platformdirs==4.3.3
# via virtualenv
pluggy==1.5.0
# via tox
Expand All @@ -70,7 +70,7 @@ requests-toolbelt==1.0.0
# via twine
rfc3986==2.0.0
# via twine
rich==13.8.0
rich==13.8.1
# via twine
secretstorage==3.3.3
# via keyring
Expand All @@ -82,11 +82,11 @@ tox==3.23.1
# via -r dev-requirements.in
twine==5.1.1
# via -r dev-requirements.in
urllib3==2.2.2
urllib3==2.2.3
# via
# requests
# twine
virtualenv==20.26.3
virtualenv==20.26.4
# via tox
zipp==3.20.1
zipp==3.20.2
# via importlib-metadata
8 changes: 4 additions & 4 deletions test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ attrs==24.2.0
# via pytest
futures==3.0.5
# via -r test-requirements.in
greenlet==3.0.3
greenlet==3.1.0
# via sqlalchemy
iniconfig==2.0.0
# via pytest
Expand All @@ -18,21 +18,21 @@ markupsafe==2.1.5
# via mako
mock==5.1.0
# via -r test-requirements.in
more-itertools==10.4.0
more-itertools==10.5.0
# via -r test-requirements.in
packaging==24.1
# via pytest
pluggy==1.5.0
# via pytest
psycopg==3.2.1
psycopg==3.2.2
# via -r test-requirements.in
psycopg2==2.9.9
# via -r test-requirements.in
py==1.11.0
# via pytest
pytest==7.1.3
# via -r test-requirements.in
sqlalchemy==2.0.34
sqlalchemy==2.0.35
# via
# -r test-requirements.in
# alembic
Expand Down
6 changes: 6 additions & 0 deletions test/test_suite_sqlalchemy.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ def test_get_noncol_index(self):
# test not designed to handle ('desc', 'nulls_last')
pass

@skip("cockroachdb")
def test_get_multi_check_constraints(self):
# we return results for extra tables that the test does not expect:
# geography_columns, geometry_columns, spatial_ref_sys
pass

def test_get_multi_columns(self):
insp = inspect(config.db)
actual = insp.get_multi_columns()
Expand Down

0 comments on commit 7bd628f

Please sign in to comment.