Comment 8 for bug 1817032

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to oslo.cache (master)

Reviewed: https://review.openstack.org/638788
Committed: https://git.openstack.org/cgit/openstack/oslo.cache/commit/?id=b1f231f642c240daa4f73effff6fc8a029d580af
Submitter: Zuul
Branch: master

commit b1f231f642c240daa4f73effff6fc8a029d580af
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/
    [2] https://review.openstack.org/#/c/625370/4
    [3] https://github.com/sqlalchemy/dogpile.cache/issues/144

    Change-Id: Ic9370f36b14c1420eace874dd322183eba8df171
    Closes-Bug: #1817032