Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update databricks-sdk requirement from ~=0.13.0 to ~=0.14.0 (#651)
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.14.0</h2> <p>Major changes:</p> <ul> <li>GCP Auth is now supported in the Python SDK. To use Google credentials-based authentication, specify your Default Application Credentials in the <code>GOOGLE_CREDENTIALS</code> environment variable or corresponding <code>google_credentials</code> parameter in <code>Config</code> or the client constructors. You may provide either the path to the file containing your credentials or the credentials themselves serialized as JSON. To use Google impersonation, specify the service principal to impersonate in the <code>DATABRICKS_GOOGLE_SERVICE_ACCOUNT</code> environment variable or the corresponding <code>google_service_account</code> parameter in <code>Config</code> or the client constructors. See <a href="https://redirect.github.com/databricks/databricks-sdk-py/pull/444">#444</a> for the changes.</li> </ul> <p>Bug fixes:</p> <ul> <li>Fix flask app example (<a href="https://redirect.github.com/databricks/databricks-sdk-py/pull/445">#445</a>).</li> <li>Fix deserialization of repeated enums (<a href="https://redirect.github.com/databricks/databricks-sdk-py/pull/450">#450</a>, <a href="https://redirect.github.com/databricks/databricks-sdk-py/pull/452">#452</a>).</li> <li>Capture stdout and stderr separately when calling Azure CLI (<a href="https://redirect.github.com/databricks/databricks-sdk-py/pull/460">#460</a>).</li> </ul> <p>Other changes:</p> <ul> <li>Change the name of retries logger to <code>databricks.sdk.retries</code> (<a href="https://redirect.github.com/databricks/databricks-sdk-py/pull/453">#453</a>).</li> </ul> <p>API Changes:</p> <ul> <li>Added <code>pipeline_id</code> field for <code>databricks.sdk.service.catalog.TableInfo</code>.</li> <li>Added <code>enable_predictive_optimization</code> field for <code>databricks.sdk.service.catalog.UpdateCatalog</code> and <code>databricks.sdk.service.catalog.UpdateSchema</code>.</li> <li>Removed <code>databricks.sdk.service.catalog.UpdatePredictiveOptimization</code> and <code>databricks.sdk.service.catalog.UpdatePredictiveOptimizationResponse</code> dataclasses.</li> <li>Removed <code>enable_optimization()</code> method for <a href="https://databricks-sdk-py.readthedocs.io/en/latest/workspace/metastores.html">w.metastores</a> workspace-level service.</li> <li>Added <code>description</code> field for <code>databricks.sdk.service.jobs.CreateJob</code> and <code>databricks.sdk.service.jobs.JobSettings</code>.</li> <li>Added <code>list_network_connectivity_configurations()</code> and <code>list_private_endpoint_rules()</code> methods for <a href="https://databricks-sdk-py.readthedocs.io/en/latest/account/network_connectivity.html">a.network_connectivity</a> account-level service.</li> <li>Added <code>databricks.sdk.service.settings.ListNccAzurePrivateEndpointRulesResponse</code>, <code>databricks.sdk.service.settings.ListNetworkConnectivityConfigurationsRequest</code>, <code>databricks.sdk.service.settings.ListNetworkConnectivityConfigurationsResponse</code>, and <code>databricks.sdk.service.settings.ListPrivateEndpointRulesRequest</code> dataclasses.</li> </ul> <p>Internal changes:</p> <ul> <li>Make ucws tests skipped when DATABRICKS_ACCOUNT_ID is present (<a href="https://redirect.github.com/databricks/databricks-sdk-py/pull/448">#448</a>).</li> </ul> <p>OpenAPI SHA: 22f09783eb8a84d52026f856be3b2068f9498db3, Date: 2023-11-23 Dependency updates:</p> <ul> <li>Introduced "google-auth" dependency to support Google authentication.</li> </ul> </blockquote> </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.14.0</h2> <p>Major changes:</p> <ul> <li>GCP Auth is now supported in the Python SDK. To use Google credentials-based authentication, specify your Default Application Credentials in the <code>GOOGLE_CREDENTIALS</code> environment variable or corresponding <code>google_credentials</code> parameter in <code>Config</code> or the client constructors. You may provide either the path to the file containing your credentials or the credentials themselves serialized as JSON. To use Google impersonation, specify the service principal to impersonate in the <code>DATABRICKS_GOOGLE_SERVICE_ACCOUNT</code> environment variable or the corresponding <code>google_service_account</code> parameter in <code>Config</code> or the client constructors. See <a href="https://redirect.github.com/databricks/databricks-sdk-py/pull/444">#444</a> for the changes.</li> </ul> <p>Bug fixes:</p> <ul> <li>Fix flask app example (<a href="https://redirect.github.com/databricks/databricks-sdk-py/pull/445">#445</a>).</li> <li>Fix deserialization of repeated enums (<a href="https://redirect.github.com/databricks/databricks-sdk-py/pull/450">#450</a>, <a href="https://redirect.github.com/databricks/databricks-sdk-py/pull/452">#452</a>).</li> <li>Capture stdout and stderr separately when calling Azure CLI (<a href="https://redirect.github.com/databricks/databricks-sdk-py/pull/460">#460</a>).</li> </ul> <p>Other changes:</p> <ul> <li>Change the name of retries logger to <code>databricks.sdk.retries</code> (<a href="https://redirect.github.com/databricks/databricks-sdk-py/pull/453">#453</a>).</li> </ul> <p>API Changes:</p> <ul> <li>Added <code>pipeline_id</code> field for <code>databricks.sdk.service.catalog.TableInfo</code>.</li> <li>Added <code>enable_predictive_optimization</code> field for <code>databricks.sdk.service.catalog.UpdateCatalog</code> and <code>databricks.sdk.service.catalog.UpdateSchema</code>.</li> <li>Removed <code>databricks.sdk.service.catalog.UpdatePredictiveOptimization</code> and <code>databricks.sdk.service.catalog.UpdatePredictiveOptimizationResponse</code> dataclasses.</li> <li>Removed <code>enable_optimization()</code> method for <a href="https://databricks-sdk-py.readthedocs.io/en/latest/workspace/metastores.html">w.metastores</a> workspace-level service.</li> <li>Added <code>description</code> field for <code>databricks.sdk.service.jobs.CreateJob</code> and <code>databricks.sdk.service.jobs.JobSettings</code>.</li> <li>Added <code>list_network_connectivity_configurations()</code> and <code>list_private_endpoint_rules()</code> methods for <a href="https://databricks-sdk-py.readthedocs.io/en/latest/account/network_connectivity.html">a.network_connectivity</a> account-level service.</li> <li>Added <code>databricks.sdk.service.settings.ListNccAzurePrivateEndpointRulesResponse</code>, <code>databricks.sdk.service.settings.ListNetworkConnectivityConfigurationsRequest</code>, <code>databricks.sdk.service.settings.ListNetworkConnectivityConfigurationsResponse</code>, and <code>databricks.sdk.service.settings.ListPrivateEndpointRulesRequest</code> dataclasses.</li> </ul> <p>Internal changes:</p> <ul> <li>Make ucws tests skipped when DATABRICKS_ACCOUNT_ID is present (<a href="https://redirect.github.com/databricks/databricks-sdk-py/pull/448">#448</a>).</li> </ul> <p>OpenAPI SHA: 22f09783eb8a84d52026f856be3b2068f9498db3, Date: 2023-11-23 Dependency updates:</p> <ul> <li>Introduced "google-auth" dependency to support Google authentication.</li> </ul> <h2>0.13.0</h2> <ul> <li>Introduce more specific exceptions, like <code>NotFound</code>, <code>AlreadyExists</code>, <code>BadRequest</code>, <code>PermissionDenied</code>, <code>InternalError</code>, and others (<a href="https://redirect.github.com/databricks/databricks-sdk-py/pull/376">#376</a>). This makes it easier to handle errors thrown by the Databricks API. Instead of catching <code>DatabricksError</code> and checking the error_code field, you can catch one of these subtypes of <code>DatabricksError</code>, which is more ergonomic and removes the need to rethrow exceptions that you don't want to catch. For example:</li> </ul> <pre lang="python"><code>try: return (self._ws .permissions .get(object_type, object_id)) except DatabricksError as e: if e.error_code in [ "RESOURCE_DOES_NOT_EXIST", "RESOURCE_NOT_FOUND", "PERMISSION_DENIED", "FEATURE_DISABLED", "BAD_REQUEST"]: logger.warning(...) return None </tr></table> </code></pre> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/databricks/databricks-sdk-py/commit/8da97de038a00f5c15cd8caebccb33b313329ef3"><code>8da97de</code></a> Release v0.14.0 (<a href="https://redirect.github.com/databricks/databricks-sdk-py/issues/463">#463</a>)</li> <li><a href="https://github.com/databricks/databricks-sdk-py/commit/d689d62506d3f3e9258318ec3436a85ed548234d"><code>d689d62</code></a> Capture stdout and stderr separately when calling Azure CLI (<a href="https://redirect.github.com/databricks/databricks-sdk-py/issues/460">#460</a>)</li> <li><a href="https://github.com/databricks/databricks-sdk-py/commit/61dedbc4c8375efd4396e8a06ac1c82019246882"><code>61dedbc</code></a> Bump API spec for Python SDK (<a href="https://redirect.github.com/databricks/databricks-sdk-py/issues/454">#454</a>)</li> <li><a href="https://github.com/databricks/databricks-sdk-py/commit/29c293d522fddd605e99abf35278c1b531adf424"><code>29c293d</code></a> Change the name of retries logger to <code>databricks.sdk.retries</code> (<a href="https://redirect.github.com/databricks/databricks-sdk-py/issues/453">#453</a>)</li> <li><a href="https://github.com/databricks/databricks-sdk-py/commit/d8da7a801eb8f5374a86a6af3b789446729bd450"><code>d8da7a8</code></a> Support GCP Auth (<a href="https://redirect.github.com/databricks/databricks-sdk-py/issues/444">#444</a>)</li> <li><a href="https://github.com/databricks/databricks-sdk-py/commit/7b83ee373521b5b2e0733cd8a1365604bf1d7d55"><code>7b83ee3</code></a> Fix external references in enums (<a href="https://redirect.github.com/databricks/databricks-sdk-py/issues/452">#452</a>)</li> <li><a href="https://github.com/databricks/databricks-sdk-py/commit/2b952c9960b2d22c9ae6e52ca7de09300ecac9cb"><code>2b952c9</code></a> Fix deserialization of repeated enums (<a href="https://redirect.github.com/databricks/databricks-sdk-py/issues/450">#450</a>)</li> <li><a href="https://github.com/databricks/databricks-sdk-py/commit/a16a2041d7a46f4de8fc900bbcaf9f87b3674f0c"><code>a16a204</code></a> Fix flask app example (<a href="https://redirect.github.com/databricks/databricks-sdk-py/issues/445">#445</a>)</li> <li><a href="https://github.com/databricks/databricks-sdk-py/commit/5fc77b0d7b2d5ae42afac638be499ada696ec2ef"><code>5fc77b0</code></a> Make ucws tests skipped when DATABRICKS_ACCOUNT_ID is present (<a href="https://redirect.github.com/databricks/databricks-sdk-py/issues/448">#448</a>)</li> <li>See full diff in <a href="https://github.com/databricks/databricks-sdk-py/compare/v0.13.0...v0.14.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> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information