Skip to content

Commit d3e8cdc

Browse files
committed
Filter langchain-core pydantic v1 warning on Python 3.14
langchain-core 1.2.x still touches pydantic.v1.fields in its deprecation module, emitting a UserWarning on Python 3.14. This is a langchain bug, not ours — filter it so pytest filterwarnings=error doesn't fail the test suite.
1 parent 0e25f34 commit d3e8cdc

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ filterwarnings = [
2222
"ignore:^.*The 'warn' method is deprecated, use 'warning' instead.*:DeprecationWarning",
2323
"ignore:^.*Skipping device Apple Paravirtual device that does not support Metal 2.0.*",
2424
"ignore:^.*was deprecated in langchain-community.*",
25-
"ignore::pydantic.warnings.PydanticDeprecatedSince20"
25+
"ignore::pydantic.warnings.PydanticDeprecatedSince20",
26+
"ignore:Core Pydantic V1 functionality:UserWarning"
2627
]
2728
markers = [
2829
"external: interacts with a (potentially cost-incurring) third-party API",

0 commit comments

Comments
 (0)