diff --git a/python/pydantic_core/__init__.py b/python/pydantic_core/__init__.py index 5b2655c91..791de9d92 100644 --- a/python/pydantic_core/__init__.py +++ b/python/pydantic_core/__init__.py @@ -34,7 +34,7 @@ else: from typing import NotRequired as _NotRequired -if _sys.version_info < (3, 9): +if _sys.version_info < (3, 12): from typing_extensions import TypedDict as _TypedDict else: from typing import TypedDict as _TypedDict