diff --git a/libs/checkpoint-postgres/pyproject.toml b/libs/checkpoint-postgres/pyproject.toml index 0442cfcd5..15e7b9aed 100644 --- a/libs/checkpoint-postgres/pyproject.toml +++ b/libs/checkpoint-postgres/pyproject.toml @@ -12,7 +12,7 @@ readme = "README.md" license = "MIT" license-files = ['LICENSE'] dependencies = [ - "langgraph-checkpoint>=2.0.21", + "langgraph-checkpoint>=2.0.21,<3.0.0", "orjson>=3.10.1", "psycopg>=3.2.0", "psycopg-pool>=3.2.0", diff --git a/libs/checkpoint-sqlite/pyproject.toml b/libs/checkpoint-sqlite/pyproject.toml index 7f378d892..d9907153a 100644 --- a/libs/checkpoint-sqlite/pyproject.toml +++ b/libs/checkpoint-sqlite/pyproject.toml @@ -12,7 +12,7 @@ readme = "README.md" license = "MIT" license-files = ['LICENSE'] dependencies = [ - "langgraph-checkpoint>=2.0.21", + "langgraph-checkpoint>=2.0.21,<3.0.0", "aiosqlite>=0.20", "sqlite-vec>=0.1.6", ] diff --git a/libs/cli/pyproject.toml b/libs/cli/pyproject.toml index 4cb4a561a..1a781e6f2 100644 --- a/libs/cli/pyproject.toml +++ b/libs/cli/pyproject.toml @@ -18,8 +18,8 @@ dependencies = [ [project.optional-dependencies] inmem = [ - "langgraph-api>=0.2.67 ; python_version >= '3.11'", - "langgraph-runtime-inmem>=0.3.0 ; python_version >= '3.11'", + "langgraph-api>=0.2.67,<0.3.0 ; python_version >= '3.11'", + "langgraph-runtime-inmem>=0.3.0,<0.4.0 ; python_version >= '3.11'", "python-dotenv>=0.8.0", ] diff --git a/libs/cli/uv.lock b/libs/cli/uv.lock index b256a721c..839e68015 100644 --- a/libs/cli/uv.lock +++ b/libs/cli/uv.lock @@ -530,8 +530,8 @@ dev = [ [package.metadata] requires-dist = [ { name = "click", specifier = ">=8.1.7" }, - { name = "langgraph-api", marker = "python_full_version >= '3.11' and extra == 'inmem'", specifier = ">=0.2.67" }, - { name = "langgraph-runtime-inmem", marker = "python_full_version >= '3.11' and extra == 'inmem'", specifier = ">=0.3.0" }, + { name = "langgraph-api", marker = "python_full_version >= '3.11' and extra == 'inmem'", specifier = ">=0.2.67,<0.3.0" }, + { name = "langgraph-runtime-inmem", marker = "python_full_version >= '3.11' and extra == 'inmem'", specifier = ">=0.3.0,<0.4.0" }, { name = "langgraph-sdk", marker = "python_full_version >= '3.11'", specifier = ">=0.1.0" }, { name = "python-dotenv", marker = "extra == 'inmem'", specifier = ">=0.8.0" }, ] diff --git a/libs/langgraph/pyproject.toml b/libs/langgraph/pyproject.toml index b04d64a36..1d5518052 100644 --- a/libs/langgraph/pyproject.toml +++ b/libs/langgraph/pyproject.toml @@ -13,9 +13,9 @@ license = "MIT" license-files = ['LICENSE'] dependencies = [ "langchain-core>=0.1", - "langgraph-checkpoint>=2.1.0", - "langgraph-sdk>=0.1.42", - "langgraph-prebuilt>=0.5.0", + "langgraph-checkpoint>=2.1.0,<3.0.0", + "langgraph-sdk>=0.1.42,<0.2.0", + "langgraph-prebuilt>=0.5.0,<0.6.0", "xxhash>=3.5.0", "pydantic>=2.7.4", ] diff --git a/libs/prebuilt/pyproject.toml b/libs/prebuilt/pyproject.toml index c294cd7fa..a4d389343 100644 --- a/libs/prebuilt/pyproject.toml +++ b/libs/prebuilt/pyproject.toml @@ -12,7 +12,7 @@ readme = "README.md" license = "MIT" license-files = ['LICENSE'] dependencies = [ - "langgraph-checkpoint>=2.1.0", + "langgraph-checkpoint>=2.1.0,<3.0.0", "langchain-core>=0.3.67", ]