Unverified Commit e5af1d9d authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

python3Packages.anthropic: 0.86.0 -> 0.94.0 (#509049)

parents 0bbb74c9 7d5033c3
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -38,14 +38,14 @@

buildPythonPackage (finalAttrs: {
  pname = "anthropic";
  version = "0.86.0";
  version = "0.94.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "anthropics";
    repo = "anthropic-sdk-python";
    tag = "v${finalAttrs.version}";
    hash = "sha256-24z9LrZ6xktwITQHHvslrT4J2RZ/CKbZD3uwbZBV+rE=";
    hash = "sha256-Gh7My8ftI2o0CxrwuVsbr8tdZ2MtKdRw0mfQxb7REJk=";
  };

  postPatch = ''
@@ -90,7 +90,8 @@ buildPythonPackage (finalAttrs: {
    pytest-xdist
    pytestCheckHook
    respx
  ];
  ]
  ++ lib.flatten (builtins.attrValues finalAttrs.passthru.optional-dependencies);

  pythonImportsCheck = [ "anthropic" ];