Yes, according to Python Crypto's upstream changelog [1] which the
Debian changelog [1] makes no mention of, there were API changes to
Crypto.Util.randpool.RandomPool so this will wait until upstream
paramiko releases a new version that is compatible with the new version.
If I rebuild and simply state it requires python-crypto < 2.1.0 it will
simply make the package completely uninstallable.


[1]
http://gitweb.pycrypto.org/?p=crypto/pycrypto-2.x.git;a=blob;f=ChangeLog;h=9325e0d5592f075065b1cd86d27dc7dceda93c6b;hb=033fc936155115b3a541387804e0a94820978498
[2]
http://packages.debian.org/changelogs/pool/main/p/python-crypto/python-crypto_2.1.0-1/changelog

Julien Bigot wrote:
> Package: python-paramiko
> Version: 1.7.6-2
> Severity: grave
> Justification: renders package unusable
> 
> Hi,
> 
> paramiko fails to load on my system with the following backtrace:
>     import paramiko
>   File "/usr/lib/pymodules/python2.5/paramiko/__init__.py", line 69, in 
> <module>
>     from transport import randpool, SecurityOptions, Transport
>   File "/usr/lib/pymodules/python2.5/paramiko/transport.py", line 32, in 
> <module>
>     from paramiko import util
>   File "/usr/lib/pymodules/python2.5/paramiko/util.py", line 32, in <module>
>     from paramiko.common import *
>   File "/usr/lib/pymodules/python2.5/paramiko/common.py", line 98, in <module>
>     from rng import StrongLockingRandomPool
>   File "/usr/lib/pymodules/python2.5/paramiko/rng.py", line 23, in <module>
>     from Crypto.Util.randpool import RandomPool as _RandomPool
> ImportError: No module named Crypto.Util.randpool
> 
> I guess python-crypto somehow changed its API as it works well with
> python-crypto 2.0.1+dfsg1-5 for example.
> 
> Regards,
> Julien
> 
> -- System Information:
> Debian Release: squeeze/sid
>   APT prefers unstable
>   APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental')
> Architecture: i386 (i686)
> 
> Kernel: Linux 2.6.32-3-686 (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 python-paramiko depends on:
> ii  python                        2.5.4-9    An interactive high-level 
> object-o
> ii  python-crypto                 2.1.0-1    cryptographic algorithms and 
> proto
> ii  python-support                1.0.7      automated rebuilding support for 
> P
> 
> python-paramiko recommends no packages.
> 
> python-paramiko suggests no packages.
> 
> -- no debconf information
> 
> 


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to