-
-
Notifications
You must be signed in to change notification settings - Fork 420
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
release 1.2.0 forces oauthlib-3.0.0 which breaks Flask-OAuthlib #359
Comments
Flask-OAuthlib and reqeusts-oauthlib version incompatibility
we have a project that connects to Salesforce's streaming API which was broken by this also. pinning requests-oauthlib to 1.1.0 'fixes' the problem. |
I apologize for the problems you've been having. I was following @jvanasco's advice provided here -- he has the most context around this change. Regardless, requests-oauthlib 1.2.0 has been tagged and published, and trying to revert or remove the release seems like it would cause more harm than good. If anyone has other practical suggestions for how to resolve this issue, I'm open to hearing them. |
Is there any actual broken code or functionality, or is this just a dependency conflict (i.e. things won't install).
If it's the former, can people share some exceptions and stack traces?
If it's the latter, which this appears to be, imho the best fix would be getting flask-oauthlib to make a new release that works with 3.0 (which most likely means not changing anything but their version pin).
… On Jan 17, 2019, at 8:23 AM, David Baumgold ***@***.***> wrote:
I apologize for the problems you've been having. I was following @jvanasco's advice provided here -- he has the most context around this change.
Regardless, requests-oauthlib 1.2.0 has been tagged and published, and trying to revert or remove the release seems like it would cause more harm than good. If anyone has other practical suggestions for how to resolve this issue, I'm open to hearing them.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
It appears that Flask-OAuthlib has already changed their dependencies to avoid this problem. I should also mention that Flask-Dance also does OAuth with Flask, and it is compatible with oauthlib 3.0. Personally, I prefer Flask-Dance over Flask-OAuthlib -- but then, I'm the author of Flask-Dance, so I'm biased. 😄 |
no need to apologise! I include our stacktrace here for what it's worth (not much maybe). I didn't spend any time debugging this, as it was clearly a dependency problem.. its easy for us to test if you come up with any fixes. For info we use requests-oauth because it comes with this project: https://github.com/SalesforceFoundation/salesforce-requests-oauthlib Their current dependency on you is: ('requests-oauthlib>=0.6.2',) so they are now broken. we run a customised version of that library. cheers !!
|
Thanks for letting us know @singingwolfboy! |
I just did normal pip install and got a conflict. Flask-OAuthlib request < oauthlib-3.0.0.
Since 1.2.0 is a minor release, it would seem like a bad idea to force a change to a major release of oauthlib.
The text was updated successfully, but these errors were encountered: