Re: Python 2.3 support gone after 2.0.8 ?

Simon Eisenmann <simon-4x/[email protected]>
Newsgroups gmane.comp.python.db.psycopg.devel
Organization struktur AG
Message-ID <1242979509.12120.207.camel@redemption>
Hi,

Am Donnerstag, den 21.05.2009, 08:41 +0200 schrieb Federico Di Gregorio:
> Il giorno mer, 20/05/2009 alle 15.46 +0000, Simon Eisenmann ha scritto:
> > Hi,
> > 
> > we are using psycopg a lot with python 2.3. Today i looked for updated
> > versions and noticed that 2.0.9+ now requires python 2.4 or later.
> > I am somewhat suprised to find such a massive compatibility change in a
> > minor release and without any notice in the changelogs.
> > As far as i can see this is only related to subprocess module usage in
> > setup and to Py_VISIT, Py_CLEAR macro usage.
> > 
> > Is there any other reason why python 2.3 support was removed?
> 
> No real reason except wanting to support PY_VISIT (I guess, I didn't
> make that changes). I agreed on them because usually the only reason to
> work with such an old Python is embedding and Python 2.4 is much better
> than 2.3 in my experience. So supporting 2.3 adds nothing.
> 

Well PY_VISIT was in use with 2.0.8 as well (there was a compatibility
macro when it is not available).

> I am sorry this change hurt you but 2.3 is so old that I didn't think
> someone was still using it.

I think there might be quite a lot people out there who might using it.
Essentially everyone who has Zope <=2.8 instances in production (and
using postgres connections). 

Also i found a compatibility issue with ZPsycopDA. The version check for
ALLOWED_PSYCOPG_VERSIONS does not work with any version higher than
2.0.9 (as psycopg2.__version__[:5] is too short for anything later).
"2.0.11"[:5] == "2.0.1"

I think it is absolutely ok to drop python 2.3 support (as of course its
very old). But this should not be done with a minor release or without
notification in the change logs.

Best regards

> 
> federico
> 
> _______________________________________________
> Psycopg mailing list
> Psycopg-IAPFreCvJWPBWskQ1e/[email protected]
> http://lists.initd.org/mailman/listinfo/psycopg
-- 
Simon Eisenmann

[ mailto:simon-4x/[email protected] ]

[ struktur AG | Kronenstraße 22a | D-70173 Stuttgart ]
[ T. +49.711.896656.68 | F.+49.711.89665610 ]
[ http://www.struktur.de | mailto:info-4x/[email protected] ]

_______________________________________________
Psycopg mailing list
Psycopg-IAPFreCvJWPBWskQ1e/[email protected]
http://lists.initd.org/mailman/listinfo/psycopg
smime.p7s (application/x-pkcs7-signature, 4.2 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.