Skip to content

Commit

Permalink
latest main
Browse files Browse the repository at this point in the history
  • Loading branch information
benc-db committed Nov 19, 2024
2 parents 997b21d + 711607e commit f193c4b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
- Upgrade databricks-sql-connector dependency to 3.5.0 ([833](https://github.com/databricks/dbt-databricks/pull/833))
- Prepare for python typing deprecations ([837](https://github.com/databricks/dbt-databricks/pull/837))
- Fix behavior flag use in init of DatabricksAdapter (thanks @VersusFacit!) ([836](https://github.com/databricks/dbt-databricks/pull/836))
- Restrict pydantic to V1 per dbt Labs' request ([843](https://github.com/databricks/dbt-databricks/pull/843))

## dbt-databricks 1.8.7 (October 10, 2024)

Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ dbt-adapters>=1.7.0, <2.0
databricks-sdk==0.17.0
keyring>=23.13.0
protobuf<5.0.0
pydantic>=1.10.0, <2
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def _get_plugin_version() -> str:
"keyring>=23.13.0",
"pandas<2.2.0",
"protobuf<5.0.0",
"pydantic~=2.7.0",
"pydantic>=1.10.0, <2",
],
zip_safe=False,
classifiers=[
Expand Down
6 changes: 4 additions & 2 deletions tests/functional/adapter/iceberg/test_iceberg_support.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
from dbt.artifacts.schemas.results import RunStatus


@pytest.mark.skip_profile("databricks_cluster")
# @pytest.mark.skip_profile("databricks_cluster")
@pytest.mark.skip("Skip for now as it is broken in prod")
class TestIcebergTables:
@pytest.fixture(scope="class")
def models(self):
Expand All @@ -20,7 +21,8 @@ def test_iceberg_refs(self, project):
assert len(run_results) == 3


@pytest.mark.skip_profile("databricks_cluster")
# @pytest.mark.skip_profile("databricks_cluster")
@pytest.mark.skip("Skip for now as it is broken in prod")
class TestIcebergSwap:
@pytest.fixture(scope="class")
def models(self):
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/python/test_python_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def test_parsed_model__run_name(self):
assert model.run_name.startswith("hive_metastore-default-test-")

def test_parsed_model__invalid_config(self):
parsed_model = {"alias": "test", "config": []}
parsed_model = {"alias": "test", "config": 1}
with pytest.raises(ValidationError):
ParsedPythonModel(**parsed_model)

Expand Down

0 comments on commit f193c4b

Please sign in to comment.