python312Packages.anthropic 0.15.0 -> 0.20.0 https://github.com/anthropics/anthropic-sdk-python/releases attrpath: python312Packages.anthropic Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/sjgsp19j8mcgylfv4j5jz15rif05k5k1-packages.json.drv building '/nix/store/sjgsp19j8mcgylfv4j5jz15rif05k5k1-packages.json.drv'... Going to be running update for following packages: - python3.12-anthropic-0.15.0 Press Enter key to continue... Running update for: - python3.12-anthropic-0.15.0: UPDATING ... - python3.12-anthropic-0.15.0: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/anthropic/default.nix b/pkgs/development/python-modules/anthropic/default.nix index 0b15d85e2e36..3d4ee2508065 100644 --- a/pkgs/development/python-modules/anthropic/default.nix +++ b/pkgs/development/python-modules/anthropic/default.nix @@ -19,7 +19,7 @@ buildPythonPackage rec { pname = "anthropic"; - version = "0.15.0"; + version = "0.20.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -28,7 +28,7 @@ buildPythonPackage rec { owner = "anthropics"; repo = "anthropic-sdk-python"; rev = "refs/tags/v${version}"; - hash = "sha256-cI+CbQir2QpHAb+72clLGG7ZBsrYT3fY14HzxjtKOsk="; + hash = "sha256-L30A+2Fh2BrILT90S8JusWaPXaWc65rJAkIEaSdnHbQ="; }; nativeBuildInputs = [ No auto update branch exists Old version 0.15.0" not present in staging derivation file with contents: { lib , buildPythonPackage , fetchFromGitHub , hatchling , anyio , distro , dirty-equals , httpx , google-auth , sniffio , pydantic , pytest-asyncio , respx , tokenizers , typing-extensions , pytestCheckHook , pythonOlder }: buildPythonPackage rec { pname = "anthropic"; version = "0.19.1"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "anthropics"; repo = "anthropic-sdk-python"; rev = "refs/tags/v${version}"; hash = "sha256-D9asbwZ9puOuIK6w7cWJ2HmC3JYjamUZPOxVKWq+Va4="; }; nativeBuildInputs = [ hatchling ]; propagatedBuildInputs = [ anyio distro httpx sniffio pydantic tokenizers typing-extensions ]; passthru.optional-dependencies = { vertex = [ google-auth ]; }; nativeCheckInputs = [ dirty-equals pytest-asyncio pytestCheckHook respx ]; disabledTestPaths = [ # require network access "tests/api_resources" ]; pythonImportsCheck = [ "anthropic" ]; meta = with lib; { description = "Anthropic's safety-first language model APIs"; homepage = "https://github.com/anthropics/anthropic-sdk-python"; changelog = "https://github.com/anthropics/anthropic-sdk-python/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ natsukium ]; }; }