From c1a997e8c7d9f1e0bc074c649f87560fa6008773 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Fri, 14 Mar 2025 10:55:57 +0100 Subject: [PATCH] python312Packages.databricks-sdk: 0.45.0 -> 0.46.0 Diff: https://github.com/databricks/databricks-sdk-py/compare/refs/tags/v0.45.0...v0.46.0 Changelog: https://github.com/databricks/databricks-sdk-py/blob/v0.46.0/CHANGELOG.md --- .../python-modules/databricks-sdk/default.nix | 44 ++++++++----------- 1 file changed, 19 insertions(+), 25 deletions(-) diff --git a/pkgs/development/python-modules/databricks-sdk/default.nix b/pkgs/development/python-modules/databricks-sdk/default.nix index afa4de8209e0..efd1e3a228df 100644 --- a/pkgs/development/python-modules/databricks-sdk/default.nix +++ b/pkgs/development/python-modules/databricks-sdk/default.nix @@ -1,6 +1,5 @@ { lib, - stdenv, buildPythonPackage, fetchFromGitHub, @@ -22,14 +21,14 @@ buildPythonPackage rec { pname = "databricks-sdk"; - version = "0.45.0"; + version = "0.46.0"; pyproject = true; src = fetchFromGitHub { owner = "databricks"; repo = "databricks-sdk-py"; tag = "v${version}"; - hash = "sha256-SoE8MgwOhm82ymjaZQZCzw7hd5DMWxSvgaAwIGlm9cQ="; + hash = "sha256-bvtIeysj3FW4Kj2WZeKSGwkqKoWIxKIzJFiduNlaBWE="; }; build-system = [ @@ -54,28 +53,23 @@ buildPythonPackage rec { requests-mock ]; - disabledTests = - [ - # Require internet access - # ValueError: default auth: cannot configure default credentials, please check... - "test_azure_cli_does_not_specify_tenant_id_with_msi" - "test_azure_cli_fallback" - "test_azure_cli_user_no_management_access" - "test_azure_cli_user_with_management_access" - "test_azure_cli_with_warning_on_stderr" - "test_azure_cli_workspace_header_present" - "test_config_azure_cli_host" - "test_config_azure_cli_host_and_resource_id" - "test_config_azure_cli_host_and_resource_i_d_configuration_precedence" - "test_load_azure_tenant_id_404" - "test_load_azure_tenant_id_happy_path" - "test_load_azure_tenant_id_no_location_header" - "test_load_azure_tenant_id_unparsable_location_header" - ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ - # requests.exceptions.ChunkedEncodingError: ("Connection broken: ConnectionResetError(54, 'Connection reset by peer')", ConnectionResetError(54, 'Connection reset by peer')) - "test_github_oidc_flow_works_with_azure" - ]; + disabledTests = [ + # Require internet access + # ValueError: default auth: cannot configure default credentials, please check... + "test_azure_cli_does_not_specify_tenant_id_with_msi" + "test_azure_cli_fallback" + "test_azure_cli_user_no_management_access" + "test_azure_cli_user_with_management_access" + "test_azure_cli_with_warning_on_stderr" + "test_azure_cli_workspace_header_present" + "test_config_azure_cli_host" + "test_config_azure_cli_host_and_resource_id" + "test_config_azure_cli_host_and_resource_i_d_configuration_precedence" + "test_load_azure_tenant_id_404" + "test_load_azure_tenant_id_happy_path" + "test_load_azure_tenant_id_no_location_header" + "test_load_azure_tenant_id_unparsable_location_header" + ]; __darwinAllowLocalNetworking = true;