Unverified Commit a8efe732 authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

python312Packages.databricks-sdk: 0.45.0 -> 0.46.0 (#389766)

parents c8baaf52 c1a997e8
Loading
Loading
Loading
Loading
+19 −25
Original line number Diff line number Diff line
{
  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,8 +53,7 @@ buildPythonPackage rec {
    requests-mock
  ];

  disabledTests =
    [
  disabledTests = [
    # Require internet access
    # ValueError: default auth: cannot configure default credentials, please check...
    "test_azure_cli_does_not_specify_tenant_id_with_msi"
@@ -71,10 +69,6 @@ buildPythonPackage rec {
    "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"
  ];

  __darwinAllowLocalNetworking = true;