python312Packages.anthropic 0.15.0 -> 0.19.1 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..76b852c71f6d 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.19.1"; 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-D9asbwZ9puOuIK6w7cWJ2HmC3JYjamUZPOxVKWq+Va4="; }; nativeBuildInputs = [ No auto update branch exists Received ExitFailure 1 when running Raw command: /nix/store/6r0bm8shswm9v08kzvq24ib48mx3kxmn-nix-2.18.1/bin/nix-build --option sandbox true --arg config "{ allowBroken = true; allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A python312Packages.anthropic nix build failed. warnings.warn('There is no current event loop', E DeprecationWarning: There is no current event loop ________________ TestAsyncAnthropic.test_client_timeout_option _________________ /nix/store/3apm7r5x6rlz9gyzf6vmsywmkjkr7jmy-python3.12-pytest-asyncio-0.23.5/lib/python3.12/site-packages/pytest_asyncio/plugin.py:440: in runtest super().runtest() /nix/store/3apm7r5x6rlz9gyzf6vmsywmkjkr7jmy-python3.12-pytest-asyncio-0.23.5/lib/python3.12/site-packages/pytest_asyncio/plugin.py:904: in inner _loop = asyncio.get_event_loop() /nix/store/dqsflsigjcxisziiynrxlbsm2y71m4bq-python3-3.12.2/lib/python3.12/asyncio/events.py:697: in get_event_loop warnings.warn('There is no current event loop', E DeprecationWarning: There is no current event loop ______________ TestAsyncAnthropic.test_http_client_timeout_option ______________ /nix/store/3apm7r5x6rlz9gyzf6vmsywmkjkr7jmy-python3.12-pytest-asyncio-0.23.5/lib/python3.12/site-packages/pytest_asyncio/plugin.py:440: in runtest super().runtest() /nix/store/3apm7r5x6rlz9gyzf6vmsywmkjkr7jmy-python3.12-pytest-asyncio-0.23.5/lib/python3.12/site-packages/pytest_asyncio/plugin.py:904: in inner _loop = asyncio.get_event_loop() /nix/store/dqsflsigjcxisziiynrxlbsm2y71m4bq-python3-3.12.2/lib/python3.12/asyncio/events.py:697: in get_event_loop warnings.warn('There is no current event loop', E DeprecationWarning: There is no current event loop =========================== short test summary info ============================ FAILED tests/test_client.py::TestAsyncAnthropic::test_raw_response - DeprecationWarning: There is no current event loop FAILED tests/test_client.py::TestAsyncAnthropic::test_raw_response_for_binary - DeprecationWarning: There is no current event loop FAILED tests/test_client.py::TestAsyncAnthropic::test_copy_build_request - pluggy.PluggyTeardownRaisedWarning: A plugin raised an exception during an ... FAILED tests/test_client.py::TestAsyncAnthropic::test_request_timeout - DeprecationWarning: There is no current event loop FAILED tests/test_client.py::TestAsyncAnthropic::test_client_timeout_option - DeprecationWarning: There is no current event loop FAILED tests/test_client.py::TestAsyncAnthropic::test_http_client_timeout_option - DeprecationWarning: There is no current event loop ERROR tests/test_client.py::TestAnthropic::test_invalid_http_client - pluggy.PluggyTeardownRaisedWarning: A plugin raised an exception during an ... ERROR tests/test_client.py::TestAsyncAnthropic::test_multipart_repeating_array - 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... =================== 6 failed, 258 passed, 3 errors in 7.77s ==================== /nix/store/v099hqvw5z87423p4hz1vfhzaqa07dii-stdenv-linux/setup: line 1578: pop_var_context: head of shell_variables not a function context