Merge lp://staging/~barry/ubuntuone-storage-protocol/lp1077092 into lp://staging/ubuntuone-storage-protocol
Proposed by
Barry Warsaw
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | dobey | ||||
Approved revision: | 161 | ||||
Merged at revision: | 157 | ||||
Proposed branch: | lp://staging/~barry/ubuntuone-storage-protocol/lp1077092 | ||||
Merge into: | lp://staging/ubuntuone-storage-protocol | ||||
Diff against target: |
151 lines (+56/-38) 2 files modified
tests/test_client.py (+37/-21) ubuntuone/storageprotocol/client.py (+19/-17) |
||||
To merge this branch: | bzr merge lp://staging/~barry/ubuntuone-storage-protocol/lp1077092 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
dobey (community) | Abstain | ||
Roberto Alsina (community) | Approve | ||
Alejandro J. Cura (community) | Approve | ||
Review via email: mp+146528@code.staging.launchpad.net |
Commit message
Switch from python-oauth to python-oauthlib for using OAuth.
Description of the change
Use the supported and Python 3 compatible python-oauthlib instead of the abandoned and no longer supported oauth library.
To post a comment you must log in.
Thanks for working on this!
One comment: the oauth_authenticate method changed changed here is only used (afaict) from lp:ubuntuone-client ActionQueue. authenticate( ), and with a different signature. That means that with this change a new branch for ubuntuone-client would be needed.
Instead, I propose that the changes to the signature of oauth_authenticate in this branch are reverted, and that the compatibility properties defined in lp:~barry/ubuntuone-client/lp1077089 are used instead, like:
135 + client = Client(token.key, token.secret, consumer.key, consumer.secret ...
Does this seem reasonable?