[Python-Dev] Anyone still using Python 2.5?

Michael Foord fuzzyman at voidspace.org.uk
Wed Dec 21 14:07:14 CET 2011

On 21 Dec 2011, at 12:42, Barry Warsaw wrote:

> On Dec 21, 2011, at 07:16 AM, Chris Withers wrote:
>> What's the general consensus on supporting Python 2.5 nowadays?
> FWIW, Ubuntu dropped 2.5 quite a while ago.  The next LTS (long term support)
> release in April 2012 will have only Python 2.7 (and 3.2).  The currently
> in-development next Debian release currently has only Python 2.6, 2.7, and 3.2
> with 2.7 as the default.
> For my own code, Python 2.6 is the minimum, and I'm seeing more upstream
> libraries target 2.6 as a minimum also (e.g. dbus-python).  When projects say
> they still need to target older Pythons, RHEL support is usually cited as the
> reason.

For "production work" I've been on 2.6 for a while and will soon be switching to 2.7 (I do my development on 2.7).

For my libraries I'm still supporting 2.4. The *major* syntax feature you lose by targeting 2.4 is the with statement, so it will be nice to drop 2.4 support. The next releases of mock and unittest2 will still support 2.4, but the ones after that will be 2.5+.

Thankfully tox makes testing across multiple versions (and implementations) easy.

All the best,

Michael Foord

> Cheers,
> -Barry
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: http://mail.python.org/mailman/options/python-dev/fuzzyman%40voidspace.org.uk


May you do good and not evil
May you find forgiveness for yourself and forgive others
May you share freely, never taking more than you give.
-- the sqlite blessing 

More information about the Python-Dev mailing list