Skip to content

Commit 6307f90

Browse files
authored
fix(deps): raise databricks-sdk ceiling to <0.118.0 to resolve #1252 on Spark Connect (#1517)
## Summary Raises the `databricks-sdk` upper bound to `<0.118.0` so installs pick up `databricks-sdk` 0.117.0, which fixes `WorkspaceClient` construction crashing with `CONTEXT_UNAVAILABLE_FOR_REMOTE_CLIENT` on Spark Connect (shared-access-mode) clusters. Closes #1252. ## What changed - `pyproject.toml`: `databricks-sdk` ceiling `<0.105.0` → `<0.118.0`. - `uv.lock`: refreshed — `databricks-sdk` 0.104.0 → 0.117.0 (and its new `urllib3` dependency). ## How is this tested? - Unit suite: `1182 passed, 6 skipped` against `databricks-sdk` 0.117.0. - Functional: a Python-model test on a UC cluster (`TestPythonModel`) passes against 0.117.0 — exercises the SDK job/command-submission path.Reproduced the fix directly: `WorkspaceClient` construction crashes on 0.104.0 and succeeds on 0.117.0.
1 parent a1a882e commit 6307f90

3 files changed

Lines changed: 7 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
- Add a functional test for incremental column-mask removal: dropping a `column_mask` from a model with an existing incremental relation issues `ALTER COLUMN ... DROP MASK` and leaves the column unmasked (test-only, no runtime impact). ([#1514](https://github.com/databricks/dbt-databricks/pull/1514))
1313
- Raise the `dbt-adapters` upper bound to `<1.25.0` ([#1507](https://github.com/databricks/dbt-databricks/pull/1507))
14+
- Raise the `databricks-sdk` upper bound to `<0.118.0` to pick up 0.117.0, which fixes `WorkspaceClient` construction failing with `CONTEXT_UNAVAILABLE_FOR_REMOTE_CLIENT` on Spark Connect clusters ([#1517](https://github.com/databricks/dbt-databricks/pull/1517) closes [#1252](https://github.com/databricks/dbt-databricks/issues/1252))
1415
- Make the remaining incremental functional tests (tags, column tags, tblproperties, liquid clustering, column masks, persist_docs, replace table) rerun-safe so a `pytest --reruns` retry no longer inherits mutated state (rewritten `schema.yml`/model files, half-built relations) from the failed attempt (test-only, no runtime impact).
1516

1617
## dbt-databricks 1.12.1 (June 10, 2026)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ classifiers = [
2323
]
2424
dependencies = [
2525
"click>=8.2.0, <9.0.0",
26-
"databricks-sdk>=0.68.0, <0.105.0",
26+
"databricks-sdk>=0.68.0, <0.118.0",
2727
"databricks-sql-connector[pyarrow]>=4.1.1, <4.2.7",
2828
"dbt-adapters>=1.22.0, <1.25.0",
2929
"dbt-common>=1.37.0, <1.38.0",

uv.lock

Lines changed: 5 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)