From 745eb90a6d38458d1b01ea6b892b0c907740725a Mon Sep 17 00:00:00 2001 From: Vadym Barda Date: Thu, 27 Feb 2025 09:41:43 -0500 Subject: [PATCH] prebuilt: remove langgraph dependency (#3620) --- libs/prebuilt/README.md | 7 ++----- libs/prebuilt/poetry.lock | 7 ++++--- libs/prebuilt/pyproject.toml | 3 +-- 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/libs/prebuilt/README.md b/libs/prebuilt/README.md index d6ae2f9b8..6a7d1e1a6 100644 --- a/libs/prebuilt/README.md +++ b/libs/prebuilt/README.md @@ -2,11 +2,8 @@ This library defines high-level APIs for creating and executing LangGraph agents and tools. -## Installation - -```bash -pip install langgraph-prebuilt -``` +> [!IMPORTANT] +> This library is meant to be bundled with `langgraph`, don't install it directly ## Agents diff --git a/libs/prebuilt/poetry.lock b/libs/prebuilt/poetry.lock index 10182b668..3000e6ae7 100644 --- a/libs/prebuilt/poetry.lock +++ b/libs/prebuilt/poetry.lock @@ -439,7 +439,7 @@ version = "0.3.0" description = "Building stateful, multi-actor applications with LLMs" optional = false python-versions = ">=3.9.0,<4.0" -groups = ["main", "dev"] +groups = ["dev"] files = [] develop = true @@ -514,7 +514,7 @@ version = "0.1.53" description = "SDK for interacting with LangGraph API" optional = false python-versions = "<4.0.0,>=3.9.0" -groups = ["main", "dev"] +groups = ["dev"] files = [ {file = "langgraph_sdk-0.1.53-py3-none-any.whl", hash = "sha256:4fab62caad73661ffe4c3ababedcd0d7bfaaba986bee4416b9c28948458a3af5"}, {file = "langgraph_sdk-0.1.53.tar.gz", hash = "sha256:12906ed965905fa27e0c28d9fa07dc6fd89e6895ff321ff049fdf3965d057cc4"}, @@ -780,6 +780,7 @@ files = [ {file = "orjson-3.10.15-cp39-cp39-win_amd64.whl", hash = "sha256:efcf6c735c3d22ef60c4aa27a5238f1a477df85e9b15f2142f9d669beb2d13fd"}, {file = "orjson-3.10.15.tar.gz", hash = "sha256:05ca7fe452a2e9d8d9d706a2984c95b9c2ebc5db417ce0b7a49b91d50642a23e"}, ] +markers = {main = "platform_python_implementation != \"PyPy\""} [[package]] name = "packaging" @@ -1472,4 +1473,4 @@ cffi = ["cffi (>=1.11)"] [metadata] lock-version = "2.1" python-versions = "^3.9.0,<4.0" -content-hash = "59dd6cf2dcd8192cd19115ea667079ee41c2ca4ae0ea8d4b429be232c79cf010" +content-hash = "af5dc04219a8b3bce05705a0664ff424b40b426e47575d0a8a36415563553942" diff --git a/libs/prebuilt/pyproject.toml b/libs/prebuilt/pyproject.toml index 6829a1cc0..86a8cda42 100644 --- a/libs/prebuilt/pyproject.toml +++ b/libs/prebuilt/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "langgraph-prebuilt" -version = "0.1.0" +version = "0.1.1" description = "Library with high-level APIs for creating and executing LangGraph agents and tools." authors = [] license = "MIT" @@ -10,7 +10,6 @@ packages = [{ include = "langgraph" }] [tool.poetry.dependencies] python = "^3.9.0,<4.0" -langgraph = ">=0.3,<0.4" langgraph-checkpoint = "^2.0.10" langchain-core = ">=0.2.43,<0.4.0,!=0.3.0,!=0.3.1,!=0.3.2,!=0.3.3,!=0.3.4,!=0.3.5,!=0.3.6,!=0.3.7,!=0.3.8,!=0.3.9,!=0.3.10,!=0.3.11,!=0.3.12,!=0.3.13,!=0.3.14,!=0.3.15,!=0.3.16,!=0.3.17,!=0.3.18,!=0.3.19,!=0.3.20,!=0.3.21,!=0.3.22"