-
Notifications
You must be signed in to change notification settings - Fork 73
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
global: werkzeug compatibility patch #196
Conversation
@@ -83,6 +82,9 @@ | |||
from invenio_oauthclient.views.client import blueprint as blueprint_client | |||
from invenio_oauthclient.views.settings import blueprint as blueprint_settings | |||
|
|||
from invenio_oauthclient._compat import monkey_patch_werkzeug # noqa isort:skip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you forgot the monkeypatch call.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the trick is that I actually don't have to call it, since it goes through __init__.py
of the package and it is invoked there. You just need to make sure it is invoked, and this is what this line does
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But in the rest of the examples you call it, what is the difference?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with the explicit call to the function
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
1ee24dc
to
a75022c
Compare
@@ -83,6 +82,9 @@ | |||
from invenio_oauthclient.views.client import blueprint as blueprint_client | |||
from invenio_oauthclient.views.settings import blueprint as blueprint_settings | |||
|
|||
from invenio_oauthclient._compat import monkey_patch_werkzeug # noqa isort:skip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with the explicit call to the function
'invenio-userprofiles>=1.0.0', | ||
'requests-oauthlib>=0.6.2,<1.2.0', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this need to be both in install_requires
and here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unfortunatelly yes, otherwise it is installing version more than 1.2 from travis
* updates python dependencies * updates documentation links * cleans travis.yml
closes global: fix import error #194