bump langsmith to allow 0.4 (#31594)

Langsmith 0.4 is launched so bump it up across OSS: langchain and
langchain-core. Will have separate langsmith-doc announcement for that
This commit is contained in:
Xin Jin
2025-06-13 07:59:42 -07:00
committed by GitHub
parent 5839801897
commit 01fcdff118
4 changed files with 32 additions and 29 deletions

View File

@@ -7,7 +7,7 @@ authors = []
license = {text = "MIT"} license = {text = "MIT"}
requires-python = ">=3.9" requires-python = ">=3.9"
dependencies = [ dependencies = [
"langsmith<0.4,>=0.3.45", "langsmith<0.5,>=0.3.45",
"tenacity!=8.4.0,<10.0.0,>=8.1.0", "tenacity!=8.4.0,<10.0.0,>=8.1.0",
"jsonpatch<2.0,>=1.33", "jsonpatch<2.0,>=1.33",
"PyYAML>=5.3", "PyYAML>=5.3",

3
libs/core/uv.lock generated
View File

@@ -1,4 +1,5 @@
version = 1 version = 1
revision = 1
requires-python = ">=3.9" requires-python = ">=3.9"
resolution-markers = [ resolution-markers = [
"python_full_version >= '3.13' and platform_python_implementation == 'PyPy'", "python_full_version >= '3.13' and platform_python_implementation == 'PyPy'",
@@ -993,7 +994,7 @@ typing = [
[package.metadata] [package.metadata]
requires-dist = [ requires-dist = [
{ name = "jsonpatch", specifier = ">=1.33,<2.0" }, { 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 = "packaging", specifier = ">=23.2,<25" },
{ name = "pydantic", specifier = ">=2.7.4" }, { name = "pydantic", specifier = ">=2.7.4" },
{ name = "pyyaml", specifier = ">=5.3" }, { name = "pyyaml", specifier = ">=5.3" },

View File

@@ -9,7 +9,7 @@ requires-python = ">=3.9"
dependencies = [ dependencies = [
"langchain-core<1.0.0,>=0.3.58", "langchain-core<1.0.0,>=0.3.58",
"langchain-text-splitters<1.0.0,>=0.3.8", "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", "pydantic<3.0.0,>=2.7.4",
"SQLAlchemy<3,>=1.4", "SQLAlchemy<3,>=1.4",
"requests<3,>=2", "requests<3,>=2",
@@ -76,7 +76,7 @@ test = [
] ]
codespell = ["codespell<3.0.0,>=2.2.0"] codespell = ["codespell<3.0.0,>=2.2.0"]
test_integration = [ test_integration = [
"pytest-vcr<2.0.0,>=1.0.2", "vcrpy>=7.0",
"urllib3<2; python_version < \"3.10\"", "urllib3<2; python_version < \"3.10\"",
"wrapt<2.0.0,>=1.15.0", "wrapt<2.0.0,>=1.15.0",
"python-dotenv<2.0.0,>=1.0.0", "python-dotenv<2.0.0,>=1.0.0",

52
libs/langchain/uv.lock generated
View File

@@ -1,4 +1,5 @@
version = 1 version = 1
revision = 1
requires-python = ">=3.9" requires-python = ">=3.9"
resolution-markers = [ resolution-markers = [
"python_full_version >= '3.13' and platform_python_implementation == 'PyPy'", "python_full_version >= '3.13' and platform_python_implementation == 'PyPy'",
@@ -2461,9 +2462,9 @@ test-integration = [
{ name = "langchain-core" }, { name = "langchain-core" },
{ name = "langchain-text-splitters" }, { name = "langchain-text-splitters" },
{ name = "langchainhub" }, { name = "langchainhub" },
{ name = "pytest-vcr" },
{ name = "python-dotenv" }, { name = "python-dotenv" },
{ name = "urllib3", version = "1.26.20", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.10'" }, { name = "urllib3", version = "1.26.20", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.10'" },
{ name = "vcrpy" },
{ name = "wrapt" }, { name = "wrapt" },
] ]
typing = [ typing = [
@@ -2504,12 +2505,13 @@ requires-dist = [
{ name = "langchain-text-splitters", editable = "../text-splitters" }, { name = "langchain-text-splitters", editable = "../text-splitters" },
{ name = "langchain-together", marker = "extra == 'together'" }, { name = "langchain-together", marker = "extra == 'together'" },
{ name = "langchain-xai", marker = "extra == 'xai'" }, { 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 = "pydantic", specifier = ">=2.7.4,<3.0.0" },
{ name = "pyyaml", specifier = ">=5.3" }, { name = "pyyaml", specifier = ">=5.3" },
{ name = "requests", specifier = ">=2,<3" }, { name = "requests", specifier = ">=2,<3" },
{ name = "sqlalchemy", specifier = ">=1.4,<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] [package.metadata.requires-dev]
codespell = [{ name = "codespell", specifier = ">=2.2.0,<3.0.0" }] codespell = [{ name = "codespell", specifier = ">=2.2.0,<3.0.0" }]
@@ -2558,9 +2560,9 @@ test-integration = [
{ name = "langchain-core", editable = "../core" }, { name = "langchain-core", editable = "../core" },
{ name = "langchain-text-splitters", editable = "../text-splitters" }, { name = "langchain-text-splitters", editable = "../text-splitters" },
{ name = "langchainhub", specifier = ">=0.1.16,<1.0.0" }, { 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 = "python-dotenv", specifier = ">=1.0.0,<2.0.0" },
{ name = "urllib3", marker = "python_full_version < '3.10'", specifier = "<2" }, { name = "urllib3", marker = "python_full_version < '3.10'", specifier = "<2" },
{ name = "vcrpy", specifier = ">=7.0" },
{ name = "wrapt", specifier = ">=1.15.0,<2.0.0" }, { name = "wrapt", specifier = ">=1.15.0,<2.0.0" },
] ]
typing = [ typing = [
@@ -2703,7 +2705,7 @@ wheels = [
[[package]] [[package]]
name = "langchain-core" name = "langchain-core"
version = "0.3.60" version = "0.3.65"
source = { editable = "../core" } source = { editable = "../core" }
dependencies = [ dependencies = [
{ name = "jsonpatch" }, { name = "jsonpatch" },
@@ -2718,7 +2720,7 @@ dependencies = [
[package.metadata] [package.metadata]
requires-dist = [ requires-dist = [
{ name = "jsonpatch", specifier = ">=1.33,<2.0" }, { 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 = "packaging", specifier = ">=23.2,<25" },
{ name = "pydantic", specifier = ">=2.7.4" }, { name = "pydantic", specifier = ">=2.7.4" },
{ name = "pyyaml", specifier = ">=5.3" }, { name = "pyyaml", specifier = ">=5.3" },
@@ -2880,7 +2882,7 @@ wheels = [
[[package]] [[package]]
name = "langchain-openai" name = "langchain-openai"
version = "0.3.17" version = "0.3.22"
source = { editable = "../partners/openai" } source = { editable = "../partners/openai" }
dependencies = [ dependencies = [
{ name = "langchain-core" }, { name = "langchain-core" },
@@ -2943,7 +2945,7 @@ wheels = [
[[package]] [[package]]
name = "langchain-tests" name = "langchain-tests"
version = "0.3.19" version = "0.3.20"
source = { editable = "../standard-tests" } source = { editable = "../standard-tests" }
dependencies = [ dependencies = [
{ name = "httpx" }, { name = "httpx" },
@@ -2955,8 +2957,8 @@ dependencies = [
{ name = "pytest-benchmark" }, { 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 = "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-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-socket" },
{ name = "pytest-vcr" },
{ name = "syrupy" }, { name = "syrupy" },
{ name = "vcrpy" }, { name = "vcrpy" },
] ]
@@ -2971,8 +2973,8 @@ requires-dist = [
{ name = "pytest-asyncio", specifier = ">=0.20,<1" }, { name = "pytest-asyncio", specifier = ">=0.20,<1" },
{ name = "pytest-benchmark" }, { name = "pytest-benchmark" },
{ name = "pytest-codspeed" }, { name = "pytest-codspeed" },
{ name = "pytest-recording" },
{ name = "pytest-socket", specifier = ">=0.6.0,<1" }, { name = "pytest-socket", specifier = ">=0.6.0,<1" },
{ name = "pytest-vcr" },
{ name = "syrupy", specifier = ">=4,<5" }, { name = "syrupy", specifier = ">=4,<5" },
{ name = "vcrpy", specifier = ">=7.0" }, { name = "vcrpy", specifier = ">=7.0" },
] ]
@@ -3078,7 +3080,7 @@ wheels = [
[[package]] [[package]]
name = "langsmith" name = "langsmith"
version = "0.3.37" version = "0.3.45"
source = { registry = "https://pypi.org/simple" } source = { registry = "https://pypi.org/simple" }
dependencies = [ dependencies = [
{ name = "httpx" }, { name = "httpx" },
@@ -3089,9 +3091,9 @@ dependencies = [
{ name = "requests-toolbelt" }, { name = "requests-toolbelt" },
{ name = "zstandard" }, { 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 = [ 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]] [[package]]
@@ -4697,6 +4699,19 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/f2/3b/b26f90f74e2986a82df6e7ac7e319b8ea7ccece1caec9f8ab6104dc70603/pytest_mock-3.14.0-py3-none-any.whl", hash = "sha256:0b72c38033392a5f4621342fe11e9219ac11ec9d375f8e2a0c164539e0d70f6f", size = 9863 }, { url = "https://files.pythonhosted.org/packages/f2/3b/b26f90f74e2986a82df6e7ac7e319b8ea7ccece1caec9f8ab6104dc70603/pytest_mock-3.14.0-py3-none-any.whl", hash = "sha256:0b72c38033392a5f4621342fe11e9219ac11ec9d375f8e2a0c164539e0d70f6f", size = 9863 },
] ]
[[package]]
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/32/9c/f4027c5f1693847b06d11caf4b4f6bb09f22c1581ada4663877ec166b8c6/pytest_recording-0.13.4.tar.gz", hash = "sha256:568d64b2a85992eec4ae0a419c855d5fd96782c5fb016784d86f18053792768c", size = 26576 }
wheels = [
{ url = "https://files.pythonhosted.org/packages/42/c2/ce34735972cc42d912173e79f200fe66530225190c06655c5632a9d88f1e/pytest_recording-0.13.4-py3-none-any.whl", hash = "sha256:ad49a434b51b1c4f78e85b1e6b74fdcc2a0a581ca16e52c798c6ace971f7f439", size = 13723 },
]
[[package]] [[package]]
name = "pytest-socket" name = "pytest-socket"
version = "0.7.0" version = "0.7.0"
@@ -4709,19 +4724,6 @@ 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/19/58/5d14cb5cb59409e491ebe816c47bf81423cd03098ea92281336320ae5681/pytest_socket-0.7.0-py3-none-any.whl", hash = "sha256:7e0f4642177d55d317bbd58fc68c6bd9048d6eadb2d46a89307fa9221336ce45", size = 6754 },
] ]
[[package]]
name = "pytest-vcr"
version = "1.0.2"
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 }
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 },
]
[[package]] [[package]]
name = "pytest-watcher" name = "pytest-watcher"
version = "0.4.3" version = "0.4.3"