Loading pkgs/development/python-modules/anthropic/default.nix +24 −12 Original line number Diff line number Diff line { lib , anyio , buildPythonPackage , dirty-equals , distro , fetchFromGitHub , google-auth , hatch-fancy-pypi-readme , hatchling , anyio , distro , dirty-equals , httpx , google-auth , sniffio , pydantic , pytest-asyncio , pytestCheckHook , pythonOlder , respx , sniffio , tokenizers , typing-extensions , pytestCheckHook , pythonOlder }: buildPythonPackage rec { pname = "anthropic"; version = "0.19.1"; version = "0.25.6"; pyproject = true; disabled = pythonOlder "3.8"; Loading @@ -28,11 +29,12 @@ buildPythonPackage rec { owner = "anthropics"; repo = "anthropic-sdk-python"; rev = "refs/tags/v${version}"; hash = "sha256-D9asbwZ9puOuIK6w7cWJ2HmC3JYjamUZPOxVKWq+Va4="; hash = "sha256-83TufOgu6W9UvoCEUgDiw6gXDAdwyIKEALVF0hjj6wk="; }; build-system = [ hatchling hatch-fancy-pypi-readme ]; dependencies = [ Loading @@ -56,13 +58,23 @@ buildPythonPackage rec { respx ]; pythonImportsCheck = [ "anthropic" ]; disabledTests = [ # Test require network access "test_copy_build_request" ]; disabledTestPaths = [ # require network access # Test require network access "tests/api_resources" ]; pythonImportsCheck = [ "anthropic" pytestFlagsArray = [ "-W" "ignore::DeprecationWarning" ]; meta = with lib; { Loading Loading
pkgs/development/python-modules/anthropic/default.nix +24 −12 Original line number Diff line number Diff line { lib , anyio , buildPythonPackage , dirty-equals , distro , fetchFromGitHub , google-auth , hatch-fancy-pypi-readme , hatchling , anyio , distro , dirty-equals , httpx , google-auth , sniffio , pydantic , pytest-asyncio , pytestCheckHook , pythonOlder , respx , sniffio , tokenizers , typing-extensions , pytestCheckHook , pythonOlder }: buildPythonPackage rec { pname = "anthropic"; version = "0.19.1"; version = "0.25.6"; pyproject = true; disabled = pythonOlder "3.8"; Loading @@ -28,11 +29,12 @@ buildPythonPackage rec { owner = "anthropics"; repo = "anthropic-sdk-python"; rev = "refs/tags/v${version}"; hash = "sha256-D9asbwZ9puOuIK6w7cWJ2HmC3JYjamUZPOxVKWq+Va4="; hash = "sha256-83TufOgu6W9UvoCEUgDiw6gXDAdwyIKEALVF0hjj6wk="; }; build-system = [ hatchling hatch-fancy-pypi-readme ]; dependencies = [ Loading @@ -56,13 +58,23 @@ buildPythonPackage rec { respx ]; pythonImportsCheck = [ "anthropic" ]; disabledTests = [ # Test require network access "test_copy_build_request" ]; disabledTestPaths = [ # require network access # Test require network access "tests/api_resources" ]; pythonImportsCheck = [ "anthropic" pytestFlagsArray = [ "-W" "ignore::DeprecationWarning" ]; meta = with lib; { Loading