From b98c7ea4af439e436b768a599be065c128af5036 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Mon, 23 Feb 2026 13:11:04 -0800 Subject: [PATCH 1/3] python3Packages.langgraph-checkpoint: 3.0.1 -> 4.0.0 --- .../python-modules/langgraph-checkpoint/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/langgraph-checkpoint/default.nix b/pkgs/development/python-modules/langgraph-checkpoint/default.nix index a2b12587dc51..4d1eb363635c 100644 --- a/pkgs/development/python-modules/langgraph-checkpoint/default.nix +++ b/pkgs/development/python-modules/langgraph-checkpoint/default.nix @@ -26,14 +26,14 @@ buildPythonPackage rec { pname = "langgraph-checkpoint"; - version = "3.0.1"; + version = "4.0.0"; pyproject = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langgraph"; tag = "checkpoint==${version}"; - hash = "sha256-3hh1KyEIsp9JzhaJW1ycp179FGpggPYzg6OwnD/cTBM="; + hash = "sha256-IE9Y+kFkDN49SuwvTNwa2kK+Hig18sJPZmZCqHUP3DM="; }; sourceRoot = "${src.name}/libs/checkpoint"; From 6a8c9fb83fc8e6360fa68d81b280577b48a4c36d Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Mon, 23 Feb 2026 13:24:40 -0800 Subject: [PATCH 2/3] python3Packages.langgraph-checkpoint-mongodb: apply correction after python-updater-script --- .../langgraph-checkpoint-mongodb/default.nix | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/langgraph-checkpoint-mongodb/default.nix b/pkgs/development/python-modules/langgraph-checkpoint-mongodb/default.nix index db21b3b8fad7..2fbe14a3c830 100644 --- a/pkgs/development/python-modules/langgraph-checkpoint-mongodb/default.nix +++ b/pkgs/development/python-modules/langgraph-checkpoint-mongodb/default.nix @@ -2,6 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, + gitUpdater, # build-system hatchling, @@ -14,14 +15,14 @@ buildPythonPackage rec { pname = "langgraph-checkpoint-mongodb"; - version = "0.11.0"; + version = "0.3.1"; pyproject = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain-mongodb"; - tag = "libs/langchain-mongodb/v${version}"; - hash = "sha256-dO0dASjyNMxnbxZ/ry8lcJxedPdrv6coYiTjOcaT8/0="; + tag = "libs/langgraph-checkpoint-mongodb/v${version}"; + hash = "sha256-vCiZ6Mp6aHmSEkLbeM6qTLJaxH0uoAdq80olTT5saX0="; }; sourceRoot = "${src.name}/libs/langgraph-checkpoint-mongodb"; @@ -30,6 +31,10 @@ buildPythonPackage rec { hatchling ]; + pythonRelaxDeps = [ + "pymongo" + ]; + dependencies = [ langgraph-checkpoint langchain-mongodb @@ -41,6 +46,14 @@ buildPythonPackage rec { # Connection refused (to localhost:27017) for all tests doCheck = false; + passthru = { + # python updater script sets the wrong tag + skipBulkUpdate = true; + updateScript = gitUpdater { + rev-prefix = "libs/langgraph-checkpoint-mongodb/v"; + }; + }; + # no pythonImportsCheck as this package does not provide any direct imports pythonImportsCheck = [ "langgraph.checkpoint.mongodb" ]; From 4d7e5d825b33c04c5abe399df834d41e12cb8342 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Mon, 23 Feb 2026 13:24:40 -0800 Subject: [PATCH 3/3] python3Packages.langgraph-checkpoint-mongodb: migrate to finalAttrs --- .../langgraph-checkpoint-mongodb/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/langgraph-checkpoint-mongodb/default.nix b/pkgs/development/python-modules/langgraph-checkpoint-mongodb/default.nix index 2fbe14a3c830..f16e5a605c15 100644 --- a/pkgs/development/python-modules/langgraph-checkpoint-mongodb/default.nix +++ b/pkgs/development/python-modules/langgraph-checkpoint-mongodb/default.nix @@ -13,7 +13,7 @@ pymongo, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "langgraph-checkpoint-mongodb"; version = "0.3.1"; pyproject = true; @@ -21,11 +21,11 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain-mongodb"; - tag = "libs/langgraph-checkpoint-mongodb/v${version}"; + tag = "libs/langgraph-checkpoint-mongodb/v${finalAttrs.version}"; hash = "sha256-vCiZ6Mp6aHmSEkLbeM6qTLJaxH0uoAdq80olTT5saX0="; }; - sourceRoot = "${src.name}/libs/langgraph-checkpoint-mongodb"; + sourceRoot = "${finalAttrs.src.name}/libs/langgraph-checkpoint-mongodb"; build-system = [ hatchling @@ -60,8 +60,8 @@ buildPythonPackage rec { meta = { description = "Integrations between MongoDB, Atlas, LangChain, and LangGraph"; homepage = "https://github.com/langchain-ai/langchain-mongodb/tree/main/libs/langgraph-checkpoint-mongodb"; - changelog = "https://github.com/langchain-ai/langchain-mongodb/releases/tag/${src.tag}"; + changelog = "https://github.com/langchain-ai/langchain-mongodb/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ sarahec ]; }; -} +})