summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--keystonemiddleware/auth_token/_cache.py2
-rw-r--r--releasenotes/notes/bug-1737115-fa3d41e3d3cd7177.yaml6
2 files changed, 8 insertions, 0 deletions
diff --git a/keystonemiddleware/auth_token/_cache.py b/keystonemiddleware/auth_token/_cache.py
index 4db934a..b2e9036 100644
--- a/keystonemiddleware/auth_token/_cache.py
+++ b/keystonemiddleware/auth_token/_cache.py
@@ -89,6 +89,8 @@ class _MemcacheClientPool(object):
89 """An advanced memcached client pool that is eventlet safe.""" 89 """An advanced memcached client pool that is eventlet safe."""
90 90
91 def __init__(self, memcache_servers, **kwargs): 91 def __init__(self, memcache_servers, **kwargs):
92 # NOTE(sileht): This will import python-memcached, we don't want
93 # it as hard dependency, so lazy load it.
92 from oslo_cache import _memcache_pool 94 from oslo_cache import _memcache_pool
93 self._pool = _memcache_pool.MemcacheClientPool(memcache_servers, 95 self._pool = _memcache_pool.MemcacheClientPool(memcache_servers,
94 **kwargs) 96 **kwargs)
diff --git a/releasenotes/notes/bug-1737115-fa3d41e3d3cd7177.yaml b/releasenotes/notes/bug-1737115-fa3d41e3d3cd7177.yaml
new file mode 100644
index 0000000..bc7c842
--- /dev/null
+++ b/releasenotes/notes/bug-1737115-fa3d41e3d3cd7177.yaml
@@ -0,0 +1,6 @@
1---
2fixes:
3 - |
4 [`bug 1737115 <https://bugs.launchpad.net/keystonemiddleware/+bug/1737115>`_]
5 Last release have accidentaly make python-memcached a hard dependency, this
6 have changed back to an optional one.