diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c343b76..4c1f024 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/dev-requirements.txt b/dev-requirements.txt index 611f610..0e4ba25 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/test-requirements.txt b/test-requirements.txt index 5da1fe0..fd1151d 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -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 @@ -18,13 +18,13 @@ 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 @@ -32,7 +32,7 @@ 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 diff --git a/test/test_suite_sqlalchemy.py b/test/test_suite_sqlalchemy.py index 213f02a..d3036ec 100644 --- a/test/test_suite_sqlalchemy.py +++ b/test/test_suite_sqlalchemy.py @@ -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()