The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
chore(anthropic): speed up integration tests (#33430)
ccurmef361acc11c22
diff --git a/libs/partners/anthropic/Makefile b/libs/partners/anthropic/Makefileindex bcb58a772e..6226e95756 100644--- a/libs/partners/anthropic/Makefile+++ b/libs/partners/anthropic/Makefile@@ -14,7 +14,7 @@ test tests:uv run --group test pytest -vvv --disable-socket --allow-unix-socket $(TEST_FILE)integration_test integration_tests:- uv run --group test --group test_integration pytest -vvv --timeout 30 $(TEST_FILE)+ uv run --group test --group test_integration pytest -n auto -vvv --timeout 30 $(TEST_FILE)test_watch:uv run --group test ptw --snapshot-update --now . -- -vv $(TEST_FILE)diff --git a/libs/partners/anthropic/pyproject.toml b/libs/partners/anthropic/pyproject.tomlindex 8d0d7bc9fb..16a76c2354 100644--- a/libs/partners/anthropic/pyproject.toml+++ b/libs/partners/anthropic/pyproject.toml@@ -37,6 +37,7 @@ test = ["pytest-retry>=1.7.0,<1.8.0","pytest-timeout>=2.3.1,<3.0.0","pytest-socket>=0.7.0,<1.0.0",+ "pytest-xdist>=3.8.0,<4.0.0","vcrpy>=7.0.0,<8.0.0","langchain-core","langchain-tests",diff --git a/libs/partners/anthropic/uv.lock b/libs/partners/anthropic/uv.lockindex 879d8c8591..7f4b372b0e 100644--- a/libs/partners/anthropic/uv.lock+++ b/libs/partners/anthropic/uv.lock@@ -256,6 +256,15 @@ wheels = [{ url = "https://files.pythonhosted.org/packages/36/f4/c6e662dade71f56cd2f3735141b265c3c79293c109549c1e6933b0651ffc/exceptiongroup-1.3.0-py3-none-any.whl", hash = "sha256:4d111e6e0c13d0644cad6ddaa7ed0261a0b36971f6d23e7ec9b4b9097da78a10", size = 16674, upload-time = "2025-05-10T17:42:49.33Z" },]+[[package]]+name = "execnet"+version = "2.1.1"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/bb/ff/b4c0dc78fbe20c3e59c0c7334de0c27eb4001a2b2017999af398bf730817/execnet-2.1.1.tar.gz", hash = "sha256:5189b52c6121c24feae288166ab41b32549c7e2348652736540b9e6e7d4e72e3", size = 166524, upload-time = "2024-04-08T09:04:19.245Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/43/09/2aea36ff60d16dd8879bdb2f5b3ee0ba8d08cbbdcdfe870e695ce3784385/execnet-2.1.1-py3-none-any.whl", hash = "sha256:26dee51f1b80cebd6d0ca8e74dd8745419761d3bef34163928cbebbdc4749fdc", size = 40612, upload-time = "2024-04-08T09:04:17.414Z" },+]+[[package]]name = "freezegun"version = "1.5.5"@@ -446,6 +455,7 @@ test = [{ name = "pytest-socket" },{ name = "pytest-timeout" },{ name = "pytest-watcher" },+ { name = "pytest-xdist" },{ name = "syrupy" },{ name = "vcrpy" },]@@ -481,6 +491,7 @@ test = [{ name = "pytest-socket", specifier = ">=0.7.0,<1.0.0" },{ name = "pytest-timeout", specifier = ">=2.3.1,<3.0.0" },{ name = "pytest-watcher", specifier = ">=0.3.4,<1.0.0" },+ { name = "pytest-xdist", specifier = ">=3.8.0,<4.0.0" },{ name = "syrupy", specifier = ">=4.0.2,<5.0.0" },{ name = "vcrpy", specifier = ">=7.0.0,<8.0.0" },]@@ -1405,6 +1416,19 @@ wheels = [{ url = "https://files.pythonhosted.org/packages/5b/3a/c44a76c6bb5e9e896d9707fb1c704a31a0136950dec9514373ced0684d56/pytest_watcher-0.4.3-py3-none-any.whl", hash = "sha256:d59b1e1396f33a65ea4949b713d6884637755d641646960056a90b267c3460f9", size = 11852, upload-time = "2024-08-28T17:37:45.731Z" },]+[[package]]+name = "pytest-xdist"+version = "3.8.0"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "execnet" },+ { name = "pytest" },+]+sdist = { url = "https://files.pythonhosted.org/packages/78/b4/439b179d1ff526791eb921115fca8e44e596a13efeda518b9d845a619450/pytest_xdist-3.8.0.tar.gz", hash = "sha256:7e578125ec9bc6050861aa93f2d59f1d8d085595d6551c2c90b6f4fad8d3a9f1", size = 88069, upload-time = "2025-07-01T13:30:59.346Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/ca/31/d4e37e9e550c2b92a9cbc2e4d0b7420a27224968580b5a447f420847c975/pytest_xdist-3.8.0-py3-none-any.whl", hash = "sha256:202ca578cfeb7370784a8c33d6d05bc6e13b4f25b5053c30a152269fd10f0b88", size = 46396, upload-time = "2025-07-01T13:30:56.632Z" },+]+[[package]]name = "python-dateutil"version = "2.9.0.post0"