mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-08 02:37:52 +02:00
@@ -1 +1 @@
|
||||
__version__ = "0.4.12"
|
||||
__version__ = "0.4.13"
|
||||
|
||||
@@ -210,10 +210,15 @@ def validate_config(config: Config) -> Config:
|
||||
|
||||
# Validate image_distro config
|
||||
if image_distro := config.get("image_distro"):
|
||||
if image_distro == "bullseye":
|
||||
raise click.UsageError(
|
||||
"Bullseye images were deprecated in version 0.4.13. "
|
||||
"Please use 'bookworm' or 'debian' instead."
|
||||
)
|
||||
if image_distro not in Distros.__args__:
|
||||
raise click.UsageError(
|
||||
f"Invalid image_distro: '{image_distro}'. "
|
||||
"Must be one of 'debian', 'bullseye', or 'bookworm'."
|
||||
"Must be one of 'debian', 'wolfi', or 'bookworm'."
|
||||
)
|
||||
|
||||
if pip_installer := config.get("pip_installer"):
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
from typing import Any, Literal, TypedDict
|
||||
|
||||
Distros = Literal["debian", "wolfi", "bullseye", "bookworm"]
|
||||
Distros = Literal["debian", "wolfi", "bookworm"]
|
||||
MiddlewareOrders = Literal["auth_first", "middleware_first"]
|
||||
|
||||
|
||||
@@ -559,7 +559,7 @@ class Config(TypedDict, total=False):
|
||||
image_distro: Distros | None
|
||||
"""Optional. Linux distribution for the base image.
|
||||
|
||||
Must be one of 'wolfi', 'debian', 'bullseye', or 'bookworm'.
|
||||
Must be one of 'wolfi', 'debian', or 'bookworm'.
|
||||
If omitted, defaults to 'debian' ('latest').
|
||||
"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user