Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop Python 2.4 and 2.5 support #521

Closed
giampaolo opened this issue Jul 15, 2014 · 6 comments
Closed

Drop Python 2.4 and 2.5 support #521

giampaolo opened this issue Jul 15, 2014 · 6 comments

Comments

@giampaolo
Copy link
Owner

Main reason: I'm tired of providing the 2 extra exe installers for Windows requiring mingw32. Furthermore I can get rid of a lot of cruft in _compat.py (namedtuple, property, defaultdict, functools.wraps) and I can finally freely use the with statement, "except Exception as:", u"" and b"" syntax.
Also, current 2.1.1 version is very stable therefore those few users who are still on Python 2.4/2.5 can simply install 2.1.1.

@giampaolo giampaolo changed the title Drop Python 2.4 and 2.5 compatibility Drop Python 2.4 and 2.5 support Jul 15, 2014
@giampaolo
Copy link
Owner Author

@tshepang
Copy link

tshepang commented Sep 5, 2014

👍

@ddaeschler
Copy link
Contributor

Just a note that #536 concerns RHEL/CENTOS 5. I just installed a VM for this version of linux and by default it had python 2.4 installed:

[root@localhost psutil]# python -V
Python 2.4.3

@giampaolo
Copy link
Owner Author

Thanks for your input David. Do you have an opinion about this?
According to this https://access.redhat.com/articles/3078 RH5 was released in 2007.
I don't know how much of those distros are still in use nowadays, but I have a feeling they are not rare. :-\

@ddaeschler
Copy link
Contributor

I think there are likely a lot of CentOS5/RHEL5 machines still humming along in production environments, however since RHEL7 and CentOS7 have now been released, they are 2 major versions behind.

I think it would be good enough to let people know they'd need to use an older psutil release on those systems and if they need newer functionality that they would have to update their systems.

For the future, CentOS6 and RHEL6 package Python 2.6 in their installs, and I'd say the same would go for them in a few years if you deprecate Python 2.6, even though those are the versions I run in production.

@ddaeschler
Copy link
Contributor

Note also that RHEL stops delivering software enhancements after 5.5 years according to their lifecycle document: https://access.redhat.com/support/policy/updates/errata .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants