[release-announce] oslo.cache 2.7.1 (wallaby)

no-reply at openstack.org no-reply at openstack.org
Tue Feb 22 15:30:51 UTC 2022


We are stoked to announce the release of:

oslo.cache 2.7.1: Cache storage for OpenStack projects.

This release is part of the wallaby stable release series.

The source is available from:

    https://opendev.org/openstack/oslo.cache

Download the package from:

    https://pypi.org/project/oslo.cache

Please report issues through:

    https://bugs.launchpad.net/oslo.cache/+bugs

For more details, please see below.

2.7.1
^^^^^

New Features

* Add new options ("hashclient_retry_attempts",
  "hashclient_retry_delay", "dead_timeout") to allow to configure
  pymemcache's HashClient use through dogpile.cache's pymemcache
  backend. Those options expose pymemcache params that allow to
  configure the failover for memcached cluster.

* Add new options ("enable_retry_client", "retry_attempts",
  "retry_delay") to add retry mechanisms to the pymemcache backend.

* New options ("enable_socket_keepalive", "socket_keepalive_idle",
  "socket_keepalive_interval", "socket_keepalive_count") allow to use
  and configure pymemcache's socket keepalive capabilities.

Changes in oslo.cache 2.7.0..2.7.1
----------------------------------

d0252f6 Expose pymemcache's HashClient public params
55b796b Add retry mechanisms to oslo.cache
7b00cb3 Add socket keepalive options to oslo.cache
a5a66f8 Dropping lower constraints testing.
3df5e90 Don't import module "etcd3gw" if etcd3gw backend is not used.
6039eb8 Update TOX_CONSTRAINTS_FILE for stable/wallaby
4ef793e Update .gitreview for stable/wallaby
28fcdf2 Move flake8 as a pre-commit local target.


Diffstat (except docs and test files)
-------------------------------------

.gitreview                                         |   1 +
.pre-commit-config.yaml                            |  11 +-
lower-constraints.txt                              |  66 -------
oslo_cache/_opts.py                                |  59 ++++++
oslo_cache/backends/etcd3gw.py                     |   3 +-
oslo_cache/core.py                                 |  48 +++++
...ache_hashclient_configure-f6f48c5ca38bce47.yaml |   8 +
...emcache_retry_mecchanisms-fa969d1ac6f64096.yaml |   5 +
...memcache_socket_keepalive-f91c69770961e2b6.yaml |   6 +
requirements.txt                                   |   2 +-
setup.cfg                                          |   1 +
test-requirements.txt                              |   2 +-
tox.ini                                            |   9 +-
15 files changed, 347 insertions(+), 80 deletions(-)


Requirements updates
--------------------

diff --git a/requirements.txt b/requirements.txt
index 52eb1f2..3b49fad 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -5 +5 @@
-dogpile.cache>=1.1.2 # BSD
+dogpile.cache>=1.1.5 # BSD
diff --git a/test-requirements.txt b/test-requirements.txt
index 9188e99..bdcd518 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -11 +11 @@ pre-commit>=2.6.0 # MIT
-pymemcache>=3.4.0 # Apache-2.0
+pymemcache>=3.5.0 # Apache-2.0






More information about the Release-announce mailing list