Package: fabric
Version: 0.9.2-1
Severity: grave
Tags: sid
Justification: renders package unusable

% fab
Traceback (most recent call last):
  File "/usr/bin/fab", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 2675, in 
<module>
    parse_requirements(__requires__), Environment()
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 552, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: pycrypto<2.1


It's seem that upstream have problem with pycrypto and pip [0] and made a 
workaround in
their setup.py.

Change pycrypto <2.1 to pycrypto >=1.9 in Fabric-0.9.2.egg-info/requires.txt 
solved the
issue.

[0] http://code.fabfile.org/issues/show/228

Cheers,
Rodolphe

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.36-rc6-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages fabric depends on:
ii  python                        2.6.6-3    interactive high-level object-orie
ii  python-paramiko               1.7.6-5    Make ssh v2 connections with Pytho
ii  python-pkg-resources          0.6.14-4   Package Discovery and Resource Acc
ii  python-support                1.0.10     automated rebuilding support for P

fabric recommends no packages.

fabric suggests no packages.

-- no debconf information
3,4d2
< import sys
< 
25,29d22
< # PyCrypto>2.0 + Python 2.5 + pip == bad times.
< # We can't easily detect pip usage at this point, but we can at least limit our
< # "downgrade" of the PyCrypto requirement to 2.5-only.
< PYCRYPTO = "<2.1" if (sys.version_info[:2] == (2, 5)) else ">=1.9"
< 
41c34
<     install_requires=['pycrypto %s' % PYCRYPTO, 'paramiko >=1.7.6'],
---
>     install_requires=['pycrypto >=1.9', 'paramiko >=1.7.6'],

Reply via email to