Bug 497783 - DeprecationWarning: the {sha|md5} module is deprecated; use the hashlib module instead
Summary: DeprecationWarning: the {sha|md5} module is deprecated; use the hashlib modul...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-twisted-core
Version: 11
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Thomas Vander Stichele
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-04-27 08:23 UTC by Michal Nowak
Modified: 2013-03-08 02:05 UTC (History)
3 users (show)

Fixed In Version: 8.2.0-3.fc11
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 507610 549181 (view as bug list)
Environment:
Last Closed: 2009-06-27 02:49:38 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Michal Nowak 2009-04-27 08:23:52 UTC
Description of problem:

while installing via yum:

  Installing     : python-twisted-core                                                                                                                                                                                     10/15 
/usr/lib64/python2.6/site-packages/twisted/python/filepath.py:12: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  import sha
/usr/lib64/python2.6/site-packages/twisted/persisted/sob.py:12: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import os, md5, sys
  Installing     : python-twisted-web                                                                                                                                                                                      11/15 
/usr/lib64/python2.6/site-packages/twisted/python/filepath.py:12: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  import sha
/usr/lib64/python2.6/site-packages/twisted/persisted/sob.py:12: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import os, md5, sys


Version-Release number of selected component (if applicable):

python-twisted-core.x86_64 0:8.2.0-2.fc11
python-twisted-web.x86_64 0:8.2.0-2.fc11

How reproducible:

always

Actual results:

Deprecation warning.

Expected results:

No deprecation warning.

Additional info:

This is due to python2.6.

Comment 1 Bug Zapper 2009-06-09 14:38:15 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 2 Fedora Update System 2009-06-24 18:26:36 UTC
python-twisted-core-8.2.0-3.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/python-twisted-core-8.2.0-3.fc11

Comment 3 Fedora Update System 2009-06-27 02:49:34 UTC
python-twisted-core-8.2.0-3.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 4 Ilpo Nyyssonen 2009-06-27 11:57:37 UTC
Why fix only python-twised-core and not others like python-twisted-conch?

Comment 5 Michal Nowak 2009-06-29 07:44:03 UTC
(In reply to comment #4)
> Why fix only python-twised-core and not others like python-twisted-conch?  

File a bug.


Note You need to log in before you can comment on or make changes to this bug.