summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY.md2
-rw-r--r--requests_cache/__init__.py21
2 files changed, 8 insertions, 15 deletions
diff --git a/HISTORY.md b/HISTORY.md
index 06059aa..0defc3e 100644
--- a/HISTORY.md
+++ b/HISTORY.md
@@ -1,6 +1,6 @@
# History
-## 0.9.5 (Unreleased)
+## 0.9.5 (2022-06-29)
* Fix usage of memory backend with `install_cache()`
* Add `CachedRequest.path_url` property
* Add compatibility with cattrs 22.1
diff --git a/requests_cache/__init__.py b/requests_cache/__init__.py
index a34bfc9..ebbde0a 100644
--- a/requests_cache/__init__.py
+++ b/requests_cache/__init__.py
@@ -1,20 +1,13 @@
# flake8: noqa: E402,F401
-from logging import getLogger
-
-logger = getLogger('requests_cache')
# Version is defined in pyproject.toml.
# It's copied here to make it easier for client code to check the installed version.
__version__ = '0.9.5'
-try:
- from .backends import *
- from .cache_control import *
- from .cache_keys import *
- from .models import *
- from .patcher import *
- from .serializers import *
- from .session import *
-# Log and ignore ImportErrors, if imported outside a virtualenv (e.g., just to check __version__)
-except ImportError as e:
- logger.warning(e)
+from .backends import *
+from .cache_control import *
+from .cache_keys import *
+from .models import *
+from .patcher import *
+from .serializers import *
+from .session import *