pyzor-0.4.0-15.fc11 generates suchly messages when invoked from spamassassin's pyzor module: [22028] dbg: util: executable for pyzor was found at /usr/bin/pyzor [22028] dbg: pyzor: pyzor is available: /usr/bin/pyzor [22028] dbg: info: entering helper-app run mode [22028] dbg: pyzor: opening pipe: /usr/bin/pyzor check < /var/tmp/.spamassassin22028wgrZ0ytmp [22031] dbg: util: setuid: ruid=500 euid=500 [22028] dbg: pyzor: [22031] finished: exit=0x0100 [22028] dbg: pyzor: got response: /usr/lib/python2.6/site-packages/pyzor/__init__.py:11: DeprecationWarning: the sha module is deprecated; use the hashlib module instead\n import sha\n/usr/lib/python2.6/site-packages/pyzor/client.py:11: DeprecationWarning: the multifile module has been deprecated since Python 2.5\n import multifile\n/usr/lib/python2.6/site-packages/pyzor/__init__.py:429: DeprecationWarning: object.__init__() takes no parameters\n super(ThreadId, self).__init__(i)\n82.94.255.100:24441 (200, 'OK') 0 0 [22028] dbg: info: leaving helper-app run mode [22028] dbg: pyzor: failure to parse response "/usr/lib/python2.6/site-packages/pyzor/__init__.py:11: DeprecationWarning: the sha module is deprecated; use the hashlib module instead" [22028] dbg: pyzor: failure to parse response " import sha" [22028] dbg: pyzor: failure to parse response "/usr/lib/python2.6/site-packages/pyzor/client.py:11: DeprecationWarning: the multifile module has been deprecated since Python 2.5" [22028] dbg: pyzor: failure to parse response " import multifile" [22028] dbg: pyzor: failure to parse response "/usr/lib/python2.6/site-packages/pyzor/__init__.py:429: DeprecationWarning: object.__init__() takes no parameters" [22028] dbg: pyzor: failure to parse response " super(ThreadId, self).__init__(i)"
Upstream recommends passing -Wignore::DeprecationWarning to python rather than fixing code, because new code will break for old versions of python. Since this is not the case for F11, F12, rawhide attached is a patch that fixes all above issues.
Created attachment 365778 [details] fix deprecated modules
This message is a reminder that Fedora 11 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 11. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '11'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 11's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 11 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Fedora 11 changed to end-of-life (EOL) status on 2010-06-25. Fedora 11 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed.