From 7e86343de445b95814fe56d6f5cd5249ac3c26ca Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Fri, 27 Mar 2026 10:16:28 -0700 Subject: [PATCH] python3Packages.langchain: 1.2.12 -> 1.2.13 --- pkgs/development/python-modules/langchain/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/langchain/default.nix b/pkgs/development/python-modules/langchain/default.nix index c8443c4360ef..580d6946580f 100644 --- a/pkgs/development/python-modules/langchain/default.nix +++ b/pkgs/development/python-modules/langchain/default.nix @@ -46,14 +46,14 @@ buildPythonPackage (finalAttrs: { pname = "langchain"; - version = "1.2.12"; + version = "1.2.13"; pyproject = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain"; tag = "langchain==${finalAttrs.version}"; - hash = "sha256-Z0noVsSu0OZchynlJSkIe0p076/0nay+1uS2ZXnztns="; + hash = "sha256-Eb9sXYUaBQn6f7IqgrSIbNz75g79Vka0RommZFJUQko="; }; sourceRoot = "${finalAttrs.src.name}/libs/langchain_v1"; @@ -117,12 +117,16 @@ buildPythonPackage (finalAttrs: { disabledTests = [ # Depends on shell's truncation style "test_truncation_indicator_present" + "test_truncation_by_bytes" # Depends on the sleep shell command "test_timeout_returns_error" # Can't see the shell session results when sandboxed "test_startup_and_shutdown_commands" # Timing sensitive tests "test_tool_retry_constant_backoff" + # AttributeError: 'ImportErrorProfileModel' object has no attribute 'profile' + # https://github.com/langchain-ai/langchain/issues/36312 + "test_summarization_middleware_missing_profile" ]; disabledTestPaths = [