diff --git a/src/tinker/_compat.py b/src/tinker/_compat.py index d4617e9..cbb845c 100644 --- a/src/tinker/_compat.py +++ b/src/tinker/_compat.py @@ -220,3 +220,10 @@ def __set__(self, instance: object, value: _T) -> None: ... from functools import cached_property as cached_property typed_cached_property = cached_property + + +# Suppress Pydantic warnings on Python 3.14+ (until Pydantic V3) +import sys +if sys.version_info >= (3, 14): + import warnings + warnings.filterwarnings("ignore", category=UserWarning, module="pydantic")