From 04a9f5d1e586071108b7c2e382aa1710a85b0fbc Mon Sep 17 00:00:00 2001 From: William Fu-Hinthorn <13333726+hinthornw@users.noreply.github.com> Date: Fri, 31 Oct 2025 17:42:58 -0700 Subject: [PATCH] update check --- .github/scripts/run_langgraph_cli_test.py | 5 +++-- .github/workflows/_integration_test.yml | 3 ++- libs/cli/examples/graph_prerelease_reqs/pyproject.toml | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/scripts/run_langgraph_cli_test.py b/.github/scripts/run_langgraph_cli_test.py index ac89c838f..2d859f341 100644 --- a/.github/scripts/run_langgraph_cli_test.py +++ b/.github/scripts/run_langgraph_cli_test.py @@ -1,7 +1,8 @@ +import logging import pathlib import sys import time -from urllib import request, error +from urllib import error, request import langgraph_cli import langgraph_cli.config @@ -10,7 +11,6 @@ from langgraph_cli.cli import prepare_args_and_stdin from langgraph_cli.constants import DEFAULT_PORT from langgraph_cli.exec import Runner, subp_exec from langgraph_cli.progress import Progress -import logging logger = logging.getLogger(__name__) logging.basicConfig(level=logging.INFO) @@ -167,3 +167,4 @@ if __name__ == "__main__": parser.add_argument("-p", "--port", type=int, default=DEFAULT_PORT) args = parser.parse_args() test(pathlib.Path(args.config), args.port, args.tag, verbose=True) + logger.info("Test execution finished") diff --git a/.github/workflows/_integration_test.yml b/.github/workflows/_integration_test.yml index b0c3cdbe3..118314d70 100644 --- a/.github/workflows/_integration_test.yml +++ b/.github/workflows/_integration_test.yml @@ -136,12 +136,13 @@ jobs: cp ../.env.example .env if [ -n "${{ secrets.LANGSMITH_API_KEY }}" ]; then echo "LANGSMITH_API_KEY=${{ secrets.LANGSMITH_API_KEY }}" >> .env; fi timeout 60 python ../../../../.github/scripts/run_langgraph_cli_test.py -t langgraph-test-h + echo "Finished initial test. Checking versions..." LANGGRAPH_VERSION=$(docker run --rm --entrypoint "" langgraph-test-h python -c "from importlib.metadata import version; print(version('langgraph'))") test "$LANGGRAPH_VERSION" = "1.0.2" LANGCHAIN_OPENAI_VERSION=$(docker run --rm --entrypoint "" langgraph-test-h python -c "from importlib.metadata import version; print(version('langchain-openai'))") test "$LANGCHAIN_OPENAI_VERSION" = "1.0.1" LANGCHAIN_ANTHROPIC_VERSION=$(docker run --rm --entrypoint "" langgraph-test-h python -c "from importlib.metadata import version; print(version('langchain-anthropic'))") - test "$LANGCHAIN_ANTHROPIC_VERSION" = "1.0.0.a5" + test "$LANGCHAIN_ANTHROPIC_VERSION" = "1.0.0a5" build_and_test_prerelease_reqs_fail_service: needs: detect_changes diff --git a/libs/cli/examples/graph_prerelease_reqs/pyproject.toml b/libs/cli/examples/graph_prerelease_reqs/pyproject.toml index 35ea2e6e5..b0c1ab59a 100644 --- a/libs/cli/examples/graph_prerelease_reqs/pyproject.toml +++ b/libs/cli/examples/graph_prerelease_reqs/pyproject.toml @@ -6,7 +6,7 @@ readme = "README.md" requires-python = ">=3.10" dependencies = [ "langchain-openai==1.0.0a2", - "langchain-anthropic==1.0.0.a5", + "langchain-anthropic==1.0.0a5", "langgraph==1.0.2" ]