langgraph-cli: 0.2.10 -> 0.3.6 (#430208)

authored by

Pol Dellaiera and committed by
GitHub
114484ca c35977e9

+25 -6
+25 -6
pkgs/development/python-modules/langgraph-cli/default.nix
··· 4 4 fetchFromGitHub, 5 5 6 6 # build-system 7 - poetry-core, 7 + hatchling, 8 8 9 9 # dependencies 10 10 click, 11 + langgraph-sdk, 11 12 12 13 # testing 13 14 pytest-asyncio, ··· 20 21 21 22 buildPythonPackage rec { 22 23 pname = "langgraph-cli"; 23 - version = "0.2.10"; 24 + version = "0.3.6"; 24 25 pyproject = true; 25 26 26 27 src = fetchFromGitHub { 27 28 owner = "langchain-ai"; 28 29 repo = "langgraph"; 29 30 tag = "cli==${version}"; 30 - hash = "sha256-gSiyFjk1lXiCv7JpX4J00WAPoMv4VsXDuCswbFhP2kY="; 31 + hash = "sha256-tBMdFOHSRjw0PtE19XytLU4MmjR3NBLJxUqWoG4L2F8="; 31 32 }; 32 33 33 34 sourceRoot = "${src.name}/libs/cli"; 34 35 35 - build-system = [ poetry-core ]; 36 + build-system = [ hatchling ]; 36 37 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 + # } 38 52 39 53 nativeCheckInputs = [ 40 54 pytest-asyncio ··· 55 69 "test_config_to_compose_end_to_end" 56 70 "test_config_to_compose_simple_config" 57 71 "test_config_to_compose_watch" 58 - # Tests exit value, needs to happen in a passthru test 72 + 73 + # Tests that require docker 59 74 "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" 60 79 ]; 61 80 62 81 passthru.updateScript = gitUpdater {