mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-30 13:35:09 +02:00
don't include local packages while exporting uv.lock
This commit is contained in:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user