Deprecated module md5 with python 2.6
Bug #340757 reported by
Marco Rodrigues
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-support (Debian) |
Fix Released
|
Unknown
|
|||
python-support (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Jaunty |
Fix Released
|
High
|
Unassigned |
Bug Description
Binary package hint: python-support
Easy one to fix...
/usr/bin/
import os,os.path,
Related branches
Changed in python-support (Debian): | |
status: | Unknown → Fix Released |
To post a comment you must log in.
This is no longer throwing warnings on builds, but rather throwing errors and causing cascading build failures in jaunty-autotest:
dh_pysupport -v movemodules debian/libaa1-dev pysupport- movemodules: 8: DeprecationWarning: the md5 module is deprecated; use hashlib instead md5,re, sys pysupport- movemodules" , line 8, in <module> md5,re, sys python2. 6/md5.py" , line 10, in <module> python2. 6/hashlib. py", line 136, in <module> constructor( 'md5') python2. 6/hashlib. py", line 63, in __get_builtin_ constructor
pysupport-
/usr/bin/
import os,os.path,
Traceback (most recent call last):
File "/usr/bin/
import os,os.path,
File "/usr/lib/
from hashlib import md5
File "/usr/lib/
md5 = __get_builtin_
File "/usr/lib/
import _md5
ImportError: No module named _md5
dh_pysupport: command returned error code 256
make: *** [install] Error 1
This needs to be sorted out ASAP in either python-support or python2.6, I'd guess, if we want to be able to rebuild anything that build-depends on python-support after the release. :/