Skip to content

The agent engineering platform.

core and langchain: Remove upper bound restriction langsmith dependency (#31629)

Xin Jin7702691baf1c
diff --git a/libs/core/pyproject.toml b/libs/core/pyproject.toml
index 826746d079..118017b58c 100644
--- a/libs/core/pyproject.toml
+++ b/libs/core/pyproject.toml
@@ -7,7 +7,7 @@ authors = []
license = {text = "MIT"}
requires-python = ">=3.9"
dependencies = [
- "langsmith<0.5,>=0.3.45",
+ "langsmith>=0.3.45",
"tenacity!=8.4.0,<10.0.0,>=8.1.0",
"jsonpatch<2.0,>=1.33",
"PyYAML>=5.3",
diff --git a/libs/core/uv.lock b/libs/core/uv.lock
index df41412faf..134d188d7d 100644
--- a/libs/core/uv.lock
+++ b/libs/core/uv.lock
@@ -994,7 +994,7 @@ typing = [
[package.metadata]
requires-dist = [
{ name = "jsonpatch", specifier = ">=1.33,<2.0" },
- { name = "langsmith", specifier = ">=0.3.45,<0.5" },
+ { name = "langsmith", specifier = ">=0.3.45" },
{ name = "packaging", specifier = ">=23.2,<25" },
{ name = "pydantic", specifier = ">=2.7.4" },
{ name = "pyyaml", specifier = ">=5.3" },
diff --git a/libs/langchain/pyproject.toml b/libs/langchain/pyproject.toml
index 6c3bcdc306..22220bf530 100644
--- a/libs/langchain/pyproject.toml
+++ b/libs/langchain/pyproject.toml
@@ -9,7 +9,7 @@ requires-python = ">=3.9"
dependencies = [
"langchain-core<1.0.0,>=0.3.58",
"langchain-text-splitters<1.0.0,>=0.3.8",
- "langsmith<0.5,>=0.1.17",
+ "langsmith>=0.1.17",
"pydantic<3.0.0,>=2.7.4",
"SQLAlchemy<3,>=1.4",
"requests<3,>=2",
diff --git a/libs/langchain/uv.lock b/libs/langchain/uv.lock
index 07891b92e3..98aa94c231 100644
--- a/libs/langchain/uv.lock
+++ b/libs/langchain/uv.lock
@@ -2505,7 +2505,7 @@ requires-dist = [
{ name = "langchain-text-splitters", editable = "../text-splitters" },
{ name = "langchain-together", marker = "extra == 'together'" },
{ name = "langchain-xai", marker = "extra == 'xai'" },
- { name = "langsmith", specifier = ">=0.1.17,<0.5" },
+ { name = "langsmith", specifier = ">=0.1.17" },
{ name = "pydantic", specifier = ">=2.7.4,<3.0.0" },
{ name = "pyyaml", specifier = ">=5.3" },
{ name = "requests", specifier = ">=2,<3" },
@@ -2720,7 +2720,7 @@ dependencies = [
[package.metadata]
requires-dist = [
{ name = "jsonpatch", specifier = ">=1.33,<2.0" },
- { name = "langsmith", specifier = ">=0.3.45,<0.5" },
+ { name = "langsmith", specifier = ">=0.3.45" },
{ name = "packaging", specifier = ">=23.2,<25" },
{ name = "pydantic", specifier = ">=2.7.4" },
{ name = "pyyaml", specifier = ">=5.3" },
@@ -2882,7 +2882,7 @@ wheels = [
[[package]]
name = "langchain-openai"
-version = "0.3.22"
+version = "0.3.23"
source = { editable = "../partners/openai" }
dependencies = [
{ name = "langchain-core" },
@@ -2893,7 +2893,7 @@ dependencies = [
[package.metadata]
requires-dist = [
{ name = "langchain-core", editable = "../core" },
- { name = "openai", specifier = ">=1.68.2,<2.0.0" },
+ { name = "openai", specifier = ">=1.86.0,<2.0.0" },
{ name = "tiktoken", specifier = ">=0.7,<1" },
]
@@ -3799,7 +3799,7 @@ wheels = [
[[package]]
name = "openai"
-version = "1.69.0"
+version = "1.87.0"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "anyio" },
@@ -3811,9 +3811,9 @@ dependencies = [
{ name = "tqdm" },
{ name = "typing-extensions" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/ab/99/d164612528dfb7a9b19330623daded608e75d25823b01f81e0376eb388a4/openai-1.69.0.tar.gz", hash = "sha256:7b8a10a8ff77e1ae827e5e4c8480410af2070fb68bc973d6c994cf8218f1f98d", size = 409579 }
+sdist = { url = "https://files.pythonhosted.org/packages/47/ed/2b3f6c7e950784e9442115ab8ebeff514d543fb33da10607b39364645a75/openai-1.87.0.tar.gz", hash = "sha256:5c69764171e0db9ef993e7a4d8a01fd8ff1026b66f8bdd005b9461782b6e7dfc", size = 470880 }
wheels = [
- { url = "https://files.pythonhosted.org/packages/b8/a4/28113be8b7bc937656aaf7b06feff7e9a5eb742ee4e405c6c48c30d879c4/openai-1.69.0-py3-none-any.whl", hash = "sha256:73c4b2ddfd050060f8d93c70367189bd891e70a5adb6d69c04c3571f4fea5627", size = 599068 },
+ { url = "https://files.pythonhosted.org/packages/36/ac/313ded47ce1d5bc2ec02ed5dd5506bf5718678a4655ac20f337231d9aae3/openai-1.87.0-py3-none-any.whl", hash = "sha256:f9bcae02ac4fff6522276eee85d33047335cfb692b863bd8261353ce4ada5692", size = 734368 },
]
[[package]]