psutil compatibility issue in gaffer==0.5.2
- Dominant language
- Python
- Stars
- 366
- Forks
- 34
- PR merge metrics
- No merged PRs in 30d
Description
``` bash
$ pip install gaffer
...
Successfully built gaffer pyuv psutil tornado colorama setproctitle
Installing collected packages: pyuv, psutil, tornado, colorama, setproctitle, gaffer
Successfully installed colorama-0.3.3 gaffer-0.5.2 psutil-3.0.1 pyuv-1.1.0 setproctitle-1.1.8 tornado-2.4.1
```
So far so good. Trying things out...
``` bash
$ gaffer --version
Traceback (most recent call last):
File "/tmp/ashald/.venvs/tmp-17f0a3d67a1d4821/bin/gaffer", line 7, in
from gaffer.cli.main import main
File "/tmp/ashald/.venvs/tmp-17f0a3d67a1d4821/lib/python2.7/site-packages/gaffer/cli/main.py", line 40, in
from ..httpclient import Server, GafferUnauthorized, GafferForbidden
File "/tmp/ashald/.venvs/tmp-17f0a3d67a1d4821/lib/python2.7/site-packages/gaffer/httpclient/__init__.py", line 38, in
from .job import Job
File "/tmp/ashald/.venvs/tmp-17f0a3d67a1d4821/lib/python2.7/site-packages/gaffer/httpclient/job.py", line 7, in
from ..process import ProcessConfig
File "/tmp/ashald/.venvs/tmp-17f0a3d67a1d4821/lib/python2.7/site-packages/gaffer/process.py", line 18, in
from psutil.error import AccessDenied
ImportError: No module named error
```
Quick googling leads to ["psutil.error.py module was removed in 2.0.0 version"](http://stackoverflow.com/questions/22529900/no-module-psutil-error#comment34544539_22530007)
Second attempt:
``` bash
$ pip install "psutil<2"
...
Successfully installed psutil-1.2.1
$ gaffer --version
gaffer version 0.5.2
```
Looking at [setup.py](https://github.com/benoitc/gaffer/blob/master/setup.py#L62) in `master` there is version-unbounded dependency on `psutil`.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.