From 5c77136629795251e98001932a37fbfb8db246df Mon Sep 17 00:00:00 2001 From: natsukium Date: Sun, 26 Nov 2023 16:26:59 +0900 Subject: [PATCH] python311Packages.anthropic: 0.5.0 -> 0.7.4 Diff: https://github.com/anthropics/anthropic-sdk-python/compare/refs/tags/v0.5.0...v0.7.4 Changelog: https://github.com/anthropics/anthropic-sdk-python/releases/tag/v0.7.4 --- pkgs/development/python-modules/anthropic/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/anthropic/default.nix b/pkgs/development/python-modules/anthropic/default.nix index 8086ecec1139..228342f97082 100644 --- a/pkgs/development/python-modules/anthropic/default.nix +++ b/pkgs/development/python-modules/anthropic/default.nix @@ -4,6 +4,7 @@ , hatchling , anyio , distro +, dirty-equals , httpx , pydantic , pytest-asyncio @@ -16,7 +17,7 @@ buildPythonPackage rec { pname = "anthropic"; - version = "0.5.0"; + version = "0.7.4"; pyproject = true; disabled = pythonOlder "3.8"; @@ -25,7 +26,7 @@ buildPythonPackage rec { owner = "anthropics"; repo = "anthropic-sdk-python"; rev = "refs/tags/v${version}"; - hash = "sha256-+EiFp55tPsILl6uuTh9qmeQDMKlUzegn3xUo6BupN2E="; + hash = "sha256-iLHzoWgAMDZ0AJGVXw2Xnaby07FbhJqNGfW5bPNgfws="; }; nativeBuildInputs = [ @@ -42,6 +43,7 @@ buildPythonPackage rec { ]; nativeCheckInputs = [ + dirty-equals pytest-asyncio pytestCheckHook respx