diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 68da674..70a9bd2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -18,7 +18,7 @@ jobs: uses: actions/checkout@v3 with: repository: 'timgraham/django' - ref: 'snowflake-5.0.x' + ref: 'snowflake-5.1.x' path: 'django_repo' - name: Install system packages for Django's Python test dependencies run: | diff --git a/django_snowflake/__init__.py b/django_snowflake/__init__.py index 1b3d0af..9da4b81 100644 --- a/django_snowflake/__init__.py +++ b/django_snowflake/__init__.py @@ -1,4 +1,4 @@ -__version__ = '5.0' +__version__ = '5.1a1' # Check Django compatibility before other imports which may fail if the # wrong version of Django is installed. diff --git a/django_snowflake/features.py b/django_snowflake/features.py index 49e4528..9745028 100644 --- a/django_snowflake/features.py +++ b/django_snowflake/features.py @@ -185,21 +185,16 @@ class DatabaseFeatures(BaseDatabaseFeatures): 'introspection.tests.IntrospectionTests.test_get_constraints_index_types', 'migrations.test_operations.OperationTests.test_add_index', 'migrations.test_operations.OperationTests.test_alter_field_with_index', - 'migrations.test_operations.OperationTests.test_alter_index_together', 'migrations.test_operations.OperationTests.test_remove_index', 'migrations.test_operations.OperationTests.test_rename_index', - 'migrations.test_operations.OperationTests.test_rename_index_unnamed_index', 'schema.tests.SchemaTests.test_add_remove_index', 'schema.tests.SchemaTests.test_alter_field_add_index_to_integerfield', - 'schema.tests.SchemaTests.test_create_index_together', 'schema.tests.SchemaTests.test_index_together', - 'schema.tests.SchemaTests.test_index_together_with_fk', 'schema.tests.SchemaTests.test_indexes', 'schema.tests.SchemaTests.test_order_index', 'schema.tests.SchemaTests.test_remove_constraints_capital_letters', 'schema.tests.SchemaTests.test_remove_db_index_doesnt_remove_custom_indexes', 'schema.tests.SchemaTests.test_remove_field_unique_does_not_remove_meta_constraints', - 'schema.tests.SchemaTests.test_remove_index_together_does_not_remove_meta_indexes', 'schema.tests.SchemaTests.test_remove_unique_together_does_not_remove_meta_constraints', 'schema.tests.SchemaTests.test_text_field_with_db_index', }, diff --git a/django_snowflake/introspection.py b/django_snowflake/introspection.py index 6ff6120..fb67126 100644 --- a/django_snowflake/introspection.py +++ b/django_snowflake/introspection.py @@ -166,7 +166,9 @@ def get_table_description(self, cursor, table_name): ) for ( name, data_type, kind, null, default, pk, unique_key, check, - expression, comment, policy_name, + # *_ ignores policy_name, privacy_domain and any future + # additions to columns in DESCRIBE TABLE output. + expression, comment, *_ ) in table_info ] diff --git a/setup.cfg b/setup.cfg index db7fa75..6047429 100644 --- a/setup.cfg +++ b/setup.cfg @@ -11,7 +11,7 @@ long_description_content_type = text/markdown classifiers = Development Status :: 5 - Production/Stable Framework :: Django - Framework :: Django :: 5.0 + Framework :: Django :: 5.1 License :: OSI Approved :: MIT License Operating System :: OS Independent Programming Language :: Python