From d77099fd2c1ff04338d2cfcace20a917ca38996d Mon Sep 17 00:00:00 2001 From: John Kennedy Date: Sat, 17 Oct 2026 01:58:42 +0000 Subject: [PATCH] Run the test dev server on a supported interpreter Co-authored-by: open-swe[bot] --- libs/langgraph/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libs/langgraph/Makefile b/libs/langgraph/Makefile index c5ce24a43..0c054f8b3 100644 --- a/libs/langgraph/Makefile +++ b/libs/langgraph/Makefile @@ -43,9 +43,13 @@ start-services: stop-services: docker compose -f tests/compose-postgres.yml -f tests/compose-redis.yml down -v +DEV_SERVER_PYTHON ?= 3.12 +DEV_SERVER_ENV = $(CURDIR)/.venvs/dev-server + start-dev-server: uv sync --frozen --group test --no-dev - @LOG_LEVEL=warning uv run --no-sync langgraph dev --config tests/example_app/langgraph.json --no-browser --no-reload & \ + UV_PROJECT_ENVIRONMENT=$(DEV_SERVER_ENV) uv sync --frozen --group test --no-dev --python $(DEV_SERVER_PYTHON) + @LOG_LEVEL=warning UV_PROJECT_ENVIRONMENT=$(DEV_SERVER_ENV) uv run --no-sync --python $(DEV_SERVER_PYTHON) langgraph dev --config tests/example_app/langgraph.json --no-browser --no-reload & \ PID=$$!; echo "$$PID" > .devserver.pid; \ for ATTEMPT in $$(seq 1 60); do \ if ! kill -0 $$PID 2>/dev/null; then break; fi; \