Compare commits

...
Author SHA1 Message Date
Elior Nataf Lackritz 302a4d4caf release(cli): 0.4.41 (#9596)
Bumps langgraph-cli from 0.4.40 to 0.4.41.

Includes:

- Remove the outdated private-beta notice for `--agent-id` and
`--agent-environment` from `langgraph deploy` (#9506)
2026-11-04 21:28:17 -05:00
Elior Nataf Lackritz cf260dac7f ci(cli): compare the prerelease example's versions with its pins (#9597)
Dependabot bumped the `langgraph` pin in the CLI's
`graph_prerelease_reqs` example from 1.2.6 to 1.2.19 (#9513), but the
integration test compared the built image against versions written into
the workflow. Every CLI PR that runs that check now fails with
`LANGGRAPH_VERSION != 1.2.6; 1.2.19`. Dependabot's own run passed only
because the check needs the LangSmith secret, which dependabot runs
don't get.

The check now reads each `name==version` pin from the example's
`pyproject.toml` and compares it with the version installed in the
image, so later bumps can't break it. It fails if it finds no pins.
2026-11-04 21:19:51 -05:00
2 changed files with 11 additions and 16 deletions

No files matched your search

+10 -15
View File
@@ -115,21 +115,16 @@ jobs:
echo "LANGSMITH_API_KEY=${{ secrets.LANGSMITH_API_KEY }}" >> .env
timeout --kill-after=30 300 python ../../../../.github/scripts/run_langgraph_cli_test.py -t langgraph-test-h
echo "Finished starting up langgraph-test-h"
LANGGRAPH_VERSION=$(docker run --rm --entrypoint "" langgraph-test-h python -c "import sys; from importlib.metadata import version; v = version('langgraph'); print(v);")
if [ "$LANGGRAPH_VERSION" != "1.2.6" ]; then
echo "LANGGRAPH_VERSION != 1.2.6; $LANGGRAPH_VERSION"
exit 1
fi
LANGCHAIN_OPENAI_VERSION=$(docker run --rm --entrypoint "" langgraph-test-h python -c "import sys; from importlib.metadata import version; v = version('langchain-openai'); print(v);")
if [ "$LANGCHAIN_OPENAI_VERSION" != "1.1.14" ]; then
echo "LANGCHAIN_OPENAI_VERSION != 1.1.14; $LANGCHAIN_OPENAI_VERSION"
exit 1
fi
LANGCHAIN_ANTHROPIC_VERSION=$(docker run --rm --entrypoint "" langgraph-test-h python -c "import sys; from importlib.metadata import version; v = version('langchain-anthropic'); print(v);")
if [ "$LANGCHAIN_ANTHROPIC_VERSION" != "1.4.6" ]; then
echo "LANGCHAIN_ANTHROPIC_VERSION != 1.4.6; $LANGCHAIN_ANTHROPIC_VERSION"
exit 1
fi
pins=$(grep -oE '"[a-z0-9-]+==[^"]+"' pyproject.toml | tr -d '"')
[ -n "$pins" ] || { echo "no == pins found in pyproject.toml"; exit 1; }
for pin in $pins; do
pkg=${pin%%==*}
installed=$(docker run --rm --entrypoint "" langgraph-test-h python -c "from importlib.metadata import version; print(version('$pkg'))")
if [ "$installed" != "${pin#*==}" ]; then
echo "$pkg $installed != pinned ${pin#*==}"
exit 1
fi
done
- name: Build and test prerelease reqs fail service
if: ${{ (steps.changed-files.outputs.all || github.event_name == 'workflow_dispatch') &&matrix.example.name == 'A' }}
+1 -1
View File
@@ -1 +1 @@
__version__ = "0.4.40"
__version__ = "0.4.41"