FS#39398 - [glances] pkg_resources.DistributionNotFound: psutil>=0.5.1,<=1.2.1

Attached to Project: Community Packages
Opened by Ricardo Funke Ormieres (ricardofunke) - Friday, 14 March 2014, 01:03 GMT
Last edited by Sébastien Luttringer (seblu) - Tuesday, 18 March 2014, 00:40 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sébastien Luttringer (seblu)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 8
Private No

Details

Description:

Glances will not work because it doesn't support the actual version of the python2-psutil package which is 2.0

When try to run glances it results in the following error:

me@mynote ~]$ glances
Traceback (most recent call last):
File "/usr/bin/glances", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2749, in <module>
working_set = WorkingSet._build_master()
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 446, in _build_master
return cls._build_from_requirements(__requires__)
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 459, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 628, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: psutil>=0.5.1,<=1.2.1


Additional info:
* package version(s)
glances 1.7.5-1
python2-psutil 2.0.0-1


Steps to reproduce:
1) pacman -Sy glances
2) try to run glances
This task depends upon

Closed by  Sébastien Luttringer (seblu)
Tuesday, 18 March 2014, 00:40 GMT
Reason for closing:  Fixed
Additional comments about closing:  glances-1.7.5-2
Comment by Alexandre Bury (gyscos) - Saturday, 15 March 2014, 07:50 GMT
Related to https://github.com/nicolargo/glances/issues/334
Glances 1.7.5 will never support psutil 2.0.
So until glances 2.0 is released, we should add a legacy psutil-1.2.1 package.
But adding it to the aur would require moving glances itself to the aur. Aah, cruel dilemma.
Comment by Reggie Pierce (regdoug) - Monday, 17 March 2014, 21:39 GMT
There is a pull request to to fix this issue. https://github.com/nicolargo/glances/pull/336 Don't know what the acceptance timeline might be.

Loading...