From f2084f348194895ecd033b72c01dd8c871bac542 Mon Sep 17 00:00:00 2001 From: sarahec Date: Sun, 14 Jun 2026 18:22:34 +0000 Subject: [PATCH] python3Packages.anthropic: 0.97.0 -> 0.109.1 --- .../development/python-modules/anthropic/default.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/anthropic/default.nix b/pkgs/development/python-modules/anthropic/default.nix index dbaef81775b3..0520d55d610d 100644 --- a/pkgs/development/python-modules/anthropic/default.nix +++ b/pkgs/development/python-modules/anthropic/default.nix @@ -38,14 +38,15 @@ buildPythonPackage (finalAttrs: { pname = "anthropic"; - version = "0.97.0"; + version = "0.109.1"; pyproject = true; + __structuredAttrs = true; src = fetchFromGitHub { owner = "anthropics"; repo = "anthropic-sdk-python"; tag = "v${finalAttrs.version}"; - hash = "sha256-jekixY/D80M9wPvq14GZj20+hDBVhzpmylh8mFSdL6k="; + hash = "sha256-H+blENPgkKhoGPJmAtdszFsJDkAzgprlDso0o2fhwz8="; }; postPatch = '' @@ -98,6 +99,13 @@ buildPythonPackage (finalAttrs: { disabledTests = [ # Test require network access "test_copy_build_request" + # Tests try to launch bash and fail + "test_bash_session_persistence" + "test_bash_timeout" + "test_bash_sentinel_not_spoofable" + "test_bash_stdin_redirect" + "test_bash_session_closed_property" + "test_bash_outer_cancel_closes_subprocess_no_stale_state" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ # Hangs