An oslo.config enabled dogpile.cache.
Go to file
Hervé Beraud b1f231f642 fix dogpile.cache issue due to the new usage of decorate in the lib
Since few months ago dogpile.cache start to use the 'decorator' module
on dogpile cache region to preserve signatures[1] within decorated
functions.

Since these changes was introduced and since oslo.cache have
removed dogpile.cache version restriction this feature is now in use on
oslo.cache and they introduce an issue on unit test where we use
decorator to test return values.

This patch introduce `**kw` passed to the decorated function to prevent
issue due to 'decorator' on region.

Openstacksdk was also impacted[2] by the changes introduced in dogpile 0.7.0.

An issue was also opened on dogpile.cache side[3]

[1] https://gerrit.sqlalchemy.org/#/c/sqlalchemy/dogpile.cache/+/996/
[2] https://review.openstack.org/#/c/625370/4
[3] https://github.com/sqlalchemy/dogpile.cache/issues/144

Change-Id: Ic9370f36b14c1420eace874dd322183eba8df171
Closes-Bug: #1817032
2019-02-26 19:45:22 +01:00
doc Avoid use of autodoc_tree_index_modules 2018-04-12 16:13:14 -04:00
oslo_cache fix dogpile.cache issue due to the new usage of decorate in the lib 2019-02-26 19:45:22 +01:00
releasenotes Config dict arguments.url must be a list 2018-10-16 11:06:10 -07:00
tools Don't let tox_install.sh error if there is nothing to do 2018-05-01 15:48:53 +00:00
.coveragerc Change ignore-errors to ignore_errors 2015-09-21 14:42:30 +00:00
.gitignore Clean up .gitignore references to personal tools 2018-10-15 11:42:58 +08:00
.gitreview Initial commit from oslo cookiecutter template 2015-04-15 11:22:01 -05:00
.mailmap Initial commit from oslo cookiecutter template 2015-04-15 11:22:01 -05:00
.stestr.conf Switch to stestr 2018-07-03 16:10:58 +07:00
.zuul.yaml Use template for lower-constraints 2018-12-20 20:09:03 +01:00
CONTRIBUTING.rst Optimize the link address 2017-04-08 22:33:53 +08:00
HACKING.rst update the doc URLs 2017-07-11 21:51:41 +08:00
LICENSE Initial commit from oslo cookiecutter template 2015-04-15 11:22:01 -05:00
README.rst Add release notes link to README 2018-06-21 13:15:06 +08:00
babel.cfg Initial commit from oslo cookiecutter template 2015-04-15 11:22:01 -05:00
lower-constraints.txt Switch to stestr 2018-07-03 16:10:58 +07:00
requirements.txt uncap dogpile 2019-02-09 21:05:56 -06:00
setup.cfg Update mailinglist from dev to discuss 2018-12-05 09:38:02 +08:00
setup.py Updated from global requirements 2017-03-03 00:02:46 +00:00
test-requirements.txt Switch to stestr 2018-07-03 16:10:58 +07:00
tox.ini Don't quote {posargs} in tox.ini 2018-10-09 13:32:34 +00:00

README.rst

Team and repository tags

image

oslo.cache

Latest Version

Downloads

oslo.cache aims to provide a generic caching mechanism for OpenStack projects by wrapping the dogpile.cache library. The dogpile.cache library provides support memoization, key value storage and interfaces to common caching backends such as Memcached.