[Spambayes] Re: Trouble installing on rh7.3 and python 2.2

Skip Montanaro skip at pobox.com
Mon Aug 11 14:42:27 EDT 2003


    Derrick> On Mon, Aug 11, 2003 at 01:17:52PM -0500, Skip Montanaro wrote:
    Derrick> | I believe True and False where added in 2.2.2 as a way to
    Derrick> ease dual | development against both 2.2 and 2.3.

    Derrick> Oh, sweet!  I wasn't aware of that.

    Derrick> To stay on-topic, though, ;-), can/should the setup.py script
    Derrick> report an error if the python version the package is installed
    Derrick> on isn't a supported platform?  (concretely, could the email
    Derrick> package report that it requires python >= 2.2.3?)

Setup.py checks the following constraints:

    * Python >= 2.2
    * email package >= 2.4.3

I believe I misspoke slightly about the earliest version containing True and
False.  It appears the CVS change which added integer versions of True and
False to Python/bltinmodule.c occurred about a week before the release of
2.2.1.  The minimum version required for SpamBayes at least w.r.t.
True/False availability is thus 2.2.1.  I verified that they are available
in 2.2.1 on creosote.  I don't have ready access to 2.2.  The website says
2.2 is the minimum and setup.py requires 2.2 or greater.  I'm sure this
topic has come up before.  Should 2.2.1 be required as a minimum?  I'll
gladly make the necessary changes.

Skip




More information about the Spambayes mailing list