Subject: spambayes: upgrade old (2005) version with 1.1a6 (2010-04-02)
Dale Schroeder d...@briannassaladdressing.com:
For the restless, an unofficial package can be built from source with
the python-stdeb package.
I located this info while doing research, after an upgrade to python
2.6 broke spambayes training.
Build your custom 1.1a6 spambayes against python 2.5 for better results.
For me (using Squeeze), the following dependencies beyond a default
python install were required for final dpkg installation:
python2.5
python2.5-minimal
python-setuptools
python-central
python-pkg-resources
python-dns
python-lockfile
Details and howto are available at: http://pypi.python.org/pypi/stdeb
Credit for my success goes to spambayes developer Skip Montanaro.
My discourse with him on this topic can be viewed here:
http://www.mail-archive.com/spambayes@python.org/msg07336.html
Guido reported in thread [Python-Dev] asyncore fixes in Python 2.6 ...
http://mail.python.org/pipermail/python-dev/2009-March/086672.html
On Tue, Mar 3, 2009 at 12:23 PM, Tres Seaver tseaver at palladion.com
wrote:
How is anybody supposed to
write a package which sits atop a library like asyncore in a fashion
portable across Python versions? The changes to the implementation in
2.6 (there is no real API) can't be reconciled, AFAICT.
This seems to be the crux of the problem with asyncore, ever since it
was added to the stdlib -- there's no real API, so every change
potentially breaks something. I wish we could start over with a proper
design under a new name. Maybe packages requiring asyncore
functionality should just copy the version of asyncore they like into
their own three and stick with that.
--
--Guido van Rossum (home page: http://www.python.org/~guido/)
In this light there is no hopein sight to see a compatible library beyond
2.6 and later. For the Debian this means that:
either) spambayes is reomed from Debian, because the package is not
upgradeable. Debian's official Python version is/will be 2.6
or) the spambayes package ships its own copy of asyncore that it relies on.
Skip, would it be possible for you to update spambays and make a new
release with asyncore included. In this way it would be Python version
agnostic.
Thanks,
Jari
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org