← Back to team overview

bzr-windows team mailing list archive

Re: bzr 2.2 installer

 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alexander Belchenko wrote:
> Hi Gary,
> 
> While I've tested new installer for bzr 2.2 and bzr.exe containing
> Python 2.6 inside I've noticed DeprecationWarning caused by PyCrypto,
> like that:
> 
> C:\Python26\lib\site-packages\Crypto\Hash\SHA.py:6: DeprecationWarning:
> the sha module is deprecated; use the hashlib module ins
> tead
>   from sha import *
> C:\Python26\lib\site-packages\Crypto\Hash\MD5.py:6: DeprecationWarning:
> the md5 module is deprecated; use hashlib instead
>   from md5 import *
> 
> I can't find newer PyCrypto installer for Python 2.6 with this problem
> fixed, so maybe we need to patch PyCrypto installed on the machine where
> installer is built to avoid this warnings. They're very boring because
> they're pop-up on every bzr+ssh/sftp access via paramiko (our default on
> Windows).
> 
> Alexander
> 

There is a newer pycrypto (2.1.?) but it requires a patched paramiko to
avoid a different deprecation warning.

However:

1) bzr-*.final suppresses all deprecation warnings anyway.
2) Gary already has a patched paramiko that he put together (and
   hopefully submitted upstream)

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxYLWYACgkQJdeBCYSNAAPESACg1mkPylatjM6Aw3zP1YKvJZcJ
sWQAnRGODyObefSbEqRPWVmmkBsAMvFM
=eMfD
-----END PGP SIGNATURE-----



Follow ups

References