From 99d5e8c87294f4e8cbbe6e2d7b9a469d0c69493a Mon Sep 17 00:00:00 2001 From: sarahec Date: Sun, 14 Jun 2026 18:31:41 +0000 Subject: [PATCH 01/23] python3Packages.langchain-core: 1.3.2 -> 1.4.8 --- pkgs/development/python-modules/langchain-core/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/langchain-core/default.nix b/pkgs/development/python-modules/langchain-core/default.nix index 440a2d193162..1189a2063143 100644 --- a/pkgs/development/python-modules/langchain-core/default.nix +++ b/pkgs/development/python-modules/langchain-core/default.nix @@ -37,14 +37,15 @@ buildPythonPackage (finalAttrs: { pname = "langchain-core"; - version = "1.3.2"; + version = "1.4.8"; pyproject = true; + __structuredAttrs = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain"; tag = "langchain-core==${finalAttrs.version}"; - hash = "sha256-7ugQnVnq/yW/7NVtqkAB1C3+XjLN3m+GQFKtv5uXw9E="; + hash = "sha256-fJKr1NlpCujGoVxxqjaEXGOVZO5NH9+71dWHyMuQ2jw="; }; sourceRoot = "${finalAttrs.src.name}/libs/core"; From d82fe76c731c192be8b57395476f926a0bf28440 Mon Sep 17 00:00:00 2001 From: sarahec Date: Sun, 14 Jun 2026 18:32:42 +0000 Subject: [PATCH 02/23] python3Packages.langchain-tests: 1.1.7 -> 1.1.9 --- pkgs/development/python-modules/langchain-tests/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/langchain-tests/default.nix b/pkgs/development/python-modules/langchain-tests/default.nix index bf5ccf199958..9bf1ba4f8073 100644 --- a/pkgs/development/python-modules/langchain-tests/default.nix +++ b/pkgs/development/python-modules/langchain-tests/default.nix @@ -28,14 +28,15 @@ buildPythonPackage (finalAttrs: { pname = "langchain-tests"; - version = "1.1.7"; + version = "1.1.9"; pyproject = true; + __structuredAttrs = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain"; tag = "langchain-tests==${finalAttrs.version}"; - hash = "sha256-zesNbesiLMayvlVrU6NagmE2+o0l6ozwZlOGqvyGpnQ="; + hash = "sha256-GbOasYdPGqk1WJeoqL8DYd1Qizvhjeq8Dc+RgE4iBaA="; }; sourceRoot = "${finalAttrs.src.name}/libs/standard-tests"; From 000e6d3787061bffb4e1e0520bceb963248f1122 Mon Sep 17 00:00:00 2001 From: sarahec Date: Sun, 14 Jun 2026 18:32:48 +0000 Subject: [PATCH 03/23] python3Packages.langgraph-runtime-inmem: 0.29.0 -> 0.30.0 --- .../python-modules/langgraph-runtime-inmem/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/langgraph-runtime-inmem/default.nix b/pkgs/development/python-modules/langgraph-runtime-inmem/default.nix index 5f42311bd481..0e3c585f8804 100644 --- a/pkgs/development/python-modules/langgraph-runtime-inmem/default.nix +++ b/pkgs/development/python-modules/langgraph-runtime-inmem/default.nix @@ -14,14 +14,15 @@ buildPythonPackage (finalAttrs: { pname = "langgraph-runtime-inmem"; - version = "0.29.0"; + version = "0.30.0"; pyproject = true; + __structuredAttrs = true; # Not available in any repository src = fetchPypi { pname = "langgraph_runtime_inmem"; inherit (finalAttrs) version; - hash = "sha256-i8XSQDQq8+QFTZvTtzay8O322vhCHm6qkZop7NWCJzo="; + hash = "sha256-MZVOHebNQ8KEtCUkPU+uroGPaLPayk2+QxPmUbb14R0="; }; build-system = [ hatchling ]; From c4cf3e93055cced4df20a9c633aa4f443566e803 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Sun, 14 Jun 2026 17:31:51 -0700 Subject: [PATCH 04/23] python3Packages.langgraph-prebuilt: 1.0.12 -> 1.1.0 --- .../python-modules/langgraph-prebuilt/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/langgraph-prebuilt/default.nix b/pkgs/development/python-modules/langgraph-prebuilt/default.nix index e5740cc5d0b1..e729568ba4c9 100644 --- a/pkgs/development/python-modules/langgraph-prebuilt/default.nix +++ b/pkgs/development/python-modules/langgraph-prebuilt/default.nix @@ -32,14 +32,15 @@ # It exists so the langgraph team can iterate on it without having to rebuild langgraph. buildPythonPackage (finalAttrs: { pname = "langgraph-prebuilt"; - version = "1.0.12"; + version = "1.1.0"; pyproject = true; + __structuredAttrs = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langgraph"; tag = "prebuilt==${finalAttrs.version}"; - hash = "sha256-J899GIBdXHjZVMwZlnn5GH52/TNjzLukc4Xp/qc8NOM="; + hash = "sha256-xSYJ9D86GuaJEgQYk+pkJ4O7HK6HXfAOGBv4f1CBY5g="; }; sourceRoot = "${finalAttrs.src.name}/libs/prebuilt"; From 0e2ac0b37d6388369d1e518f8aca0fbd44464ea3 Mon Sep 17 00:00:00 2001 From: sarahec Date: Sun, 14 Jun 2026 18:32:53 +0000 Subject: [PATCH 05/23] python3Packages.langgraph-sdk: 0.3.15 -> 0.4.2 --- .../python-modules/langgraph-sdk/default.nix | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/langgraph-sdk/default.nix b/pkgs/development/python-modules/langgraph-sdk/default.nix index 12e1af0a6098..c5687317824c 100644 --- a/pkgs/development/python-modules/langgraph-sdk/default.nix +++ b/pkgs/development/python-modules/langgraph-sdk/default.nix @@ -9,8 +9,11 @@ # dependencies httpx, httpx-sse, + langchain-core, + langchain-protocol, orjson, typing-extensions, + websockets, # passthru gitUpdater, @@ -18,25 +21,31 @@ buildPythonPackage (finalAttrs: { pname = "langgraph-sdk"; - version = "0.3.15"; + version = "0.4.2"; pyproject = true; + __structuredAttrs = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langgraph"; tag = "sdk==${finalAttrs.version}"; - hash = "sha256-P4SbQK6lFG572WKxisnNn/ZiHcMYBBM/vcBB9N6xpfo="; + hash = "sha256-30BY7f8m3YiqEBhb3+TQYTW0N40xI9kTQbMTh4BwcyU="; }; sourceRoot = "${finalAttrs.src.name}/libs/sdk-py"; build-system = [ hatchling ]; + pythonRelaxDeps = [ "websockets" ]; + dependencies = [ httpx httpx-sse + langchain-core + langchain-protocol orjson typing-extensions + websockets ]; disabledTests = [ "test_aevaluate_results" ]; # Compares execution time to magic number From 7fb2bd6b53bdb40b29e87c7dfe9c008e586df125 Mon Sep 17 00:00:00 2001 From: sarahec Date: Thu, 18 Jun 2026 20:49:02 +0000 Subject: [PATCH 06/23] python313Packages.langchain-protocol: 0.0.16 -> 0.0.18 --- .../python-modules/langchain-protocol/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/langchain-protocol/default.nix b/pkgs/development/python-modules/langchain-protocol/default.nix index 5fa39b168f07..9a028ecdd2bc 100644 --- a/pkgs/development/python-modules/langchain-protocol/default.nix +++ b/pkgs/development/python-modules/langchain-protocol/default.nix @@ -8,14 +8,15 @@ buildPythonPackage (finalAttrs: { pname = "langchain-protocol"; - version = "0.0.16"; + version = "0.0.18"; pyproject = true; + __structuredAttrs = true; # Not available vis Github yet; required by langchain-core src = fetchPypi { pname = "langchain_protocol"; inherit (finalAttrs) version; - hash = "sha256-gGx83ZUbHE9pL6QPzmCCH/DyIdQ2DidnPd8sK5nCt/8="; + hash = "sha256-7D4ReC8e0MnbOOWp7QGw56DT+6QG+qiu9llLc8VqY+Y="; }; build-system = [ From 93e6ed67f9665d1ddc4673ee75446533aba00c5a Mon Sep 17 00:00:00 2001 From: sarahec Date: Sun, 14 Jun 2026 18:22:25 +0000 Subject: [PATCH 07/23] langgraph-cli: 0.4.26 -> 0.4.30 --- pkgs/development/python-modules/langgraph-cli/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/langgraph-cli/default.nix b/pkgs/development/python-modules/langgraph-cli/default.nix index 7799a308141d..b79fd25259e0 100644 --- a/pkgs/development/python-modules/langgraph-cli/default.nix +++ b/pkgs/development/python-modules/langgraph-cli/default.nix @@ -17,6 +17,7 @@ # testing pytest-asyncio, + pytest-mock, pytestCheckHook, docker-compose, @@ -26,14 +27,15 @@ buildPythonPackage (finalAttrs: { pname = "langgraph-cli"; - version = "0.4.26"; + version = "0.4.30"; pyproject = true; + __structuredAttrs = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langgraph"; tag = "cli==${finalAttrs.version}"; - hash = "sha256-LBdDi3gT1N+r6yTb0BDF7qkoHAvo3UTSJnJ49vchjKU="; + hash = "sha256-wemTtMT8UbpEsGzf0fMnXdhJv0oTrG/TqEu6HhFN6nc="; }; sourceRoot = "${finalAttrs.src.name}/libs/cli"; @@ -58,6 +60,7 @@ buildPythonPackage (finalAttrs: { nativeCheckInputs = [ pytest-asyncio + pytest-mock pytestCheckHook docker-compose ] From 0f27a77f6441872e3a51936eec7df16da6b702c9 Mon Sep 17 00:00:00 2001 From: sarahec Date: Sun, 14 Jun 2026 18:29:13 +0000 Subject: [PATCH 08/23] python3Packages.langchain-anthropic: 1.4.3 -> 1.4.6 --- .../python-modules/langchain-anthropic/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/langchain-anthropic/default.nix b/pkgs/development/python-modules/langchain-anthropic/default.nix index 65fbcedeccff..b541bd8ec9d6 100644 --- a/pkgs/development/python-modules/langchain-anthropic/default.nix +++ b/pkgs/development/python-modules/langchain-anthropic/default.nix @@ -24,14 +24,15 @@ buildPythonPackage (finalAttrs: { pname = "langchain-anthropic"; - version = "1.4.3"; + version = "1.4.6"; pyproject = true; + __structuredAttrs = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain"; tag = "langchain-anthropic==${finalAttrs.version}"; - hash = "sha256-u0Ur2SZFI8NkiVMBFieZIkc3cJL2IvrFvB4ueCvGMEU="; + hash = "sha256-X+YS+T9mG+H4I2vHDYBi3Eev6OaCMgi56nKHEewgEXg="; }; sourceRoot = "${finalAttrs.src.name}/libs/partners/anthropic"; @@ -62,6 +63,8 @@ buildPythonPackage (finalAttrs: { disabledTests = [ # Fails when langchain-core gets ahead of this "test_serdes" + # KeyError: 'versions' in 1.4.6 + "test_anthropic_model_params" ]; pythonImportsCheck = [ "langchain_anthropic" ]; From 65509543d3cdc255f47bd55fb508c220eb6cb488 Mon Sep 17 00:00:00 2001 From: sarahec Date: Sun, 14 Jun 2026 18:31:07 +0000 Subject: [PATCH 09/23] python3Packages.langchain-classic: 1.0.4 -> 1.0.8 --- .../development/python-modules/langchain-classic/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/langchain-classic/default.nix b/pkgs/development/python-modules/langchain-classic/default.nix index 86c1fdf06a0f..b9949fd389ee 100644 --- a/pkgs/development/python-modules/langchain-classic/default.nix +++ b/pkgs/development/python-modules/langchain-classic/default.nix @@ -42,14 +42,15 @@ buildPythonPackage (finalAttrs: { pname = "langchain-classic"; - version = "1.0.4"; + version = "1.0.8"; pyproject = true; + __structuredAttrs = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain"; tag = "langchain-classic==${finalAttrs.version}"; - hash = "sha256-yIu0P1GJBTEJ/Sq2ZTn7btoLiBgDCaNXJT9/W4maYtg="; + hash = "sha256-Xskg6bPmRv7iLjppUF11rqmHg2YJWETVT1EMhzK7Svo="; }; sourceRoot = "${finalAttrs.src.name}/libs/langchain"; From ce3662e97d5bc6ee9f8b30bb3283be6b8abe3476 Mon Sep 17 00:00:00 2001 From: sarahec Date: Sun, 14 Jun 2026 18:31:30 +0000 Subject: [PATCH 10/23] python3Packages.langchain: 1.2.15 -> 1.3.10 --- pkgs/development/python-modules/langchain/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/langchain/default.nix b/pkgs/development/python-modules/langchain/default.nix index ce61ce40aa5d..7dbe11e56270 100644 --- a/pkgs/development/python-modules/langchain/default.nix +++ b/pkgs/development/python-modules/langchain/default.nix @@ -46,14 +46,15 @@ buildPythonPackage (finalAttrs: { pname = "langchain"; - version = "1.2.15"; + version = "1.3.10"; pyproject = true; + __structuredAttrs = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain"; tag = "langchain==${finalAttrs.version}"; - hash = "sha256-aRiU8UwzotSybfgjexV9hYXsm5Ub3PFTz0k0hz1p2lk="; + hash = "sha256-hB1TpaQjSleS+ysGIB1HxCgeQgUhMDoiDtO3Hjk6SLU="; }; sourceRoot = "${finalAttrs.src.name}/libs/langchain_v1"; From a2b642e994bd16b6df3dbaaa70e0aff05592834e Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Thu, 18 Jun 2026 15:35:19 -0700 Subject: [PATCH 11/23] python3Packages.langchain-groq: migrate to finalAttrs --- .../python-modules/langchain-groq/default.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/langchain-groq/default.nix b/pkgs/development/python-modules/langchain-groq/default.nix index d333d139dae2..8bbe83ebfd57 100644 --- a/pkgs/development/python-modules/langchain-groq/default.nix +++ b/pkgs/development/python-modules/langchain-groq/default.nix @@ -18,19 +18,20 @@ gitUpdater, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "langchain-groq"; version = "1.1.2"; pyproject = true; + __structuredAttrs = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain"; - tag = "langchain-groq==${version}"; + tag = "langchain-groq==${finalAttrs.version}"; hash = "sha256-OS9i4o8UhEmRFgZEKB5owWx2hJuVBRV5XvQLCQnBi9g="; }; - sourceRoot = "${src.name}/libs/partners/groq"; + sourceRoot = "${finalAttrs.src.name}/libs/partners/groq"; build-system = [ hatchling ]; @@ -71,7 +72,7 @@ buildPythonPackage rec { }; meta = { - changelog = "https://github.com/langchain-ai/langchain/releases/tag/${src.tag}"; + changelog = "https://github.com/langchain-ai/langchain/releases/tag/${finalAttrs.src.tag}"; description = "Integration package connecting Groq and LangChain"; homepage = "https://github.com/langchain-ai/langchain/tree/master/libs/partners/groq"; license = lib.licenses.mit; @@ -79,4 +80,4 @@ buildPythonPackage rec { sarahec ]; }; -} +}) From dba50faf7a519c6c81c04f581ef709fac310c2ca Mon Sep 17 00:00:00 2001 From: sarahec Date: Sun, 14 Jun 2026 18:31:50 +0000 Subject: [PATCH 12/23] python3Packages.langchain-groq: 1.1.2 -> 1.1.3 --- pkgs/development/python-modules/langchain-groq/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/langchain-groq/default.nix b/pkgs/development/python-modules/langchain-groq/default.nix index 8bbe83ebfd57..fc37e5488931 100644 --- a/pkgs/development/python-modules/langchain-groq/default.nix +++ b/pkgs/development/python-modules/langchain-groq/default.nix @@ -20,7 +20,7 @@ buildPythonPackage (finalAttrs: { pname = "langchain-groq"; - version = "1.1.2"; + version = "1.1.3"; pyproject = true; __structuredAttrs = true; @@ -28,7 +28,7 @@ buildPythonPackage (finalAttrs: { owner = "langchain-ai"; repo = "langchain"; tag = "langchain-groq==${finalAttrs.version}"; - hash = "sha256-OS9i4o8UhEmRFgZEKB5owWx2hJuVBRV5XvQLCQnBi9g="; + hash = "sha256-RwwlEL3P/6+Yf1bM5ALGxhUXG0C1XPlf0OQMcft4o4U="; }; sourceRoot = "${finalAttrs.src.name}/libs/partners/groq"; From d5c361eb92d2fd6a932c6311d034ef0764347908 Mon Sep 17 00:00:00 2001 From: sarahec Date: Sun, 14 Jun 2026 18:31:53 +0000 Subject: [PATCH 13/23] python3Packages.langchain-google-genai: 4.2.3 -> 4.2.5 --- .../python-modules/langchain-google-genai/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/langchain-google-genai/default.nix b/pkgs/development/python-modules/langchain-google-genai/default.nix index 400856c41f9e..8aed6e4e76cd 100644 --- a/pkgs/development/python-modules/langchain-google-genai/default.nix +++ b/pkgs/development/python-modules/langchain-google-genai/default.nix @@ -29,14 +29,15 @@ buildPythonPackage (finalAttrs: { pname = "langchain-google-genai"; - version = "4.2.3"; + version = "4.2.5"; pyproject = true; + __structuredAttrs = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain-google"; tag = "libs/genai/v${finalAttrs.version}"; - hash = "sha256-OJQRYCzMa6y1F3gHFBAY+G3v3ZWzhw1ZqvbePTJyzr8="; + hash = "sha256-NgP3KyhFprlUoZUg69ZVqTwG9IW6nvX3k6VYz69LdrU="; }; sourceRoot = "${finalAttrs.src.name}/libs/genai"; @@ -68,6 +69,9 @@ buildPythonPackage (finalAttrs: { # Fails when langchain-core gets ahead of this package "test_serdes" "test_serialize" + # pydantic_core._pydantic_core.ValidationError: 1 validation error for GenerateContentResponse + # extra inputs are not permitted + "test_grounding_metadata_to_citations_conversion" ]; disabledTestPaths = [ From 5d8614a22363a2c757cb37df498aaf553678e7fb Mon Sep 17 00:00:00 2001 From: sarahec Date: Sun, 14 Jun 2026 18:31:57 +0000 Subject: [PATCH 14/23] python3Packages.langchain-aws: 1.4.6 -> 1.6.0 --- pkgs/development/python-modules/langchain-aws/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/langchain-aws/default.nix b/pkgs/development/python-modules/langchain-aws/default.nix index 1487685ad2c4..bbbc3ae4decc 100644 --- a/pkgs/development/python-modules/langchain-aws/default.nix +++ b/pkgs/development/python-modules/langchain-aws/default.nix @@ -29,14 +29,15 @@ buildPythonPackage (finalAttrs: { pname = "langchain-aws"; - version = "1.4.6"; + version = "1.6.0"; pyproject = true; + __structuredAttrs = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain-aws"; tag = "langchain-aws==${finalAttrs.version}"; - hash = "sha256-WSUwPEBZQRyHYDWs0j+RgeP3Mqer5dIRT7eKoRESpsU="; + hash = "sha256-EZNzP4myJTwkdyAHcUS2RCGPtaUlzt3bgZ4Qsw2RgBs="; }; postPatch = '' From d0f9f2f1074d9d361dcc62a4964881fb3f033ddc Mon Sep 17 00:00:00 2001 From: sarahec Date: Sun, 14 Jun 2026 18:32:06 +0000 Subject: [PATCH 15/23] python3Packages.langchain-mistralai: 1.1.4 -> 1.1.5 --- .../langchain-mistralai/default.nix | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/langchain-mistralai/default.nix b/pkgs/development/python-modules/langchain-mistralai/default.nix index 33a6e24975b0..4251d4ef13e6 100644 --- a/pkgs/development/python-modules/langchain-mistralai/default.nix +++ b/pkgs/development/python-modules/langchain-mistralai/default.nix @@ -22,19 +22,20 @@ gitUpdater, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "langchain-mistralai"; - version = "1.1.4"; + version = "1.1.5"; pyproject = true; + __structuredAttrs = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain"; - tag = "langchain-mistralai==${version}"; - hash = "sha256-52qgkr9oem4jFGNWvoC3wb0WR2z9yhglqA8sJHIhtbs="; + tag = "langchain-mistralai==${finalAttrs.version}"; + hash = "sha256-lWhFFPEGNKUVmYC48MtyNZjgujfQRwUKR4bzZEvr5DQ="; }; - sourceRoot = "${src.name}/libs/partners/mistralai"; + sourceRoot = "${finalAttrs.src.name}/libs/partners/mistralai"; build-system = [ hatchling ]; @@ -75,7 +76,7 @@ buildPythonPackage rec { }; meta = { - changelog = "https://github.com/langchain-ai/langchain/releases/tag/${src.tag}"; + changelog = "https://github.com/langchain-ai/langchain/releases/tag/${finalAttrs.src.tag}"; description = "Build LangChain applications with mistralai"; homepage = "https://github.com/langchain-ai/langchain/tree/master/libs/partners/mistralai"; license = lib.licenses.mit; @@ -83,4 +84,4 @@ buildPythonPackage rec { lib.maintainers.sarahec ]; }; -} +}) From c89b0632fc0ffd1dc2bae917861ca93bf64ca1c6 Mon Sep 17 00:00:00 2001 From: sarahec Date: Sun, 14 Jun 2026 18:32:16 +0000 Subject: [PATCH 16/23] python3Packages.langchain-openai: 1.2.1 -> 1.3.2 --- pkgs/development/python-modules/langchain-openai/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/langchain-openai/default.nix b/pkgs/development/python-modules/langchain-openai/default.nix index 26605b6b4ec3..80514602546c 100644 --- a/pkgs/development/python-modules/langchain-openai/default.nix +++ b/pkgs/development/python-modules/langchain-openai/default.nix @@ -33,14 +33,15 @@ buildPythonPackage (finalAttrs: { pname = "langchain-openai"; - version = "1.2.1"; + version = "1.3.2"; pyproject = true; + __structuredAttrs = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain"; tag = "langchain-openai==${finalAttrs.version}"; - hash = "sha256-0EmL+Ptuvu8CWaqeV9DJnRwstCkxo+XJxzgmPdU/VmA="; + hash = "sha256-VmGbfciQlKBYgyUhFLUVzZaYSpEcK2pRokvsWrFpxaM="; }; sourceRoot = "${finalAttrs.src.name}/libs/partners/openai"; From 1e375972979a3f12553ecd5d4891a807850644db Mon Sep 17 00:00:00 2001 From: sarahec Date: Sun, 14 Jun 2026 18:32:25 +0000 Subject: [PATCH 17/23] python3Packages.langgraph: 1.1.10 -> 1.2.5 --- pkgs/development/python-modules/langgraph/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/langgraph/default.nix b/pkgs/development/python-modules/langgraph/default.nix index 3512b1f6d896..f9a107bb4a82 100644 --- a/pkgs/development/python-modules/langgraph/default.nix +++ b/pkgs/development/python-modules/langgraph/default.nix @@ -41,14 +41,15 @@ }: buildPythonPackage (finalAttrs: { pname = "langgraph"; - version = "1.1.10"; + version = "1.2.5"; pyproject = true; + __structuredAttrs = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langgraph"; tag = finalAttrs.version; - hash = "sha256-J899GIBdXHjZVMwZlnn5GH52/TNjzLukc4Xp/qc8NOM="; + hash = "sha256-u4rRRvDg99uJpNd/Tqms4EUTmAaROelqQtyyoMsy9Qg="; }; postgresqlTestSetupPost = '' From 285a119e45ba785b328ae68e881f2f7761607a3c Mon Sep 17 00:00:00 2001 From: sarahec Date: Sun, 14 Jun 2026 18:32:33 +0000 Subject: [PATCH 18/23] python3Packages.langchain-perplexity: 1.3.2 -> 1.4.0 --- .../python-modules/langchain-perplexity/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/langchain-perplexity/default.nix b/pkgs/development/python-modules/langchain-perplexity/default.nix index c5d9ca276e18..f796254e8d9d 100644 --- a/pkgs/development/python-modules/langchain-perplexity/default.nix +++ b/pkgs/development/python-modules/langchain-perplexity/default.nix @@ -24,14 +24,15 @@ buildPythonPackage (finalAttrs: { pname = "langchain-perplexity"; - version = "1.3.2"; + version = "1.4.0"; pyproject = true; + __structuredAttrs = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain"; tag = "langchain-perplexity==${finalAttrs.version}"; - hash = "sha256-XSfnoJaj2VRXSxHHVnRNBvr4Ko7GAqnFEDM90ohaufo="; + hash = "sha256-YWVTghbLE6jXrkwS9shTdDr0pp4ILEVq+dgjg9njRhA="; }; sourceRoot = "${finalAttrs.src.name}/libs/partners/perplexity"; From 11d889a41ea33ec4a531ddba5e2d50946cd6374a Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Mon, 15 Jun 2026 15:06:54 -0700 Subject: [PATCH 19/23] python3Packages.langchain-huggingface: disable failing test w/ newer huggingface --- .../python-modules/langchain-huggingface/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/langchain-huggingface/default.nix b/pkgs/development/python-modules/langchain-huggingface/default.nix index be599bd0e104..9b0c2fe820f1 100644 --- a/pkgs/development/python-modules/langchain-huggingface/default.nix +++ b/pkgs/development/python-modules/langchain-huggingface/default.nix @@ -35,6 +35,7 @@ buildPythonPackage (finalAttrs: { pname = "langchain-huggingface"; version = "1.2.2"; pyproject = true; + __structuredAttrs = true; src = fetchFromGitHub { owner = "langchain-ai"; @@ -75,6 +76,8 @@ buildPythonPackage (finalAttrs: { disabledTests = [ # Requires a circular dependency on langchain "test_init_chat_model_huggingface" + # AssertionError: Expected 'bind' to have been called once. Called 0 times. + "test_bind_tools" ]; pythonImportsCheck = [ "langchain_huggingface" ]; From f72b06968dea443400db4801b5678782cdd8dd25 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Mon, 15 Jun 2026 15:23:03 -0700 Subject: [PATCH 20/23] python3Packages.langchain-ollama: disable failing test due to model output changes --- .../development/python-modules/langchain-ollama/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/langchain-ollama/default.nix b/pkgs/development/python-modules/langchain-ollama/default.nix index 104796cce3ea..11ec12bb1f9c 100644 --- a/pkgs/development/python-modules/langchain-ollama/default.nix +++ b/pkgs/development/python-modules/langchain-ollama/default.nix @@ -2,7 +2,6 @@ lib, buildPythonPackage, fetchFromGitHub, - stdenv, # build-system hatchling, @@ -57,8 +56,9 @@ buildPythonPackage (finalAttrs: { enabledTestPaths = [ "tests/unit_tests" ]; - disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [ - # Darwin prevents the expected shell from spawning to run this + disabledTests = [ + # The expected shell can't spawn + # test_standard_params_model_override - AssertionError: ls_model_name did not reflect the per-call `model` override...ZZ "test_standard_params_model_override" ]; From e41e18614fca43afc9d80d2ae152a6df32df261c Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Mon, 15 Jun 2026 15:42:16 -0700 Subject: [PATCH 21/23] python3Packages.langchain-mongodb: silence PendingDeprecationWarning --- pkgs/development/python-modules/langchain-mongodb/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/langchain-mongodb/default.nix b/pkgs/development/python-modules/langchain-mongodb/default.nix index d139b2cc9298..95285e50dc5f 100644 --- a/pkgs/development/python-modules/langchain-mongodb/default.nix +++ b/pkgs/development/python-modules/langchain-mongodb/default.nix @@ -38,6 +38,7 @@ buildPythonPackage (finalAttrs: { pname = "langchain-mongodb"; version = "0.11.0"; pyproject = true; + __structuredAttrs = true; src = fetchFromGitHub { owner = "langchain-ai"; @@ -85,6 +86,7 @@ buildPythonPackage (finalAttrs: { pytestFlags = [ # DeprecationWarning: 'asyncio.get_event_loop_policy' is deprecated "-Wignore::DeprecationWarning" + "-Wignore::PendingDeprecationWarning" ] ++ lib.optionals (pythonAtLeast "3.14") [ # UserWarning: Core Pydantic V1 functionality isn't compatible with Python 3.14 From ff5a77fb7b09d72026d92b55bee8894c05bf3225 Mon Sep 17 00:00:00 2001 From: sarahec Date: Thu, 18 Jun 2026 20:49:15 +0000 Subject: [PATCH 22/23] python3Packages.langgraph-checkpoint-postgres: 3.0.5 -> 3.1.0 --- .../langgraph-checkpoint-postgres/default.nix | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/langgraph-checkpoint-postgres/default.nix b/pkgs/development/python-modules/langgraph-checkpoint-postgres/default.nix index 889ae3d104f1..3187783f9d4a 100644 --- a/pkgs/development/python-modules/langgraph-checkpoint-postgres/default.nix +++ b/pkgs/development/python-modules/langgraph-checkpoint-postgres/default.nix @@ -24,16 +24,17 @@ gitUpdater, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "langgraph-checkpoint-postgres"; - version = "3.0.5"; + version = "3.1.0"; pyproject = true; + __structuredAttrs = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langgraph"; - tag = "checkpointpostgres==${version}"; - hash = "sha256-EonOCCC6aCM2PQdd3UlazEMf4zjglHx8AxHB0i2W4IY="; + tag = "checkpointpostgres==${finalAttrs.version}"; + hash = "sha256-xSYJ9D86GuaJEgQYk+pkJ4O7HK6HXfAOGBv4f1CBY5g="; }; postgresqlTestSetupPost = '' @@ -42,7 +43,7 @@ buildPythonPackage rec { --replace-fail "DEFAULT_POSTGRES_URI = \"postgres://postgres:postgres@localhost:5441/\"" "DEFAULT_POSTGRES_URI = \"postgres:///\"" ''; - sourceRoot = "${src.name}/libs/checkpoint-postgres"; + sourceRoot = "${finalAttrs.src.name}/libs/checkpoint-postgres"; build-system = [ hatchling ]; @@ -102,10 +103,10 @@ buildPythonPackage rec { meta = { description = "Library with a Postgres implementation of LangGraph checkpoint saver"; homepage = "https://github.com/langchain-ai/langgraph/tree/main/libs/checkpoint-postgres"; - changelog = "https://github.com/langchain-ai/langgraph/releases/tag/${src.tag}"; + changelog = "https://github.com/langchain-ai/langgraph/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ sarahec ]; }; -} +}) From 02d25e632c8b912740eed49168e26365a2dd4bb5 Mon Sep 17 00:00:00 2001 From: sarahec Date: Thu, 18 Jun 2026 20:49:20 +0000 Subject: [PATCH 23/23] python3Packages.langgraph-checkpoint-sqlite: 3.0.3 -> 3.1.0 --- .../langgraph-checkpoint-sqlite/default.nix | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/langgraph-checkpoint-sqlite/default.nix b/pkgs/development/python-modules/langgraph-checkpoint-sqlite/default.nix index fbfe5a9a0f2c..c80953130757 100644 --- a/pkgs/development/python-modules/langgraph-checkpoint-sqlite/default.nix +++ b/pkgs/development/python-modules/langgraph-checkpoint-sqlite/default.nix @@ -20,19 +20,20 @@ gitUpdater, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "langgraph-checkpoint-sqlite"; - version = "3.0.3"; + version = "3.1.0"; pyproject = true; + __structuredAttrs = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langgraph"; - tag = "checkpointsqlite==${version}"; - hash = "sha256-th9LJxaq2Xj6QwPXGL204QTDsnFNBuyjQpLilhcCKUY="; + tag = "checkpointsqlite==${finalAttrs.version}"; + hash = "sha256-xSYJ9D86GuaJEgQYk+pkJ4O7HK6HXfAOGBv4f1CBY5g="; }; - sourceRoot = "${src.name}/libs/checkpoint-sqlite"; + sourceRoot = "${finalAttrs.src.name}/libs/checkpoint-sqlite"; build-system = [ hatchling ]; @@ -83,7 +84,7 @@ buildPythonPackage rec { }; meta = { - changelog = "https://github.com/langchain-ai/langgraph/releases/tag/${src.tag}"; + changelog = "https://github.com/langchain-ai/langgraph/releases/tag/${finalAttrs.src.tag}"; description = "Library with a SQLite implementation of LangGraph checkpoint saver"; homepage = "https://github.com/langchain-ai/langgraph/tree/main/libs/checkpoint-sqlite"; license = lib.licenses.mit; @@ -91,4 +92,4 @@ buildPythonPackage rec { sarahec ]; }; -} +})