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.
Reviewed: https:/ /review. openstack. org/638788 /git.openstack. org/cgit/ openstack/ oslo.cache/ commit/ ?id=b1f231f642c 240daa4f73effff 6fc8a029d580af
Committed: https:/
Submitter: Zuul
Branch: master
commit b1f231f642c240d aa4f73effff6fc8 a029d580af
Author: Hervé Beraud <email address hidden>
Date: Tue Feb 26 19:21:48 2019 +0100
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/ /review. openstack. org/#/c/ 625370/ 4 /github. com/sqlalchemy/ dogpile. cache/issues/ 144
[2] https:/
[3] https:/
Change-Id: Ic9370f36b14c14 20eace874dd3221 83eba8df171
Closes-Bug: #1817032