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

version 0.6.0 not compatible with Python 2.4 #318

Closed
giampaolo opened this issue May 23, 2014 · 3 comments
Closed

version 0.6.0 not compatible with Python 2.4 #318

giampaolo opened this issue May 23, 2014 · 3 comments

Comments

@giampaolo
Copy link
Owner

From riccardo.murri@gmail.com on August 16, 2012 16:39:45

`psutil` seems to import functools, which is only available from Python 2.5 onwards.

Fortunately, the only piece needed from `functools` is
`functools.wraps`, which can be readily included in `psutil._compat`.

The attached patch does that, plus a similar fix in
`test/test_psutil.py`, because `TestCase.assertIn` is not available in
Py 2.4.

It'd be great if you could push this quickly to release, because the current 
`psutil` version on PyPI is broken on 2.4.

Attachment: 0001-re-establish-compatibility-with-Python-2.4.patch

Original issue: http://code.google.com/p/psutil/issues/detail?id=318

@giampaolo
Copy link
Owner Author

From g.rodola on August 16, 2012 07:58:17

Damn... you're right.
I'll package a new release as soon as possible.

Status: Accepted
Labels: -Priority-Medium -OpSys-Linux Priority-High Milestone-0.6.1

@giampaolo
Copy link
Owner Author

From g.rodola on August 16, 2012 09:40:54

Fixed in r1524 .
0.6.1 version is now available.
Thanks for signaling.

Status: Fixed

@giampaolo
Copy link
Owner Author

From g.rodola on March 02, 2013 04:12:35

Updated csets after the SVN -> Mercurial migration: r1524 == revision 
2305f10a1da8

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

1 participant