Skip to content

fix(deps): raise databricks-sdk ceiling to <0.118.0 to resolve #1252 on Spark Connect - #1517

Merged
sd-db merged 1 commit into
mainfrom
sd-db/chore/bump-databricks-sdk-0117-fix-1252
Jun 17, 2026
Merged

fix(deps): raise databricks-sdk ceiling to <0.118.0 to resolve #1252 on Spark Connect#1517
sd-db merged 1 commit into
mainfrom
sd-db/chore/bump-databricks-sdk-0117-fix-1252

Conversation

@sd-db

@sd-db sd-db commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator

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.

@sd-db
sd-db requested a review from jprakash-db as a code owner June 15, 2026 12:59
@sd-db
sd-db force-pushed the sd-db/chore/bump-databricks-sdk-0117-fix-1252 branch from eb51db4 to d93327e Compare June 15, 2026 13:00
@sd-db sd-db mentioned this pull request Jun 15, 2026
…on Spark Connect

databricks-sdk 0.117.0 fixes WorkspaceClient construction crashing with CONTEXT_UNAVAILABLE_FOR_REMOTE_CLIENT when importing databricks.sdk.runtime on Spark Connect (shared-access-mode) clusters - the failure behind #1252 (e.g. Python models on shared clusters).

Raise the upper bound <0.105.0 -> <0.118.0 so installs pick up the fixed SDK, and refresh uv.lock (databricks-sdk 0.104.0 -> 0.117.0). Floor unchanged at >=0.68.0, so requirements.lowest-direct.txt is unaffected.

Verified: unit suite (1182 passed) and a Python-model functional test on a UC cluster both pass against 0.117.0.
@sd-db
sd-db force-pushed the sd-db/chore/bump-databricks-sdk-0117-fix-1252 branch from d93327e to e54be88 Compare June 15, 2026 13:09
@github-actions

Copy link
Copy Markdown

Coverage report

This PR does not seem to contain any modification to coverable code.

@sd-db

sd-db commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator Author

/integration-test

@github-actions

Copy link
Copy Markdown

Integration tests dispatched for PR #1517 by @sd-db. Track progress in the Actions tab.

@github-actions

Copy link
Copy Markdown

Integration results for PR #1517 — UC cluster ✅ success · SQL warehouse ✅ success · All-purpose cluster ✅ success · Shard coverage ✅ success

Run details.

@sd-db
sd-db merged commit 6307f90 into main Jun 17, 2026
11 checks passed
@sd-db
sd-db deleted the sd-db/chore/bump-databricks-sdk-0117-fix-1252 branch June 17, 2026 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Azure Databricks Python Model SparkContext bug introduced in 1.11.0

2 participants