From 35da12c208dac5f55471995c341fc93391a05c83 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sun, 27 Sep 2026 23:26:29 +0200 Subject: [PATCH] Ignore langchain-community sunset warning in tests langchain-community 0.4.2 warns on import that it's being sunset. Tests run with warnings as errors, so every test run failed at collection. Co-Authored-By: Claude Opus 5.5 (1M context) --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 14467736..8662f04b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,6 +22,7 @@ filterwarnings = [ "ignore:^.*The 'warn' method is deprecated, use 'warning' instead.*:DeprecationWarning", "ignore:^.*Skipping device Apple Paravirtual device that does not support Metal 2.0.*", "ignore:^.*was deprecated in langchain-community.*", + "ignore:^.*`langchain-community` is being sunset.*:DeprecationWarning", "ignore::pydantic.warnings.PydanticDeprecatedSince20", "ignore:Core Pydantic V1 functionality:UserWarning" ]