diff --git a/.github/workflows/test-warehouse.yml b/.github/workflows/test-warehouse.yml index a62279aca..93d69e75f 100644 --- a/.github/workflows/test-warehouse.yml +++ b/.github/workflows/test-warehouse.yml @@ -122,7 +122,8 @@ jobs: run: > pip install "dbt-core${{ inputs.dbt-version && format('=={0}', inputs.dbt-version) }}" - "dbt-${{ (inputs.warehouse-type == 'databricks_catalog' && 'databricks') || inputs.warehouse-type }}${{ inputs.dbt-version && format('<={0}', inputs.dbt-version) }}" + # TODO: remove the <1.10.2 once we have a fix for https://github.com/elementary-data/elementary/issues/1931 + "dbt-${{ (inputs.warehouse-type == 'databricks_catalog' && 'databricks<1.10.2,') || inputs.warehouse-type }}${{ inputs.dbt-version && format('~={0}', inputs.dbt-version) }}" - name: Install Elementary run: | diff --git a/pyproject.toml b/pyproject.toml index e2b25b2da..4cd7dbf6b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,7 +40,8 @@ dbt-snowflake = {version = ">=0.20,<2.0.0", optional = true} dbt-bigquery = {version = ">=0.20,<2.0.0", optional = true} dbt-redshift = {version = ">=0.20,<2.0.0", optional = true} dbt-postgres = {version = ">=0.20,<2.0.0", optional = true} -dbt-databricks = {version = ">=0.20,<2.0.0", optional = true} +# TODO: change back to <2.0.0 once we have a fix for https://github.com/elementary-data/elementary/issues/1931 +dbt-databricks = {version = ">=0.20,<1.10.2", optional = true} dbt-spark = {version = ">=0.20,<2.0.0", optional = true} dbt-athena-community = {version = ">=1.6.3,<2.0.0", optional = true} dbt-trino = {version = ">=1.5.0,<2.0.0", optional = true}