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
Task Type Bug Report
Category Packages
Status Closed
Assigned To Filipe Laíns (FFY00)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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

Closed by  Filipe Laíns (FFY00)
Monday, 13 April 2020, 04:01 GMT
Reason for closing:  Not a bug
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.

Loading...