From ef15bc7d6795ed32de3ad8ac37c8bd256b875528 Mon Sep 17 00:00:00 2001 From: David Asamu Date: Wed, 15 Oct 2025 23:02:02 +0100 Subject: [PATCH] don't include local packages while exporting uv.lock --- libs/cli/langgraph_cli/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/cli/langgraph_cli/config.py b/libs/cli/langgraph_cli/config.py index 3766a4bbe..fa5e30a19 100644 --- a/libs/cli/langgraph_cli/config.py +++ b/libs/cli/langgraph_cli/config.py @@ -1331,7 +1331,7 @@ def _metadata_files(spec: ReqGenSpec) -> list[str]: def _get_reqs_gen_cmd(spec: ReqGenSpec) -> str: if spec.package_type == "pyproject" and spec.has_uv_lock: - return "uv export --no-hashes --no-dev -o 'requirements.txt'" + return "uv export --no-hashes --no-dev --no-emit-local -o 'requirements.txt'" if spec.package_type == "pyproject": return f"uv pip compile pyproject.toml -o 'requirements.txt' --constraint {CONSTRAINTS_PATH}" return (