FS#55682 - [python-signedjson] dependencies not enumerated

Attached to Project: Community Packages
Opened by Sean Enck (enckse) - Tuesday, 19 September 2017, 19:18 GMT
Last edited by Johannes Löthberg (demize) - Sunday, 07 January 2018, 10:08 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Johannes Löthberg (demize)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Per https://pypi.python.org/pypi/signedjson/, signedjson requires:
canonicaljson (>=1.0.0)
unpaddedbase64 (>=1.0.1)
pynacl (>=0.3.0)

all of which are packages that one can install:
https://www.archlinux.org/packages/community/any/python-unpaddedbase64/
https://www.archlinux.org/packages/community/x86_64/python-pynacl/
https://www.archlinux.org/packages/community/any/python-canonicaljson/

but you can install python-signedjson without them (though they are required) and you will get something like
Traceback (most recent call last):
File "creds.py", line 2, in <module>
from signedjson.key import generate_signing_key, get_verify_key
File "/usr/lib/python3.6/site-packages/signedjson/key.py", line 1, in <module>
from unpaddedbase64 import encode_base64, decode_base64
ModuleNotFoundError: No module named 'unpaddedbase64'

Additional info:
* package version(s) -> 1.0.0-2

Steps to reproduce:
1. from a clean install (none of the above dependencies installed) do a pacman -S python-signedjson
2. run the example code here https://pypi.python.org/pypi/signedjson/ (putting parens around the print statements for python3, otherwise it should work)

I got the traceback above, if you install the dependencies it will work without problem.
This task depends upon

Closed by  Johannes Löthberg (demize)
Sunday, 07 January 2018, 10:08 GMT
Reason for closing:  Fixed
Additional comments about closing:  1.0.0-3

Loading...