Skip to content

The agent engineering platform.

bump langsmith to allow 0.4 (#31594)

Xin Jin01fcdff11854
diff --git a/libs/core/pyproject.toml b/libs/core/pyproject.toml
index 57c012e022..826746d079 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.4,>=0.3.45",
+ "langsmith<0.5,>=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 8b6fb80d05..df41412faf 100644
--- a/libs/core/uv.lock
+++ b/libs/core/uv.lock
@@ -1,4 +1,5 @@
version = 1
+revision = 1
requires-python = ">=3.9"
resolution-markers = [
"python_full_version >= '3.13' and platform_python_implementation == 'PyPy'",
@@ -993,7 +994,7 @@ typing = [
[package.metadata]
requires-dist = [
{ name = "jsonpatch", specifier = ">=1.33,<2.0" },
- { name = "langsmith", specifier = ">=0.3.45,<0.4" },
+ { name = "langsmith", specifier = ">=0.3.45,<0.5" },
{ 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 1caab70ad7..6c3bcdc306 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.4,>=0.1.17",
+ "langsmith<0.5,>=0.1.17",
"pydantic<3.0.0,>=2.7.4",
"SQLAlchemy<3,>=1.4",
"requests<3,>=2",
@@ -76,7 +76,7 @@ test = [
]
codespell = ["codespell<3.0.0,>=2.2.0"]
test_integration = [
- "pytest-vcr<2.0.0,>=1.0.2",
+ "vcrpy>=7.0",
"urllib3<2; python_version < \"3.10\"",
"wrapt<2.0.0,>=1.15.0",
"python-dotenv<2.0.0,>=1.0.0",
diff --git a/libs/langchain/uv.lock b/libs/langchain/uv.lock
index b74a53b111..07891b92e3 100644
--- a/libs/langchain/uv.lock
+++ b/libs/langchain/uv.lock
@@ -1,4 +1,5 @@
version = 1
+revision = 1
requires-python = ">=3.9"
resolution-markers = [
"python_full_version >= '3.13' and platform_python_implementation == 'PyPy'",
@@ -2461,9 +2462,9 @@ test-integration = [
{ name = "langchain-core" },
{ name = "langchain-text-splitters" },
{ name = "langchainhub" },
- { name = "pytest-vcr" },
{ name = "python-dotenv" },
{ name = "urllib3", version = "1.26.20", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.10'" },
+ { name = "vcrpy" },
{ name = "wrapt" },
]
typing = [
@@ -2504,12 +2505,13 @@ 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.4" },
+ { name = "langsmith", specifier = ">=0.1.17,<0.5" },
{ name = "pydantic", specifier = ">=2.7.4,<3.0.0" },
{ name = "pyyaml", specifier = ">=5.3" },
{ name = "requests", specifier = ">=2,<3" },
{ name = "sqlalchemy", specifier = ">=1.4,<3" },
]
+provides-extras = ["community", "anthropic", "openai", "azure-ai", "cohere", "google-vertexai", "google-genai", "fireworks", "ollama", "together", "mistralai", "huggingface", "groq", "aws", "deepseek", "xai", "perplexity"]
[package.metadata.requires-dev]
codespell = [{ name = "codespell", specifier = ">=2.2.0,<3.0.0" }]
@@ -2558,9 +2560,9 @@ test-integration = [
{ name = "langchain-core", editable = "../core" },
{ name = "langchain-text-splitters", editable = "../text-splitters" },
{ name = "langchainhub", specifier = ">=0.1.16,<1.0.0" },
- { name = "pytest-vcr", specifier = ">=1.0.2,<2.0.0" },
{ name = "python-dotenv", specifier = ">=1.0.0,<2.0.0" },
{ name = "urllib3", marker = "python_full_version < '3.10'", specifier = "<2" },
+ { name = "vcrpy", specifier = ">=7.0" },
{ name = "wrapt", specifier = ">=1.15.0,<2.0.0" },
]
typing = [
@@ -2703,7 +2705,7 @@ wheels = [
[[package]]
name = "langchain-core"
-version = "0.3.60"
+version = "0.3.65"
source = { editable = "../core" }
dependencies = [
{ name = "jsonpatch" },
@@ -2718,7 +2720,7 @@ dependencies = [
[package.metadata]
requires-dist = [
{ name = "jsonpatch", specifier = ">=1.33,<2.0" },
- { name = "langsmith", specifier = ">=0.1.126,<0.4" },
+ { name = "langsmith", specifier = ">=0.3.45,<0.5" },
{ name = "packaging", specifier = ">=23.2,<25" },
{ name = "pydantic", specifier = ">=2.7.4" },
{ name = "pyyaml", specifier = ">=5.3" },
@@ -2880,7 +2882,7 @@ wheels = [
[[package]]
name = "langchain-openai"
-version = "0.3.17"
+version = "0.3.22"
source = { editable = "../partners/openai" }
dependencies = [
{ name = "langchain-core" },
@@ -2943,7 +2945,7 @@ wheels = [
[[package]]
name = "langchain-tests"
-version = "0.3.19"
+version = "0.3.20"
source = { editable = "../standard-tests" }
dependencies = [
{ name = "httpx" },
@@ -2955,8 +2957,8 @@ dependencies = [
{ name = "pytest-benchmark" },
{ name = "pytest-codspeed", version = "2.2.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.10'" },
{ name = "pytest-codspeed", version = "3.2.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10'" },
+ { name = "pytest-recording" },
{ name = "pytest-socket" },
- { name = "pytest-vcr" },
{ name = "syrupy" },
{ name = "vcrpy" },
]
@@ -2971,8 +2973,8 @@ requires-dist = [
{ name = "pytest-asyncio", specifier = ">=0.20,<1" },
{ name = "pytest-benchmark" },
{ name = "pytest-codspeed" },
+ { name = "pytest-recording" },
{ name = "pytest-socket", specifier = ">=0.6.0,<1" },
- { name = "pytest-vcr" },
{ name = "syrupy", specifier = ">=4,<5" },
{ name = "vcrpy", specifier = ">=7.0" },
]
@@ -3078,7 +3080,7 @@ wheels = [
[[package]]
name = "langsmith"
-version = "0.3.37"
+version = "0.3.45"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "httpx" },
@@ -3089,9 +3091,9 @@ dependencies = [
{ name = "requests-toolbelt" },
{ name = "zstandard" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/7b/d0/98daffe57c57c2f44c5d363df5004d8e530b8c9b15751f451d273fd1d4c8/langsmith-0.3.37.tar.gz", hash = "sha256:d49d9a12d24d3984d5b3e2b5915b525b4a29a4706ea9cadde43c980fba43fab0", size = 344645 }
+sdist = { url = "https://files.pythonhosted.org/packages/be/86/b941012013260f95af2e90a3d9415af4a76a003a28412033fc4b09f35731/langsmith-0.3.45.tar.gz", hash = "sha256:1df3c6820c73ed210b2c7bc5cdb7bfa19ddc9126cd03fdf0da54e2e171e6094d", size = 348201 }
wheels = [
- { url = "https://files.pythonhosted.org/packages/50/f2/5700dbeec7dca0aa57a6ed2f472fa3a323b46c85ab2bc446b2c7c8fb599e/langsmith-0.3.37-py3-none-any.whl", hash = "sha256:bdecca4eb48ba1799e821a33dbdca318ab202faa71a5bfa7d2358be6c3fd7eeb", size = 359308 },
+ { url = "https://files.pythonhosted.org/packages/6a/f4/c206c0888f8a506404cb4f16ad89593bdc2f70cf00de26a1a0a7a76ad7a3/langsmith-0.3.45-py3-none-any.whl", hash = "sha256:5b55f0518601fa65f3bb6b1a3100379a96aa7b3ed5e9380581615ba9c65ed8ed", size = 363002 },
]
[[package]]
@@ -4698,28 +4700,28 @@ wheels = [
]
[[package]]
-name = "pytest-socket"
-version = "0.7.0"
+name = "pytest-recording"
+version = "0.13.4"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "pytest" },
+ { name = "vcrpy" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/05/ff/90c7e1e746baf3d62ce864c479fd53410b534818b9437413903596f81580/pytest_socket-0.7.0.tar.gz", hash = "sha256:71ab048cbbcb085c15a4423b73b619a8b35d6a307f46f78ea46be51b1b7e11b3", size = 12389 }
+sdist = { url = "https://files.pythonhosted.org/packages/32/9c/f4027c5f1693847b06d11caf4b4f6bb09f22c1581ada4663877ec166b8c6/pytest_recording-0.13.4.tar.gz", hash = "sha256:568d64b2a85992eec4ae0a419c855d5fd96782c5fb016784d86f18053792768c", size = 26576 }
wheels = [
- { url = "https://files.pythonhosted.org/packages/19/58/5d14cb5cb59409e491ebe816c47bf81423cd03098ea92281336320ae5681/pytest_socket-0.7.0-py3-none-any.whl", hash = "sha256:7e0f4642177d55d317bbd58fc68c6bd9048d6eadb2d46a89307fa9221336ce45", size = 6754 },
+ { url = "https://files.pythonhosted.org/packages/42/c2/ce34735972cc42d912173e79f200fe66530225190c06655c5632a9d88f1e/pytest_recording-0.13.4-py3-none-any.whl", hash = "sha256:ad49a434b51b1c4f78e85b1e6b74fdcc2a0a581ca16e52c798c6ace971f7f439", size = 13723 },
]
[[package]]
-name = "pytest-vcr"
-version = "1.0.2"
+name = "pytest-socket"
+version = "0.7.0"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "pytest" },
- { name = "vcrpy" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/1a/60/104c619483c1a42775d3f8b27293f1ecfc0728014874d065e68cb9702d49/pytest-vcr-1.0.2.tar.gz", hash = "sha256:23ee51b75abbcc43d926272773aae4f39f93aceb75ed56852d0bf618f92e1896", size = 3810 }
+sdist = { url = "https://files.pythonhosted.org/packages/05/ff/90c7e1e746baf3d62ce864c479fd53410b534818b9437413903596f81580/pytest_socket-0.7.0.tar.gz", hash = "sha256:71ab048cbbcb085c15a4423b73b619a8b35d6a307f46f78ea46be51b1b7e11b3", size = 12389 }
wheels = [
- { url = "https://files.pythonhosted.org/packages/9d/d3/ff520d11e6ee400602711d1ece8168dcfc5b6d8146fb7db4244a6ad6a9c3/pytest_vcr-1.0.2-py2.py3-none-any.whl", hash = "sha256:2f316e0539399bea0296e8b8401145c62b6f85e9066af7e57b6151481b0d6d9c", size = 4137 },
+ { url = "https://files.pythonhosted.org/packages/19/58/5d14cb5cb59409e491ebe816c47bf81423cd03098ea92281336320ae5681/pytest_socket-0.7.0-py3-none-any.whl", hash = "sha256:7e0f4642177d55d317bbd58fc68c6bd9048d6eadb2d46a89307fa9221336ce45", size = 6754 },
]
[[package]]