hashlib instead of md5
Anders F Björklund
afb at algonet.se
Thu Jan 8 00:21:46 PST 2009
Antenore Gatta wrote:
> I just updated smart using the last openSUSE 11.1 Smart repository
> (and of course all the others 11.1 repos), and I receive this
> warning at any smart update command.
>
> /usr/lib/python2.6/site-packages/smart/plugins/zyppchannelsync.py:
> 22: DeprecationWarning: the md5 module is deprecated; use hashlib
> instead
> import md5
>
> Honestly I didn't verify this issue using the last development branch.
See http://bazaar.launchpad.net/~smartpm/smart/testing/revision/947
> Another issue I found, upgrading openSUSE to the last 11.1 version,
> using Smart to make the ditribution upgrade, Python is upgraded to
> the version 2.6, so during the upgrade smart fails because required
> Python modules are not installed anymore.
>
> To fix it I had to install manually Python 2.6, pyxml, python-rpm
> and the new rpm packages.
>
> Well, this should be reported to openSUSE, I guess... But as far as
> I heard several people has these problems during an upgrade process.
As far as I know, openSUSE doesn't support Smart
for doing the major distro upgrades like that...
> Anybody has any ideas to solve these kind of issues?
The above workaround still "works", I suppose.
Maybe it could be scripted/integrated somehow ?
--anders
More information about the Smart
mailing list