dbt-databricks icon indicating copy to clipboard operation
dbt-databricks copied to clipboard

Support newer versions of databricks-sdk

Open hauntsaninja opened this issue 1 year ago • 1 comments

Currently this pins databricks-sdk==0.17.0 for unclear reasons: https://github.com/databricks/dbt-databricks/blob/ac4dee7610a2a7d5ff9514a58f315699643242da/setup.py#L61

The pin was introduced in https://github.com/databricks/dbt-databricks/pull/572

hauntsaninja avatar Jul 23 '24 04:07 hauntsaninja

Working on this, though it has temporarily taken a back seat due to needing to respond to some platform breaking changes last week; the reason it was pinned is because 0.18.0 changes Azure OAuth behavior. The goal (which will release in 1.9) is to move to 0.29.0. It is not safe to unpin entirely because SDK is still in Beta and is still releasing breaking changes.

benc-db avatar Jul 23 '24 15:07 benc-db

If I understand correctly, this is related to this:https://github.com/databricks/dbt-databricks/issues/640. We are facing an issue where we hit the one-hour token lifetime limit (we generate the token in our Azure DevOps pipeline). We believe the M2M authentication flow supported below SDK 0.17.0 is fixing this. When would this be expected, or are there alternatives to look into?

nysthee avatar Jan 06 '25 09:01 nysthee

@nysthee we've been waiting for other changes in our dependency change, but we have a couple of PRs to address this, so I'm hopeful we'll resolve it soon.

benc-db avatar Jan 06 '25 17:01 benc-db

Looks like this is resolved because v1.10.0a2 consumes databricks-sdk==0.46.0, is that right (source)? Do you know when v1.10 will be released?

jonmellman avatar Mar 21 '25 21:03 jonmellman

probably next week.

benc-db avatar Mar 21 '25 21:03 benc-db