FS#43331 - [python2-cryptography] should depend on python2-pyasn1

Attached to Project: Arch Linux
Opened by Pyro Devil (PyroDevil) - Sunday, 04 January 2015, 19:01 GMT
Last edited by Felix Yan (felixonmars) - Monday, 05 January 2015, 03:15 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The python2-cryptography package should depend on python2-pyasn1.

% cat /usr/lib/python2.7/site-packages/cryptography-0.7.1-py2.7.egg-info/requires.txt
cffi>=0.8
enum34
pyasn1
six>=1.4.1
setuptools

Additional info:
* python2-cryptography 0.7.1-1
This task depends upon

Closed by  Felix Yan (felixonmars)
Monday, 05 January 2015, 03:15 GMT
Reason for closing:  Fixed
Additional comments about closing:  0.7.1-2
Comment by Pyro Devil (PyroDevil) - Sunday, 04 January 2015, 19:03 GMT
Ups, I meant python2-pyasn1 instead of python2-asn1 in the title.
Comment by Pyro Devil (PyroDevil) - Sunday, 04 January 2015, 22:08 GMT
If python2-pyasn1 is not installed:

>>> __requires__="cryptography"
>>> from pkg_resources import load_entry_point
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2970, in <module>
working_set = WorkingSet._build_master()
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 567, in _build_master
ws.require(__requires__)
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 876, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 761, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: pyasn1

Loading...