summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorsarahec <sarahec@nextquestion.net>2025-08-16 16:56:21 +0000
committerSarah Clark <seclark@nextquestion.net>2025-08-19 09:48:17 -0700
commit9cdf92b91bc8564333d433ce1736648edf0148d8 (patch)
tree9af2d4f671cd0549a36cdf51d88a25b8d9b6f367 /pkgs/development/python-modules
parent7037d9a4ef4f30a86e6a884b5ffce00d424dc6bf (diff)
python312Packages.langgraph: 0.6.1 -> 0.6.5
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/langgraph/default.nix17
1 files changed, 11 insertions, 6 deletions
diff --git a/pkgs/development/python-modules/langgraph/default.nix b/pkgs/development/python-modules/langgraph/default.nix
index fa5efe2b2ba3..4bf3b7ab9bd9 100644
--- a/pkgs/development/python-modules/langgraph/default.nix
+++ b/pkgs/development/python-modules/langgraph/default.nix
@@ -18,6 +18,7 @@
# tests
aiosqlite,
dataclasses-json,
+ fakeredis,
grandalf,
httpx,
langgraph-checkpoint-postgres,
@@ -32,20 +33,21 @@
syrupy,
postgresql,
postgresqlTestHook,
+ redisTestHook,
# passthru
nix-update-script,
}:
buildPythonPackage rec {
pname = "langgraph";
- version = "0.6.1";
+ version = "0.6.4";
pyproject = true;
src = fetchFromGitHub {
owner = "langchain-ai";
repo = "langgraph";
tag = version;
- hash = "sha256-8mubZSV1CDgYzykKaaWqn04yJldAgdGmgZDm54towWc=";
+ hash = "sha256-9jl16cKp3E7j79PXrr/3splrcJtfQQN7yFJ5sfa6c+I=";
};
postgresqlTestSetupPost = ''
@@ -78,6 +80,9 @@ buildPythonPackage rec {
pytestCheckHook
postgresql
postgresqlTestHook
+ redisTestHook
+ fakeredis
+ langgraph-checkpoint
];
checkInputs = [
@@ -99,6 +104,10 @@ buildPythonPackage rec {
];
disabledTests = [
+ # Requires `langgraph dev` to be running
+ "test_remote_graph_basic_invoke"
+ "test_remote_graph_stream_messages_tuple"
+
# Disabling tests that requires to create new random databases
"test_cancel_graph_astream"
"test_cancel_graph_astream_events_v2"
@@ -112,10 +121,6 @@ buildPythonPackage rec {
"test_no_modifier"
"test_pending_writes_resume"
"test_remove_message_via_state_update"
-
- # Requires `langgraph dev` to be running
- "test_remote_graph_basic_invoke"
- "test_remote_graph_stream_messages_tuple"
];
disabledTestPaths = [