release(cli): Support bookworm, trixie, etc. (#5975)

Also add support for pinning to a semantic version.
This commit is contained in:
William FH
2025-08-20 15:40:04 +00:00
committed by GitHub
parent ef65d3cf88
commit 998e194e82
15 changed files with 308 additions and 174 deletions
+3 -1
View File
@@ -381,7 +381,9 @@ def test_dockerfile_command_with_base_image() -> None:
assert save_path.exists()
with open(save_path) as f:
dockerfile = f.read()
assert re.match("FROM langchain/langgraph-server:0.2-py3.*", dockerfile)
assert re.match("FROM langchain/langgraph-server:0.2-py3.*", dockerfile), (
"\n".join(dockerfile.splitlines()[:3])
)
def test_dockerfile_command_with_docker_compose() -> None: