From b168f6ad5d46d1c39ea8b34ef80d4ac72a9f58ab Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Tue, 3 Jun 2025 09:48:45 -0700 Subject: [PATCH 1/3] python3Packages.anthropic: 0.51.0 -> 0.52.2 changelog: https://github.com/anthropics/anthropic-sdk-python/releases/tag/v0.52.2 diff: https://github.com/anthropics/anthropic-sdk-python/compare/v0.51.0...v0.52.2 --- pkgs/development/python-modules/anthropic/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/anthropic/default.nix b/pkgs/development/python-modules/anthropic/default.nix index 2bbe891870ef..de7f25e359e7 100644 --- a/pkgs/development/python-modules/anthropic/default.nix +++ b/pkgs/development/python-modules/anthropic/default.nix @@ -30,14 +30,14 @@ buildPythonPackage rec { pname = "anthropic"; - version = "0.51.0"; + version = "0.52.2"; pyproject = true; src = fetchFromGitHub { owner = "anthropics"; repo = "anthropic-sdk-python"; tag = "v${version}"; - hash = "sha256-gD3qZpPKtKZtuoGqnKVgFp0gCxpL0Aq5NGFCMk+z3cQ="; + hash = "sha256-vCIS2NDsScKESfYFHDTSRLb9ZhUsrEPHyfuubrbc+44="; }; postPatch = '' From 5bfefc51d99f79cd3ea2364dc718ea4a623d20ac Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Thu, 5 Jun 2025 13:38:40 -0700 Subject: [PATCH 2/3] python3Packages.langchain-tests: 0.3.19 -> 0.3.20 changelog: https://github.com/langchain-ai/langchain/releases/tag/langchain-tests%3D%3D0.3.20 diff: https://github.com/langchain-ai/langchain/compare/langchain-tests%3D%3D0.3.19...langchain-tests%3D%3D0.3.20 --- .../python-modules/langchain-tests/default.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/langchain-tests/default.nix b/pkgs/development/python-modules/langchain-tests/default.nix index 7c6bb1762386..2b3862edd3ee 100644 --- a/pkgs/development/python-modules/langchain-tests/default.nix +++ b/pkgs/development/python-modules/langchain-tests/default.nix @@ -10,6 +10,10 @@ httpx, langchain-core, syrupy, + pytest-benchmark, + pytest-codspeed, + pytest-recording, + vcrpy, # buildInputs pytest, @@ -26,14 +30,14 @@ buildPythonPackage rec { pname = "langchain-tests"; - version = "0.3.19"; + version = "0.3.20"; pyproject = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain"; tag = "langchain-tests==${version}"; - hash = "sha256-DSTngWRFseJ6kSAY7Lxxkh77QFr0jhHxG3mH89QmdxA="; + hash = "sha256-RMuxWA/n8d71FReFKO3Y/5P0MYk4aZ5WU2/TRxf9UuE="; }; sourceRoot = "${src.name}/libs/standard-tests"; @@ -51,8 +55,12 @@ buildPythonPackage rec { httpx langchain-core pytest-asyncio + pytest-benchmark + pytest-codspeed + pytest-recording pytest-socket syrupy + vcrpy ]; buildInputs = [ pytest ]; From 495cadca873cbf4915ac927c55d3bb0c82aadf14 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Tue, 3 Jun 2025 09:35:57 -0700 Subject: [PATCH 3/3] python3Packages.langchain-anthropic: 0.3.13 -> 0.3.15 changelog: https://github.com/langchain-ai/langchain/releases/tag/langchain-anthropic%3D%3D0.3.15 diff: https://github.com/langchain-ai/langchain/compare/langchain-anthropic%3D%3D0.3.13...langchain-anthropic%3D%3D0.3.15 --- .../python-modules/langchain-anthropic/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/langchain-anthropic/default.nix b/pkgs/development/python-modules/langchain-anthropic/default.nix index 7a7f95ad5e5a..25bfd22922b7 100644 --- a/pkgs/development/python-modules/langchain-anthropic/default.nix +++ b/pkgs/development/python-modules/langchain-anthropic/default.nix @@ -20,14 +20,14 @@ buildPythonPackage rec { pname = "langchain-anthropic"; - version = "0.3.13"; + version = "0.3.15"; pyproject = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain"; tag = "langchain-anthropic==${version}"; - hash = "sha256-CloIxDPnBnKDUeS4psRvpz8ifK/xR/U62wG+ORHginM="; + hash = "sha256-GOD6pMuUDCfrQ6MP+/HXZIg5wHUDRysosEjXjewY/9M="; }; sourceRoot = "${src.name}/libs/partners/anthropic"; @@ -52,7 +52,9 @@ buildPythonPackage rec { pytestCheckHook ]; - pytestFlagsArray = [ "tests/unit_tests" ]; + disabledTestPaths = [ + "tests/integration_tests" + ]; pythonImportsCheck = [ "langchain_anthropic" ];