[openstack-dev] [keystone][oslo][release][requirements][FFE] global-requirements update to positional to 1.1.1

Tony Breeds tony at bakeyournoodle.com
Tue Sep 13 03:01:55 UTC 2016


On Tue, Sep 13, 2016 at 09:03:52AM +0800, Jamie Lennox wrote:

> So the major difference between positional 1.0 and 1.1 is that we swapped
> from using a @functools.wrap decorator to a @wrapt decorator. The reason
> for this is that @functools.wraps basically screws up any inspection of the
> function signature.

Yeah I heard abotu wrapt at PyCon-AU[1] this year.  Good stuff

> Barbican failing this difference means it's inspecting
> oslo.context.RequestContext [1] and it looks like it's doing this so it can
> tell the difference between before and after oslo.context 2.2. Given we're
> at 2.9 in minimum requirements we can just remove this and all should be ok.
> 
> Patch: https://review.openstack.org/#/c/369092/

Thanks so much Jamie!   That's a much better solution than bumping g-r and
re-releasing the keystone libraries

Yours Tony.

[1] https://youtu.be/u7oj-ghfhUk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160913/9e7638d9/attachment.pgp>


More information about the OpenStack-dev mailing list