[Openstack-devel] Upgrading python-oauthlib
Simon Fondrie-Teitler
simonft at riseup.net
Sat Jan 25 21:10:12 UTC 2014
Hi Thomas,
Thomas Goirand <zigo at debian.org> writes:
> I am currently trying to upgrade python-oauthlib to upstream version
> 0.6.1. However, according to my tests, this will break
> python-requests-oauthlib, which you as well maintain.
>
> The thing is, the new oauthlib 0.6.1 is required for Keystone, which is
> the auth system for OpenStack, for which I'm maintaining about 100
> packages in Debian. I already have a patch working, but it fails under
> 0.5.1 (because it seems the API changed...).
Thanks for bringing this to my attention. What exactly breaks in
requests-oauthlib? I've not had a chance to test requests-oauthlib with
oauthlib 0.6.1. I'm guessing it has something to do with this (from the
ouathlib changelog)?
"All endpoint methods change contract to return 3 values instead of
4. The new signature is headers, body, status code where the initial
redirect_uri has been relocated to its rightful place inside headers as
Location."
I'm also assuming that you tried with the most recent version of
requests-oauthlib? I notice that there's a newer version out that I've
yet to package. I'll work on getting that fixed.
> With the person who wrote the patch for Keystone (eg: Matthieu, hereby
> CC-ed), we've discussed and think that the best way forward would be to
> fix python-requests-oauthlib so that it can support the newest version
> of oauthlib.
>
> Your thoughts?
Are you proposing that this get fixed upstream, or in the Debian package
only? If the former, that sounds reasonable, and I can talk with
upstream. Do you have a proposal for a fix?
Thanks,
Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 948 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20140125/53c6544a/attachment.sig>
More information about the Openstack-devel
mailing list