[openstack-dev] [hacking] hacking package upgrade dependency with setuptools

Surojit Pathak suro.patz at gmail.com
Tue Dec 9 19:05:12 UTC 2014


Hi all,

On a RHEL system, as I upgrade hacking package from 0.8.0 to 0.9.5, I 
see flake8 stops working. Upgrading setuptools resolves the issue. But I 
do not see a change in version for pep8 or setuptools, with the upgrade 
in setuptools.

Any issue in packaging? Any explanation of this behavior?

Snippet -
[suro at poweredsoured ~]$ pip list | grep hacking
hacking (0.8.0)
[suro at poweredsoured ~]$
[suro at poweredsoured app]$ sudo pip install hacking==0.9.5
... <Successful installation>
[suro at poweredsoured app]$ flake8 neutron/
...
   File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 546, 
in resolve
     raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: pep8>=1.4.6
[suro at poweredsoured app]$ pip list | grep pep8
pep8 (1.5.6)
[suro at poweredsoured app]$ pip list | grep setuptools
setuptools (0.6c11)
[suro at poweredsoured app]$ sudo pip install -U setuptools
...
Successfully installed setuptools
Cleaning up...
[suro at poweredsoured app]$ pip list | grep pep8
pep8 (1.5.6)
[suro at poweredsoured app]$ pip list | grep setuptools
setuptools (0.6c11)
[suro at poweredsoured app]$ flake8 neutron/
[suro at poweredsoured app]$

-- 
Regards,
Surojit Pathak




More information about the OpenStack-dev mailing list