← Back to team overview

bzr-mac team mailing list archive

Re: New bake of the Snow Leopard package with paramiko

 

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

Ian wrote:
> 2009/9/29 Jean-Francois Roy <bahamut@xxxxxxxxxxxx>:
>> I've re-baked the Snow Leopard package to include PyCrypto and paramiko.
>> Please update the package on LP with
>> http://www.devklog.net/bazaar/Bazaar2.0.0.pkg.
> 
> Thank you! I still get those warnings I had before:
> 
> /Library/Python/2.6/site-packages/Crypto/Hash/SHA.py:6:
> DeprecationWarning: the sha module is deprecated; use the hashlib
> module instead
>   from sha import *
> /Library/Python/2.6/site-packages/Crypto/Hash/MD5.py:6:
> DeprecationWarning: the md5 module is deprecated; use hashlib instead
>   from md5 import *
> 
> And would it be better to rename the package to Bazaar2.0.0-1.pkg or
> something to distinguish it as a new package?
> 
> Ian

I'm going to upload the new Bazaar2.0.0.pkg as Bazaar-2.0.0-2.pkg, to
keep with the description given in the new "cycle.txt" (and it matches
the Windows builds that I do.)

The above is unfortunately a bug in the current Pycrypto code, and they
haven't released the next version which removes those warnings. (Using
hashlib instead of md5/sha.)

I would guess that the windows install will suffer the same issues,
though the all-in-one installer is still on python2.5 which doesn't have
those warnings.

I don't know if we can get pycrypto to actually do a release? or barring
that, we could configure bzr to always ignore those warnings...

Oh, and usually final release builds suppress deprecation warnings, but
maybe that is only for bzrlib itself?

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

iEYEARECAAYFAkrCWMIACgkQJdeBCYSNAAN4JQCcCGRqRz0i67kBBFJCIOTxUO94
EoUAn03eorctaMZEV2ZVb+et8hnZ1Pbf
=PR/I
-----END PGP SIGNATURE-----



Follow ups

References