On 11/18/2009 06:00 PM, Chris Withers wrote: > Hi All, > > ZODB's repozo script uses the md5 library, which is deprecated in python > 2.6, resulting in annoying emails from cron jobs. > > A few questions: > > - Where's the tracker for ZODB nowadays to report this issue?
https://edge.launchpad.net/zodb > - Anyone know what to replace md5 with? The warning suggests hashlib, > which landed in 2.5. I assume it's okay to just use hashlib rather than > worry about conditionally import md5 or hashlib, given that trunk ZODB > and 3.9 branch are only targeted at Python 2.5 and above, right? Not sure about that. Most people I see that need to support 2.4 and 2.6 tend to provide a wrapper-function combined with a conditional import. > - Does repozo have any tests? If so, how do I run them. Looking around I found this: scripts/manual_tests/testrepozo.py Christian -- Christian Theune · c...@gocept.com gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 0 · fax +49 345 1229889 1 Zope and Plone consulting and development _______________________________________________ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org https://mail.zope.org/mailman/listinfo/zodb-dev