diff --git a/NEWS.rst b/NEWS.rst index 48899f0..a7c95e8 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -1,3 +1,12 @@ +v6.5.2 +====== + +Bugfixes +-------- + +- Replaced reference to typing_extensions with stdlib Literal. (#323) + + v6.5.1 ====== diff --git a/importlib_resources/abc.py b/importlib_resources/abc.py index befe799..883d332 100644 --- a/importlib_resources/abc.py +++ b/importlib_resources/abc.py @@ -8,6 +8,7 @@ Iterable, Iterator, NoReturn, + Literal, Optional, Protocol, Text, @@ -17,8 +18,6 @@ runtime_checkable, ) -from typing_extensions import Literal - StrPath = Union[str, os.PathLike[str]] __all__ = ["ResourceReader", "Traversable", "TraversableResources"]