Skip to content

Commit c5b84bf

Browse files
committed
1 parent ef92e21 commit c5b84bf

File tree

1 file changed

+25
-6
lines changed
  • pkgs/development/python-modules/langgraph-cli

1 file changed

+25
-6
lines changed

pkgs/development/python-modules/langgraph-cli/default.nix

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@
44
fetchFromGitHub,
55

66
# build-system
7-
poetry-core,
7+
hatchling,
88

99
# dependencies
1010
click,
11+
langgraph-sdk,
1112

1213
# testing
1314
pytest-asyncio,
@@ -20,21 +21,34 @@
2021

2122
buildPythonPackage rec {
2223
pname = "langgraph-cli";
23-
version = "0.2.10";
24+
version = "0.3.6";
2425
pyproject = true;
2526

2627
src = fetchFromGitHub {
2728
owner = "langchain-ai";
2829
repo = "langgraph";
2930
tag = "cli==${version}";
30-
hash = "sha256-gSiyFjk1lXiCv7JpX4J00WAPoMv4VsXDuCswbFhP2kY=";
31+
hash = "sha256-tBMdFOHSRjw0PtE19XytLU4MmjR3NBLJxUqWoG4L2F8=";
3132
};
3233

3334
sourceRoot = "${src.name}/libs/cli";
3435

35-
build-system = [ poetry-core ];
36+
build-system = [ hatchling ];
3637

37-
dependencies = [ click ];
38+
dependencies = [
39+
click
40+
langgraph-sdk
41+
];
42+
43+
# Not yet. Depemnds on `langgraph-runtime-inmem` which isn't in github yet
44+
# https://github.com/langchain-ai/langgraph/issues/5802
45+
# optional-dependencies = {
46+
# "inmem" = [
47+
# langgraph-api
48+
# langgraph-runtime-inmem
49+
# python-dotenv
50+
# ]
51+
# }
3852

3953
nativeCheckInputs = [
4054
pytest-asyncio
@@ -55,8 +69,13 @@ buildPythonPackage rec {
5569
"test_config_to_compose_end_to_end"
5670
"test_config_to_compose_simple_config"
5771
"test_config_to_compose_watch"
58-
# Tests exit value, needs to happen in a passthru test
72+
73+
# Tests that require docker
5974
"test_dockerfile_command_with_docker_compose"
75+
"test_build_command_with_api_version_and_base_image"
76+
"test_build_command_with_api_version"
77+
"test_build_generate_proper_build_context"
78+
"test_build_command_shows_wolfi_warning"
6079
];
6180

6281
passthru.updateScript = gitUpdater {

0 commit comments

Comments
 (0)