diff --git a/CHANGELOG.md b/CHANGELOG.md index a85506b3..79c75068 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 0.1.1 (2nd Nov, 2024) + +- FIx typig extensions nor found. (#290) + ## 0.1.0 (2nd Nov, 2024) - Add support for Python 3.12 / drop Python 3.8. (#286) diff --git a/hishel/__init__.py b/hishel/__init__.py index 58f7e9ac..137ced8f 100644 --- a/hishel/__init__.py +++ b/hishel/__init__.py @@ -14,4 +14,4 @@ def install_cache() -> None: # pragma: no cover httpx.Client = CacheClient # type: ignore -__version__ = "0.1.0" +__version__ = "0.1.1" diff --git a/hishel/_async/_storages.py b/hishel/_async/_storages.py index 90a33be3..03dc2574 100644 --- a/hishel/_async/_storages.py +++ b/hishel/_async/_storages.py @@ -23,7 +23,9 @@ anysqlite = None # type: ignore from httpcore import Request, Response -from typing_extensions import TypeAlias + +if t.TYPE_CHECKING: # pragma: no cover + from typing_extensions import TypeAlias from hishel._serializers import BaseSerializer, clone_model diff --git a/hishel/_sync/_storages.py b/hishel/_sync/_storages.py index 3bac0364..2a67a4b1 100644 --- a/hishel/_sync/_storages.py +++ b/hishel/_sync/_storages.py @@ -23,7 +23,9 @@ sqlite3 = None # type: ignore from httpcore import Request, Response -from typing_extensions import TypeAlias + +if t.TYPE_CHECKING: # pragma: no cover + from typing_extensions import TypeAlias from hishel._serializers import BaseSerializer, clone_model