diff --git a/libs/cli-install/LICENSE b/libs/cli-install/LICENSE index 8006a8b87..e5a4487ff 100644 --- a/libs/cli-install/LICENSE +++ b/libs/cli-install/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2025 LangChain AI, Inc. +Copyright (c) 2025 LangChain, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/libs/cli-install/langgraph_cli_install/main.py b/libs/cli-install/langgraph_cli_install/main.py index d4795c926..60b83b489 100644 --- a/libs/cli-install/langgraph_cli_install/main.py +++ b/libs/cli-install/langgraph_cli_install/main.py @@ -13,7 +13,7 @@ import uv def main(): """Install langgraph-cli using uv in an isolated environment.""" - print("Installing LangGraph CLI in an isolated environment...") + print("Installing LangGraph CLI...") try: uv_bin = uv.find_uv_bin() @@ -51,8 +51,8 @@ def main(): def get_latest_python_version() -> str: """Get the latest compatible Python version for installation.""" - # Try to use Python 3.12 if possible, otherwise fall back to the current version - target_version = "3.12" + # Try to use Python 3.13 if possible, otherwise fall back to the current version + target_version = "3.13" try: # Check if this version is available through uv uv_bin = uv.find_uv_bin() @@ -62,7 +62,7 @@ def get_latest_python_version() -> str: text=True, check=False, ) - if "3.12" in result.stdout: + if target_version in result.stdout: return f"python{target_version}" except Exception: pass diff --git a/libs/cli-install/pyproject.toml b/libs/cli-install/pyproject.toml index 14af11b08..e6e12a418 100644 --- a/libs/cli-install/pyproject.toml +++ b/libs/cli-install/pyproject.toml @@ -12,9 +12,9 @@ packages = [{ include = "langgraph_cli_install" }] langgraph-cli-install = "langgraph_cli_install.main:main" [tool.poetry.dependencies] -python = "^3.8.0,<4.0" -packaging = "^23.0" -uv = "^0.1.24" +python = "^3.9.0,<4.0" +packaging = ">=23.0" +uv = ">=0.6.0" [build-system] requires = ["poetry-core"] diff --git a/libs/cli/langgraph_cli/config.py b/libs/cli/langgraph_cli/config.py index 5082bb017..7f3c92025 100644 --- a/libs/cli/langgraph_cli/config.py +++ b/libs/cli/langgraph_cli/config.py @@ -198,7 +198,7 @@ class CorsConfig(TypedDict, total=False): allow_origin_regex: str """Optional. A regex pattern for matching allowed origins, used if you have dynamic subdomains. - Example: "^https://.*\.mycompany\.com$" + Example: "^https://\\.*\\.mycompany\\.com$" """ expose_headers: list[str] """Optional. List of headers that browsers are allowed to read from the response in cross-origin contexts."""