FS#66196 - [python-connexion] Should have "python-jose" as optdepend for "jwt" authentication to work
Attached to Project:
Community Packages
Opened by Manuel Reimer (M-Reimer) - Friday, 10 April 2020, 09:43 GMT
Last edited by Filipe Laíns (FFY00) - Monday, 13 April 2020, 04:01 GMT
Opened by Manuel Reimer (M-Reimer) - Friday, 10 April 2020, 09:43 GMT
Last edited by Filipe Laíns (FFY00) - Monday, 13 April 2020, 04:01 GMT
|
Details
Description:
If I try to run the "jwt" example from the connexion GIT, then I get: Traceback (most recent call last): File "app.py", line 12, in <module> from jose import JWTError, jwt ModuleNotFoundError: No module named 'jose' Additional info: * package version(s) 2.6.0 Steps to reproduce: - Clone https://github.com/zalando/connexion - cd to "examples/openapi3/jwt" - run "python app.py" You'll get the above error message which goes away after "pacman -S python-jose" |
This task depends upon
Comment by Filipe Laíns (FFY00) -
Monday, 13 April 2020, 04:01 GMT
There is no missing dependency, the example you are trying to run
itself depends on python-jose.