Skip to content

Commit

Permalink
Update databricks-sdk requirement from ~=0.6.0 to ~=0.7.0 (#123)
Browse files Browse the repository at this point in the history
Updates the requirements on
[databricks-sdk](https://github.com/databricks/databricks-sdk-py) to
permit the latest version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/databricks/databricks-sdk-py/releases">databricks-sdk's
releases</a>.</em></p>
<blockquote>
<h2>v0.7.0</h2>
<ul>
<li>Added support for GZIP'ed streaming responses (<a
href="https://redirect.github.com/databricks/databricks-sdk-py/pull/306">#306</a>).</li>
<li>Added support for per-method request headers to ApiClient (<a
href="https://redirect.github.com/databricks/databricks-sdk-py/pull/302">#302</a>).</li>
<li>Added support for BinaryIO for streaming request and response bodies
(<a
href="https://redirect.github.com/databricks/databricks-sdk-py/pull/303">#303</a>).</li>
<li>Added a link to the API reference (<a
href="https://redirect.github.com/databricks/databricks-sdk-py/pull/311">#311</a>).</li>
<li>Check workspaceUrl explicitly in runtime repl auth (<a
href="https://redirect.github.com/databricks/databricks-sdk-py/pull/312">#312</a>).</li>
</ul>
<p>Breaking Changes:</p>
<ul>
<li>Added support for the Files API (using application/octet-stream) in
OpenAPI. The names of parameters have changed from <code>src</code> to
<code>contents</code>, and <code>w.files.download()</code> now returns a
<code>files.DownloadResponse</code>, whose <code>contents</code> field
is a <code>BinaryIO</code> object. When reading a download, the user
must explicitly close this object to allow the connection to return to
the connection pool.</li>
</ul>
<p>Breaking API Changes:</p>
<ul>
<li>Changed <code>list()</code> method for <a
href="https://databricks-sdk-py.readthedocs.io/en/latest/account/account_storage_credentials.html">a.account_storage_credentials</a>
account-level service to return
<code>databricks.sdk.service.catalog.StorageCredentialInfoList</code>
dataclass.</li>
<li>Removed <a
href="https://databricks-sdk-py.readthedocs.io/en/latest/workspace/securable_tags.html">w.securable_tags</a>
workspace-level service and all associated classes.</li>
<li>Removed <a
href="https://databricks-sdk-py.readthedocs.io/en/latest/workspace/subentity_tags.html">w.subentity_tags</a>
workspace-level service and all associated classes.</li>
<li>Removed <code>instance_pool_fleet_attributes</code> field for
<code>databricks.sdk.service.compute.CreateInstancePool</code>.</li>
<li>Removed <code>instance_pool_fleet_attributes</code> field for
<code>databricks.sdk.service.compute.EditInstancePool</code>.</li>
<li>Removed
<code>databricks.sdk.service.compute.FleetLaunchTemplateOverride</code>
dataclass.</li>
<li>Removed
<code>databricks.sdk.service.compute.FleetOnDemandOption</code>
dataclass.</li>
<li>Removed
<code>databricks.sdk.service.compute.FleetOnDemandOptionAllocationStrategy</code>
dataclass.</li>
<li>Removed <code>databricks.sdk.service.compute.FleetSpotOption</code>
dataclass.</li>
<li>Removed
<code>databricks.sdk.service.compute.FleetSpotOptionAllocationStrategy</code>
dataclass.</li>
<li>Removed <code>instance_pool_fleet_attributes</code> field for
<code>databricks.sdk.service.compute.GetInstancePool</code>.</li>
<li>Removed <code>instance_pool_fleet_attributes</code> field for
<code>databricks.sdk.service.compute.InstancePoolAndStats</code>.</li>
<li>Removed
<code>databricks.sdk.service.compute.InstancePoolFleetAttributes</code>
dataclass.</li>
<li>Changed <code>get_by_name()</code> method for <a
href="https://databricks-sdk-py.readthedocs.io/en/latest/workspace/experiments.html">w.experiments</a>
workspace-level service to return
<code>databricks.sdk.service.ml.GetExperimentResponse</code>
dataclass.</li>
<li>Changed <code>get_experiment()</code> method for <a
href="https://databricks-sdk-py.readthedocs.io/en/latest/workspace/experiments.html">w.experiments</a>
workspace-level service to return
<code>databricks.sdk.service.ml.GetExperimentResponse</code>
dataclass.</li>
<li>Renamed
<code>databricks.sdk.service.ml.GetExperimentByNameResponse</code>
dataclass to
<code>databricks.sdk.service.ml.GetExperimentResponse</code>.</li>
<li>Renamed
<code>databricks.sdk.service.catalog.ProvisioningState</code> to
<code>databricks.sdk.service.catalog.ProvisioningInfoState</code>
dataclass.</li>
</ul>
<p>API Changes:</p>
<ul>
<li>Added <a
href="https://databricks-sdk-py.readthedocs.io/en/latest/workspace/model_versions.html">w.model_versions</a>
workspace-level service.</li>
<li>Added <a
href="https://databricks-sdk-py.readthedocs.io/en/latest/workspace/registered_models.html">w.registered_models</a>
workspace-level service.</li>
<li>Added <code>browse_only</code> field for
<code>databricks.sdk.service.catalog.CatalogInfo</code>.</li>
<li>Added <code>full_name</code> field for
<code>databricks.sdk.service.catalog.CatalogInfo</code>.</li>
<li>Added <code>provisioning_info</code> field for
<code>databricks.sdk.service.catalog.CatalogInfo</code>.</li>
<li>Added <code>securable_kind</code> field for
<code>databricks.sdk.service.catalog.CatalogInfo</code>.</li>
<li>Added <code>securable_type</code> field for
<code>databricks.sdk.service.catalog.CatalogInfo</code>.</li>
<li>Added <code>provisioning_info</code> field for
<code>databricks.sdk.service.catalog.ConnectionInfo</code>.</li>
<li>Added <code>options</code> field for
<code>databricks.sdk.service.catalog.CreateCatalog</code>.</li>
<li>Added <code>options</code> field for
<code>databricks.sdk.service.catalog.UpdateCatalog</code>.</li>
<li>Added
<code>databricks.sdk.service.catalog.CatalogInfoSecurableKind</code>
dataclass.</li>
<li>Added
<code>databricks.sdk.service.catalog.CreateRegisteredModelRequest</code>
dataclass.</li>
<li>Added <code>databricks.sdk.service.catalog.DeleteAliasRequest</code>
dataclass.</li>
<li>Added
<code>databricks.sdk.service.catalog.DeleteModelVersionRequest</code>
dataclass.</li>
<li>Added
<code>databricks.sdk.service.catalog.DeleteRegisteredModelRequest</code>
dataclass.</li>
<li>Added <code>databricks.sdk.service.catalog.GetByAliasRequest</code>
dataclass.</li>
<li>Added
<code>databricks.sdk.service.catalog.GetModelVersionRequest</code>
dataclass.</li>
<li>Added
<code>databricks.sdk.service.catalog.GetRegisteredModelRequest</code>
dataclass.</li>
<li>Added
<code>databricks.sdk.service.catalog.ListModelVersionsRequest</code>
dataclass.</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/databricks/databricks-sdk-py/blob/main/CHANGELOG.md">databricks-sdk's
changelog</a>.</em></p>
<blockquote>
<h2>0.7.0</h2>
<ul>
<li>Added support for GZIP'ed streaming responses (<a
href="https://redirect.github.com/databricks/databricks-sdk-py/pull/306">#306</a>).</li>
<li>Added support for per-method request headers to ApiClient (<a
href="https://redirect.github.com/databricks/databricks-sdk-py/pull/302">#302</a>).</li>
<li>Added support for BinaryIO for streaming request and response bodies
(<a
href="https://redirect.github.com/databricks/databricks-sdk-py/pull/303">#303</a>).</li>
<li>Added a link to the API reference (<a
href="https://redirect.github.com/databricks/databricks-sdk-py/pull/311">#311</a>).</li>
<li>Check workspaceUrl explicitly in runtime repl auth (<a
href="https://redirect.github.com/databricks/databricks-sdk-py/pull/312">#312</a>).</li>
</ul>
<p>Breaking Changes:</p>
<ul>
<li>Added support for the Files API (using application/octet-stream) in
OpenAPI. The names of parameters have changed from <code>src</code> to
<code>contents</code>, and <code>w.files.download()</code> now returns a
<code>files.DownloadResponse</code>, whose <code>contents</code> field
is a <code>BinaryIO</code> object. When reading a download, the user
must explicitly close this object to allow the connection to return to
the connection pool.</li>
</ul>
<p>Breaking API Changes:</p>
<ul>
<li>Changed <code>list()</code> method for <a
href="https://databricks-sdk-py.readthedocs.io/en/latest/account/account_storage_credentials.html">a.account_storage_credentials</a>
account-level service to return
<code>databricks.sdk.service.catalog.StorageCredentialInfoList</code>
dataclass.</li>
<li>Removed <a
href="https://databricks-sdk-py.readthedocs.io/en/latest/workspace/securable_tags.html">w.securable_tags</a>
workspace-level service and all associated classes.</li>
<li>Removed <a
href="https://databricks-sdk-py.readthedocs.io/en/latest/workspace/subentity_tags.html">w.subentity_tags</a>
workspace-level service and all associated classes.</li>
<li>Removed <code>instance_pool_fleet_attributes</code> field for
<code>databricks.sdk.service.compute.CreateInstancePool</code>.</li>
<li>Removed <code>instance_pool_fleet_attributes</code> field for
<code>databricks.sdk.service.compute.EditInstancePool</code>.</li>
<li>Removed
<code>databricks.sdk.service.compute.FleetLaunchTemplateOverride</code>
dataclass.</li>
<li>Removed
<code>databricks.sdk.service.compute.FleetOnDemandOption</code>
dataclass.</li>
<li>Removed
<code>databricks.sdk.service.compute.FleetOnDemandOptionAllocationStrategy</code>
dataclass.</li>
<li>Removed <code>databricks.sdk.service.compute.FleetSpotOption</code>
dataclass.</li>
<li>Removed
<code>databricks.sdk.service.compute.FleetSpotOptionAllocationStrategy</code>
dataclass.</li>
<li>Removed <code>instance_pool_fleet_attributes</code> field for
<code>databricks.sdk.service.compute.GetInstancePool</code>.</li>
<li>Removed <code>instance_pool_fleet_attributes</code> field for
<code>databricks.sdk.service.compute.InstancePoolAndStats</code>.</li>
<li>Removed
<code>databricks.sdk.service.compute.InstancePoolFleetAttributes</code>
dataclass.</li>
<li>Changed <code>get_by_name()</code> method for <a
href="https://databricks-sdk-py.readthedocs.io/en/latest/workspace/experiments.html">w.experiments</a>
workspace-level service to return
<code>databricks.sdk.service.ml.GetExperimentResponse</code>
dataclass.</li>
<li>Changed <code>get_experiment()</code> method for <a
href="https://databricks-sdk-py.readthedocs.io/en/latest/workspace/experiments.html">w.experiments</a>
workspace-level service to return
<code>databricks.sdk.service.ml.GetExperimentResponse</code>
dataclass.</li>
<li>Renamed
<code>databricks.sdk.service.ml.GetExperimentByNameResponse</code>
dataclass to
<code>databricks.sdk.service.ml.GetExperimentResponse</code>.</li>
<li>Renamed
<code>databricks.sdk.service.catalog.ProvisioningState</code> to
<code>databricks.sdk.service.catalog.ProvisioningInfoState</code>
dataclass.</li>
</ul>
<p>API Changes:</p>
<ul>
<li>Added <a
href="https://databricks-sdk-py.readthedocs.io/en/latest/workspace/model_versions.html">w.model_versions</a>
workspace-level service.</li>
<li>Added <a
href="https://databricks-sdk-py.readthedocs.io/en/latest/workspace/registered_models.html">w.registered_models</a>
workspace-level service.</li>
<li>Added <code>browse_only</code> field for
<code>databricks.sdk.service.catalog.CatalogInfo</code>.</li>
<li>Added <code>full_name</code> field for
<code>databricks.sdk.service.catalog.CatalogInfo</code>.</li>
<li>Added <code>provisioning_info</code> field for
<code>databricks.sdk.service.catalog.CatalogInfo</code>.</li>
<li>Added <code>securable_kind</code> field for
<code>databricks.sdk.service.catalog.CatalogInfo</code>.</li>
<li>Added <code>securable_type</code> field for
<code>databricks.sdk.service.catalog.CatalogInfo</code>.</li>
<li>Added <code>provisioning_info</code> field for
<code>databricks.sdk.service.catalog.ConnectionInfo</code>.</li>
<li>Added <code>options</code> field for
<code>databricks.sdk.service.catalog.CreateCatalog</code>.</li>
<li>Added <code>options</code> field for
<code>databricks.sdk.service.catalog.UpdateCatalog</code>.</li>
<li>Added
<code>databricks.sdk.service.catalog.CatalogInfoSecurableKind</code>
dataclass.</li>
<li>Added
<code>databricks.sdk.service.catalog.CreateRegisteredModelRequest</code>
dataclass.</li>
<li>Added <code>databricks.sdk.service.catalog.DeleteAliasRequest</code>
dataclass.</li>
<li>Added
<code>databricks.sdk.service.catalog.DeleteModelVersionRequest</code>
dataclass.</li>
<li>Added
<code>databricks.sdk.service.catalog.DeleteRegisteredModelRequest</code>
dataclass.</li>
<li>Added <code>databricks.sdk.service.catalog.GetByAliasRequest</code>
dataclass.</li>
<li>Added
<code>databricks.sdk.service.catalog.GetModelVersionRequest</code>
dataclass.</li>
<li>Added
<code>databricks.sdk.service.catalog.GetRegisteredModelRequest</code>
dataclass.</li>
<li>Added
<code>databricks.sdk.service.catalog.ListModelVersionsRequest</code>
dataclass.</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/databricks/databricks-sdk-py/commit/ca4aeb5cced8c6f2fb1e62a081eb3b5b555703f9"><code>ca4aeb5</code></a>
Release v0.7.0 (<a
href="https://redirect.github.com/databricks/databricks-sdk-py/issues/316">#316</a>)</li>
<li><a
href="https://github.com/databricks/databricks-sdk-py/commit/e05c8c08679bae0d25fbccf4a0b0035edd4ed44e"><code>e05c8c0</code></a>
Update OpenAPI Spec &amp; Merge Files API (<a
href="https://redirect.github.com/databricks/databricks-sdk-py/issues/304">#304</a>)</li>
<li><a
href="https://github.com/databricks/databricks-sdk-py/commit/0f11a96ecbd29eb2ceb4106f05e5a1f952422366"><code>0f11a96</code></a>
Check workspaceUrl explicitly in runtime repl auth (<a
href="https://redirect.github.com/databricks/databricks-sdk-py/issues/312">#312</a>)</li>
<li><a
href="https://github.com/databricks/databricks-sdk-py/commit/8858e27d174eb2b62844c0b15a5c801b5149b2d6"><code>8858e27</code></a>
Add a link to the API reference (<a
href="https://redirect.github.com/databricks/databricks-sdk-py/issues/311">#311</a>)</li>
<li><a
href="https://github.com/databricks/databricks-sdk-py/commit/721a2ac17d4732724a30aa66384185ae0ff11ae3"><code>721a2ac</code></a>
Fix integ tests. No need to use a Beta DBR (<a
href="https://redirect.github.com/databricks/databricks-sdk-py/issues/309">#309</a>)</li>
<li><a
href="https://github.com/databricks/databricks-sdk-py/commit/821b02a9e4a448ed9803eeb85402f196e75e0cf7"><code>821b02a</code></a>
Support BinaryIO for streaming request and response bodies (<a
href="https://redirect.github.com/databricks/databricks-sdk-py/issues/303">#303</a>)</li>
<li><a
href="https://github.com/databricks/databricks-sdk-py/commit/27356dd7b2e6c608dbedc85bd6f2c512f494fdb4"><code>27356dd</code></a>
Propagate request headers to ApiClient (<a
href="https://redirect.github.com/databricks/databricks-sdk-py/issues/302">#302</a>)</li>
<li><a
href="https://github.com/databricks/databricks-sdk-py/commit/d19adf03ec825040a55c9b56c3836f185ac089a8"><code>d19adf0</code></a>
[DECO-2229] Handle GZIP'ed streaming responses (<a
href="https://redirect.github.com/databricks/databricks-sdk-py/issues/306">#306</a>)</li>
<li><a
href="https://github.com/databricks/databricks-sdk-py/commit/c93811b61fcb6349eb3a61efa4e82c253c1e709b"><code>c93811b</code></a>
Skip Graviton runtimes for testing notebook native auth (<a
href="https://redirect.github.com/databricks/databricks-sdk-py/issues/294">#294</a>)</li>
<li>See full diff in <a
href="https://github.com/databricks/databricks-sdk-py/compare/v0.6.0...v0.7.0">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

[DECO-2229]:
https://databricks.atlassian.net/browse/DECO-2229?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Aug 31, 2023
1 parent 1589313 commit dea437f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ classifiers = [
"Programming Language :: Python :: Implementation :: PyPy",
]
dependencies = [
"databricks-sdk~=0.6.0",
"databricks-sdk~=0.7.0",
"typer[all]>=0.9.0,<0.10.0",
"pyhocon>=0.3.60,<0.4.0",
"pydantic>=2.0.3, <3.0.0",
Expand Down

0 comments on commit dea437f

Please sign in to comment.