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