The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
test(langchain,partners): disable pytest-benchmark under xdist to silence `PytestBenchmarkWarning` (#37901)
Mason Daugherty3b999176c84c
diff --git a/libs/langchain/Makefile b/libs/langchain/Makefileindex b1204179bf..421d4a5b75 100644--- a/libs/langchain/Makefile+++ b/libs/langchain/Makefile@@ -23,7 +23,7 @@ coverage:$(TEST_FILE)test tests:- uv run --group test pytest -n auto $(PYTEST_EXTRA) --disable-socket --allow-unix-socket $(TEST_FILE)+ uv run --group test pytest -n auto --benchmark-disable $(PYTEST_EXTRA) --disable-socket --allow-unix-socket $(TEST_FILE)extended_tests:uv run --group test pytest $(PYTEST_EXTRA) --disable-socket --allow-unix-socket --only-extended tests/unit_testsdiff --git a/libs/partners/anthropic/Makefile b/libs/partners/anthropic/Makefileindex c85d9bd7a7..6f4c846a98 100644--- a/libs/partners/anthropic/Makefile+++ b/libs/partners/anthropic/Makefile@@ -15,7 +15,7 @@ test tests:uv run --group test pytest -vvv $(PYTEST_EXTRA) --disable-socket --allow-unix-socket $(TEST_FILE)integration_test integration_tests:- uv run --group test --group test_integration pytest -v --tb=short -n auto --timeout 30 --retries 3 --retry-delay 1 $(TEST_FILE)+ uv run --group test --group test_integration pytest -v --tb=short -n auto --benchmark-disable --timeout 30 --retries 3 --retry-delay 1 $(TEST_FILE)test_watch:uv run --group test ptw --snapshot-update --now . -- -vv $(TEST_FILE)diff --git a/libs/partners/chroma/Makefile b/libs/partners/chroma/Makefileindex 5248da9278..9cd2d1b6e8 100644--- a/libs/partners/chroma/Makefile+++ b/libs/partners/chroma/Makefile@@ -15,7 +15,7 @@ test tests:uv run --group test pytest $(PYTEST_EXTRA) --disable-socket --allow-unix-socket $(TEST_FILE)integration_test integration_tests:- uv run --group test --group test_integration pytest -v --tb=short -n auto $(TEST_FILE)+ uv run --group test --group test_integration pytest -v --tb=short -n auto --benchmark-disable $(TEST_FILE)test_watch:uv run --group test ptw --snapshot-update --now . -- -vv $(TEST_FILE)diff --git a/libs/partners/deepseek/Makefile b/libs/partners/deepseek/Makefileindex f7ae818ca0..a57d25ef23 100644--- a/libs/partners/deepseek/Makefile+++ b/libs/partners/deepseek/Makefile@@ -21,7 +21,7 @@ test_watch:# integration tests are run without the --disable-socket flag to allow network callsintegration_test integration_tests:- uv run --group test --group test_integration pytest -v --tb=short -n auto --timeout=30 $(TEST_FILE)+ uv run --group test --group test_integration pytest -v --tb=short -n auto --benchmark-disable --timeout=30 $(TEST_FILE)####################### LINTING AND FORMATTINGdiff --git a/libs/partners/exa/Makefile b/libs/partners/exa/Makefileindex e01b9356c1..0b335b432e 100644--- a/libs/partners/exa/Makefile+++ b/libs/partners/exa/Makefile@@ -16,7 +16,7 @@ test:uv run --group test --group test_integration pytest $(PYTEST_EXTRA) $(TEST_FILE)integration_test integration_tests:- uv run --group test --group test_integration pytest -v --tb=short -n auto $(PYTEST_EXTRA) $(TEST_FILE)+ uv run --group test --group test_integration pytest -v --tb=short -n auto --benchmark-disable $(PYTEST_EXTRA) $(TEST_FILE)tests:uv run --group test pytest $(PYTEST_EXTRA) $(TEST_FILE)diff --git a/libs/partners/fireworks/Makefile b/libs/partners/fireworks/Makefileindex 6d8c3b1929..2c41629412 100644--- a/libs/partners/fireworks/Makefile+++ b/libs/partners/fireworks/Makefile@@ -15,7 +15,7 @@ test tests:uv run --group test pytest $(PYTEST_EXTRA) --disable-socket --allow-unix-socket $(TEST_FILE)integration_test integration_tests:- uv run --group test --group test_integration pytest -v --tb=short -n auto --retries 3 --retry-delay 2 $(TEST_FILE)+ uv run --group test --group test_integration pytest -v --tb=short -n auto --benchmark-disable --retries 3 --retry-delay 2 $(TEST_FILE)test_watch:uv run --group test ptw --snapshot-update --now . -- -vv $(TEST_FILE)diff --git a/libs/partners/groq/Makefile b/libs/partners/groq/Makefileindex 8f29852825..c4df8ea33f 100644--- a/libs/partners/groq/Makefile+++ b/libs/partners/groq/Makefile@@ -16,7 +16,7 @@ test tests:uv run --group test pytest $(PYTEST_EXTRA) --disable-socket --allow-unix-socket $(TEST_FILE)integration_test integration_tests:- uv run --group test --group test_integration pytest -v --tb=short -n auto --retries 3 --retry-delay 1 $(TEST_FILE)+ uv run --group test --group test_integration pytest -v --tb=short -n auto --benchmark-disable --retries 3 --retry-delay 1 $(TEST_FILE)test_watch:uv run --group test ptw --snapshot-update --now . -- -vv $(TEST_FILE)diff --git a/libs/partners/huggingface/Makefile b/libs/partners/huggingface/Makefileindex e2bd889e36..648e2460e5 100644--- a/libs/partners/huggingface/Makefile+++ b/libs/partners/huggingface/Makefile@@ -16,7 +16,7 @@ test tests:uv run --group test pytest $(PYTEST_EXTRA) --disable-socket --allow-unix-socket $(TEST_FILE)integration_test integration_tests:- uv run --group test --group test_integration pytest -v --tb=short -n auto $(TEST_FILE)+ uv run --group test --group test_integration pytest -v --tb=short -n auto --benchmark-disable $(TEST_FILE)test_watch:uv run --group test ptw --snapshot-update --now . -- -vv $(TEST_FILE)diff --git a/libs/partners/mistralai/Makefile b/libs/partners/mistralai/Makefileindex 4a9b915e6b..97d56a39d5 100644--- a/libs/partners/mistralai/Makefile+++ b/libs/partners/mistralai/Makefile@@ -21,7 +21,7 @@ test_watch:integration_test integration_tests:- uv run --group test --group test_integration pytest -v --tb=short -n auto --retries 3 --retry-delay 2 $(TEST_FILE)+ uv run --group test --group test_integration pytest -v --tb=short -n auto --benchmark-disable --retries 3 --retry-delay 2 $(TEST_FILE)######################diff --git a/libs/partners/nomic/Makefile b/libs/partners/nomic/Makefileindex 895e42a9a5..f28a2441b1 100644--- a/libs/partners/nomic/Makefile+++ b/libs/partners/nomic/Makefile@@ -16,7 +16,7 @@ test:uv run --group test --group test_integration pytest $(PYTEST_EXTRA) $(TEST_FILE)integration_test integration_tests:- uv run --group test --group test_integration pytest -v --tb=short -n auto $(PYTEST_EXTRA) $(TEST_FILE)+ uv run --group test --group test_integration pytest -v --tb=short -n auto --benchmark-disable $(PYTEST_EXTRA) $(TEST_FILE)tests:uv run --group test pytest $(PYTEST_EXTRA) $(TEST_FILE)diff --git a/libs/partners/ollama/Makefile b/libs/partners/ollama/Makefileindex 7698174d60..4fa1cec6fc 100644--- a/libs/partners/ollama/Makefile+++ b/libs/partners/ollama/Makefile@@ -27,7 +27,7 @@ test_watch:# integration tests are run without the --disable-socket flag to allow network callsintegration_test:- OLLAMA_TEST_MODEL=$(OLLAMA_TEST_MODEL) OLLAMA_REASONING_TEST_MODEL=$(OLLAMA_REASONING_TEST_MODEL) uv run --group test --group test_integration pytest -v --tb=short -n auto $(TEST_FILE)+ OLLAMA_TEST_MODEL=$(OLLAMA_TEST_MODEL) OLLAMA_REASONING_TEST_MODEL=$(OLLAMA_REASONING_TEST_MODEL) uv run --group test --group test_integration pytest -v --tb=short -n auto --benchmark-disable $(TEST_FILE)# CI integration tests - disabled until ollama service is configured in CIdiff --git a/libs/partners/openai/Makefile b/libs/partners/openai/Makefileindex 087b2c9c04..c4ffe78aa2 100644--- a/libs/partners/openai/Makefile+++ b/libs/partners/openai/Makefile@@ -25,7 +25,7 @@ test tests:TIKTOKEN_CACHE_DIR=tiktoken_cache uv run --group test pytest $(PYTEST_EXTRA) --disable-socket --allow-unix-socket $(TEST_FILE)integration_test integration_tests:- uv run --group test --group test_integration pytest -v --tb=short -n auto $(TEST_FILE)+ uv run --group test --group test_integration pytest -v --tb=short -n auto --benchmark-disable $(TEST_FILE)# Run VCR cassette-backed integration tests in playback-only mode (no API keys needed).# Catches stale cassettes caused by test input changes without re-recording.diff --git a/libs/partners/openrouter/Makefile b/libs/partners/openrouter/Makefileindex 4f0f537496..3259904a97 100644--- a/libs/partners/openrouter/Makefile+++ b/libs/partners/openrouter/Makefile@@ -21,7 +21,7 @@ test_watch:# integration tests are run without the --disable-socket flag to allow network callsintegration_test integration_tests:- uv run --group test --group test_integration pytest -v --tb=short -n auto --timeout=120 $(TEST_FILE)+ uv run --group test --group test_integration pytest -v --tb=short -n auto --benchmark-disable --timeout=120 $(TEST_FILE)####################### LINTING AND FORMATTINGdiff --git a/libs/partners/qdrant/Makefile b/libs/partners/qdrant/Makefileindex c53ee48ac9..af402f46f2 100644--- a/libs/partners/qdrant/Makefile+++ b/libs/partners/qdrant/Makefile@@ -16,7 +16,7 @@ test tests:uv run --group test pytest $(PYTEST_EXTRA) --disable-socket --allow-unix-socket $(TEST_FILE)integration_test integration_tests:- uv run --group test --group test_integration pytest -v --tb=short -n auto $(TEST_FILE)+ uv run --group test --group test_integration pytest -v --tb=short -n auto --benchmark-disable $(TEST_FILE)test_watch:uv run --group test ptw --snapshot-update --now . -- -vv $(TEST_FILE)diff --git a/libs/partners/xai/Makefile b/libs/partners/xai/Makefileindex d92cf3637a..3642ccafa6 100644--- a/libs/partners/xai/Makefile+++ b/libs/partners/xai/Makefile@@ -19,7 +19,7 @@ test_watch:uv run --group test ptw --snapshot-update --now . -- -vv $(TEST_FILE)integration_test integration_tests:- uv run --group test --group test_integration pytest -v --tb=short -n auto $(TEST_FILE)+ uv run --group test --group test_integration pytest -v --tb=short -n auto --benchmark-disable $(TEST_FILE)####################### LINTING AND FORMATTING