From 6892e47e9d112cdceb1636dd9b2215d4aa13f736 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sun, 15 Sep 2024 00:03:06 +0200 Subject: [PATCH] python312Packages.langgraph: 0.2.19 -> 0.2.21 Diff: https://github.com/langchain-ai/langgraph/compare/refs/tags/0.2.19...0.2.21 Changelog: https://github.com/langchain-ai/langgraph/releases/tag/0.2.21 --- pkgs/development/python-modules/langgraph/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/langgraph/default.nix b/pkgs/development/python-modules/langgraph/default.nix index cb442e8919f4..80e2faa68258 100644 --- a/pkgs/development/python-modules/langgraph/default.nix +++ b/pkgs/development/python-modules/langgraph/default.nix @@ -1,5 +1,6 @@ { lib, + stdenv, buildPythonPackage, fetchFromGitHub, @@ -35,14 +36,14 @@ buildPythonPackage rec { pname = "langgraph"; - version = "0.2.19"; + version = "0.2.21"; pyproject = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langgraph"; rev = "refs/tags/${version}"; - hash = "sha256-qJIZAHftIKyWK0A/MjilalmmB8b8E7JtLnFn156hE08="; + hash = "sha256-1Ch2V85omAKnXK9rMihNtyjIoOvmVUm8Dbdo5GBoik4="; }; postgresqlTestSetupPost = '' @@ -61,6 +62,10 @@ buildPythonPackage rec { pythonImportsCheck = [ "langgraph" ]; + # postgresql doesn't play nicely with the darwin sandbox: + # FATAL: could not create shared memory segment: Operation not permitted + doCheck = !stdenv.isDarwin; + nativeCheckInputs = [ aiosqlite dataclasses-json