LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • LangGraph Checkpoint
    LangGraph Store
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    ⌘I

    LangChain Assistant

    Ask a question to get started

    Enter to send•Shift+Enter new line

    Menu

    LangGraph Checkpoint
    LangGraph Store
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    Language
    Theme
    Pythonlanggraph-clidependency_tracking
    Module●Since v0.4

    dependency_tracking

    Detection of tracked Python packages in a local LangGraph project.

    Mirrors host-backend's host.models.dependency_tracking so that CLI-based deploys report the same tracked_packages revision metadata that GitHub-based deploys do. The host backend strictly validates each entry against <package-name>:<version> with package-name in TRACKED_PACKAGES, so the detection rules here must match exactly.

    Attributes

    Functions

    View source on GitHub
    attribute
    TRACKED_PACKAGES: tuple[str, ...]
    function
    find_tracked_packages

    Return every tracked package found in deps as <name>:<version> entries.

    config is the absolute path to langgraph.json; dep paths in config_json["dependencies"] are resolved relative to its parent. Detection precedence per package: uv.lock resolved > pyproject.toml / requirements.txt specifier > bare reference > extras bracket (last two recorded as "unknown"). Output is ordered by TRACKED_PACKAGES.