python3Packages.anthropic: 0.97.0 -> 0.109.1 (#531754)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user