{"record":{"id":"4d6921c0743d74b9","repo":"langchain-ai/langgraph","slug":"source-kind-uv-requires-a-base-image-with-uv-sup","errorCode":null,"errorMessage":"source.kind 'uv' requires a base image with uv support (langchain/langgraph-api >= 0.2.47)","messagePattern":"source\\.kind 'uv' requires a base image with uv support \\(langchain/langgraph-api >= 0\\.2\\.47\\)","errorType":"validation","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"libs/cli/langgraph_cli/uv_lock.py","lineNumber":887,"sourceCode":"    config_path: pathlib.Path,\n    config: Config,\n    base_image: str,\n    api_version: str | None = None,\n    *,\n    build_tools_to_uninstall: tuple[str, ...] | None,\n) -> tuple[str, dict[str, str]]:\n    from langgraph_cli.config import (\n        DEFAULT_NODE_VERSION,\n        _build_python_install_commands,\n        _build_runtime_env_vars,\n        _get_node_pm_install_cmd,\n        _get_pip_cleanup_lines,\n        _image_supports_uv,\n        docker_tag,\n    )\n\n    if not _image_supports_uv(base_image):\n        raise ValueError(\n            \"source.kind 'uv' requires a base image with uv support \"\n            \"(langchain/langgraph-api >= 0.2.47)\"\n        )\n\n    config_root = config_path.parent.resolve()\n    install_cmd = \"uv pip install --system\"\n    _, global_reqs_pip_install, pip_config_file_str = _build_python_install_commands(\n        config, install_cmd\n    )\n    plan = _plan_uv_lock_workspace(config_path, config)\n\n    _update_uv_lock_graph_paths(config_path, config, plan)\n    for section, key in [\n        (\"auth\", \"path\"),\n        (\"encryption\", \"path\"),\n        (\"checkpointer\", \"path\"),\n        (\"http\", \"app\"),\n    ]:","sourceCodeStart":869,"sourceCodeEnd":905,"githubUrl":"https://github.com/langchain-ai/langgraph/blob/38031739e551638e373fb553453256c23feeb41f/libs/cli/langgraph_cli/uv_lock.py#L869-L905","documentation":"Error \"source.kind 'uv' requires a base image with uv support (langchain/langgraph-api >= 0.2.47)\" thrown in langchain-ai/langgraph.","triggerScenarios":"Thrown at libs/cli/langgraph_cli/uv_lock.py:887 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"38031739e551638e373fb553453256c23feeb41f","analyzedAt":"2026-08-26T18:02:49.312Z","schemaVersion":2},"datasetVersion":"2026-08-26T21:11:00.512Z"}