Your message dated Sat, 5 Jul 2014 11:07:04 +0200 with message-id <[email protected]> and subject line 600628 already fixed by upstream has caused the Debian Bug report #600628, regarding spambayes issues a sets-related DeprecationWarning from classifier.py and tokenizer.py to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 600628: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=600628 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: spambayes Version: 1.0.4-5.1 Severity: minor I'm using spambayes from Ubuntu Lucid, which I believe is unmodified from Debian: ii spambayes 1.0.4-5.1 Python-based spam filter using statistical When you run it from procmail you get this nice warning in your procmail log: /usr/lib/python2.6/dist-packages/spambayes/classifier.py:43: DeprecationWarning: the sets module is deprecated from sets import Set To fix this the import needs to be made conditional; I've got a patch for this that is similar to the one found for suds at https://fedorahosted.org/suds/ticket/55 that I'll provide. -- System Information: Debian Release: squeeze/sid APT prefers lucid-updates APT policy: (500, 'lucid-updates'), (500, 'lucid-security'), (500, 'lucid-backports'), (500, 'lucid') Architecture: i386 (i686) Kernel: Linux 2.6.32-25-generic (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages spambayes depends on: ii python 2.6.5-0ubuntu1 An interactive high-level object-o ii python-central 0.6.15ubuntu1 register and build utility for Pyt spambayes recommends no packages. spambayes suggests no packages. -- no debconf information--- tokenizer.py-orig 2010-10-18 11:57:53.166412822 -0200 +++ tokenizer.py 2010-10-18 11:58:22.863268936 -0200 @@ -16,7 +16,12 @@ import urlparse import urllib try: - from sets import Set + import sys + if sys.version_info < (2, 4, 0): + from sets import Set + del sys + else: + Set = set except ImportError: from compatsets import Set --- classifier.py-orig 2010-10-18 11:56:17.656524146 -0200 +++ classifier.py 2010-10-18 11:55:42.460250309 -0200 @@ -40,7 +40,12 @@ import math import types try: - from sets import Set + import sys + if sys.version_info < (2, 4, 0): + from sets import Set + del sys + else: + Set = set except ImportError: from spambayes.compatsets import Set
--- End Message ---
--- Begin Message ---Hi, The bug #600628 was already fixed by upstream in the 1.1b1 version. The patch which was purposed in this big report can't be used anymore. Regards, Hugo -- Hugo Lefeuvre (hugo6390) | www.hugo6390.org 4096/ ACB7 B67F 197F 9B32 1533 431C AC90 AC3E C524 065E
signature.asc
Description: Digital signature
--- End Message ---

