python311Packages.anthropic 0 -> 1 attrpath: python311Packages.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/w24lc388961bv32hwmqvpwry68gvrdxw-packages.json.drv building '/nix/store/w24lc388961bv32hwmqvpwry68gvrdxw-packages.json.drv'... Going to be running update for following packages: - python3.11-anthropic-0.15.0 Press Enter key to continue... Running update for: - python3.11-anthropic-0.15.0: UPDATING ... - python3.11-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..97b2c5cf11a2 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.16.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-gQLvW8Xq2UYsijOLlCbfBHpFu0/CWWJcjZmZcZ26wIg="; }; nativeBuildInputs = [ No auto update branch exists Received ExitFailure 1 when running Raw command: /nix/store/62fm7r6175k2bgvhc19hn9bdhw90wa3n-nix-2.18.1/bin/nix-build --option sandbox true --arg config "{ allowBroken = true; allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A python311Packages.anthropic nix build failed. /nix/store/cv4lvgqf3m7g1jdyqrw9nq2kpgkfmdi5-python3.11-pluggy-1.4.0/lib/python3.11/site-packages/pluggy/_manager.py:119 /nix/store/cv4lvgqf3m7g1jdyqrw9nq2kpgkfmdi5-python3.11-pluggy-1.4.0/lib/python3.11/site-packages/pluggy/_callers.py:102 /nix/store/ag11jfk4zd2igxx0ql733bbxssy2hmx4-python3.11-pytest-7.4.4/lib/python3.11/site-packages/_pytest/python.py:194 /build/source/tests/test_client.py:1010 /build/source/tests/test_client.py:998 /nix/store/ldx7mln2f25nkrf394pp51qv3vrqbap5-python3.11-anthropic-0.16.0/lib/python3.11/site-packages/anthropic/_base_client.py:481 /nix/store/ldx7mln2f25nkrf394pp51qv3vrqbap5-python3.11-anthropic-0.16.0/lib/python3.11/site-packages/anthropic/_base_client.py:427 /nix/store/svsc5aqf098z5fx4wpaghlvmi52d55xz-python3.11-httpx-0.26.0/lib/python3.11/site-packages/httpx/_urls.py:115 /nix/store/svsc5aqf098z5fx4wpaghlvmi52d55xz-python3.11-httpx-0.26.0/lib/python3.11/site-packages/httpx/_urlparse.py:244 /nix/store/svsc5aqf098z5fx4wpaghlvmi52d55xz-python3.11-httpx-0.26.0/lib/python3.11/site-packages/httpx/_urlparse.py:462 /nix/store/sxr2igfkwhxbagri49b8krmcqz168sim-python3-3.11.8/lib/python3.11/re/__init__.py:223 ------------------------------ Captured log call ------------------------------- DEBUG  anthropic._base_client:_base_client.py:439 Request options: {'method': 'get', 'url': '/foo'} DEBUG  anthropic._base_client:_base_client.py:439 Request options: {'method': 'get', 'url': '/foo'} DEBUG  anthropic._base_client:_base_client.py:439 Request options: {'method': 'get', 'url': '/foo'} DEBUG  anthropic._base_client:_base_client.py:439 Request options: {'method': 'get', 'url': '/foo'} DEBUG  anthropic._base_client:_base_client.py:439 Request options: {'method': 'get', 'url': '/foo'} DEBUG  anthropic._base_client:_base_client.py:439 Request options: {'method': 'get', 'url': '/foo'} DEBUG  anthropic._base_client:_base_client.py:439 Request options: {'method': 'get', 'url': '/foo'} DEBUG  anthropic._base_client:_base_client.py:439 Request options: {'method': 'get', 'url': '/foo'} DEBUG  anthropic._base_client:_base_client.py:439 Request options: {'method': 'get', 'url': '/foo'} DEBUG  anthropic._base_client:_base_client.py:439 Request options: {'method': 'get', 'url': '/foo'} DEBUG  anthropic._base_client:_base_client.py:439 Request options: {'method': 'get', 'url': '/foo'} =========================== short test summary info ============================ FAILED tests/test_client.py::TestAnthropic::test_copy_build_request - AssertionError FAILED tests/test_client.py::TestAsyncAnthropic::test_copy_build_request - AssertionError ERROR tests/test_client.py::TestAsyncAnthropic::test_raw_response - pluggy.PluggyTeardownRaisedWarning: A plugin raised an exception during an ... ERROR tests/test_utils/test_typing.py::test_extract_type_var_generic_subclass_different_ordering_multiple - DeprecationWarning: pytest-asyncio detected an unclosed event loop when tea... =================== 2 failed, 236 passed, 2 errors in 7.77s ==================== /nix/store/3qnm3nwjajgqa771dmi2dnwxrw0kzq5m-stdenv-linux/setup: line 1578: pop_var_context: head of shell_variables not a function context