Skip to content

Commit 6c7e998

Browse files
committed
chore(tests): suppress trustcall deprecation warning
Add pytest filter to suppress LangGraphDeprecatedSinceV10 warning from trustcall library (a dependency of langmem). The warning is about trustcall using deprecated 'from langgraph.constants import Send' instead of 'from langgraph.types import Send'. This is an issue in their library, not ours.
1 parent 6f71401 commit 6c7e998

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ filterwarnings = [
5959
# Ignore testcontainers internal deprecation warnings (they haven't fixed their own code yet)
6060
"ignore::DeprecationWarning:testcontainers.core.waiting_utils",
6161
"ignore::DeprecationWarning:testcontainers.redis",
62+
# Ignore trustcall library's deprecated import (used by langmem)
63+
"ignore:Importing Send from langgraph.constants is deprecated.*:langgraph.errors.LangGraphDeprecatedSinceV10:trustcall._base",
6264
]
6365

6466
[tool.poetry.scripts]

0 commit comments

Comments
 (0)