Page 1 of 1

Do I need To Update Twisted - Got A Deprecation Warning

Posted: Sat Oct 23, 2010 7:15 am
by DasFox
I just compiled 1.3.0 in Slackware 13.1 32bit and when I run deluge-gtk at the terminal I get this:

/usr/lib/python2.6/site-packages/twisted/internet/_sslverify.py:4: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import itertools, md5

Do I need to update twisted to get rid of the Deprecation Warning?

Strange though I have python-twisted-8.1.0 and python-twisted-web-8.1.0 installed...

THANKS

Re: Do I need To Update Twisted - Got A Deprecation Warning

Posted: Sat Oct 23, 2010 1:41 pm
by johnnyg
That's just a warning because twisted is using the old md5 module instead of the new hashlib module.
It doesn't mean that twisted is itself deprecated :P

You can safely ignore it.