[ZODB-Dev] repozo uses md5 lib, which is deprecated in python 2.6

Jim Fulton jim at zope.com
Thu Nov 19 18:19:56 EST 2009


On Thu, Nov 19, 2009 at 5:59 PM, Chris Withers <chris at simplistix.co.uk> wrote:
> Jim Fulton wrote:
>>>
>>> Also feels like a bit of an ask for fixing a deprecation warning bug ;-)
>>
>> I don't follow that.  Isn't that what you did?
>
> No, I ran an existing test script with two versions of python and verified
> that it worked as expected in both cases, with no deprecation warning being
> emitted.
>
>>> This would probably be something to do next time the .fs format changes
>>> in
>>> such a way that repozo needs updating...
>>
>> That's not what happened this time is it?
>
> No. md5 became deprecated, the FileStorage format hasn't changed between
> Python 2.4 and 2.6. As far as I'm aware, python versions and .fs formats are
> orthogonal ;-)
>
>> AFAICT, repozo doesn't have automated tests, or this would have been
>> caught. This means that repozo is susceptible to breakage at any time.
>> I didn't add repozo to ZODB, but without tests, I'd be happy to take
>> it out. ;)
>
> Then how do you backup filestorages? What's the official, supported way of
> backing up FileStorages? I'd be more than happy to switch to using that
> instead...

There's nothing official or supported about a backup solution without
automated tests.

So I guess there isn't one.

Jim

-- 
Jim Fulton


More information about the ZODB-Dev mailing list