pep8 requirements failing

Bug #1223568 reported by Sean McCully
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Invalid
Undecided
Sean McCully

Bug Description

Requirements seem to be failing on version check for six

2013-09-10 20:24:53.377 | using tox.ini: /home/jenkins/workspace/gate-neutron-pep8/tox.ini
2013-09-10 20:24:53.377 | using tox-1.6.1 from /usr/local/lib/python2.7/dist-packages/tox/__init__.pyc
2013-09-10 20:24:53.378 | GLOB sdist-make: /home/jenkins/workspace/gate-neutron-pep8/setup.py
2013-09-10 20:24:53.388 | /home/jenkins/workspace/gate-neutron-pep8$ /usr/bin/python /home/jenkins/workspace/gate-neutron-pep8/setup.py sdist --formats=zip --dist-dir /home/jenkins/workspace/gate-neutron-pep8/.tox/dist >/home/jenkins/workspace/gate-neutron-pep8/.tox/log/tox-0.log
2013-09-10 20:24:56.957 | pep8 create: /home/jenkins/workspace/gate-neutron-pep8/.tox/pep8
2013-09-10 20:24:56.968 | /home/jenkins/workspace/gate-neutron-pep8/.tox$ /usr/bin/python /usr/local/lib/python2.7/dist-packages/virtualenv.py --setuptools --python /usr/bin/python pep8 >/home/jenkins/workspace/gate-neutron-pep8/.tox/pep8/log/pep8-0.log
2013-09-10 20:24:58.578 | pep8 installdeps: -r/home/jenkins/workspace/gate-neutron-pep8/requirements.txt, -r/home/jenkins/workspace/gate-neutron-pep8/test-requirements.txt, setuptools_git>=0.4
2013-09-10 20:24:58.586 | /home/jenkins/workspace/gate-neutron-pep8$ /home/jenkins/workspace/gate-neutron-pep8/.tox/pep8/bin/pip install --pre -r/home/jenkins/workspace/gate-neutron-pep8/requirements.txt -r/home/jenkins/workspace/gate-neutron-pep8/test-requirements.txt setuptools_git>=0.4 >/home/jenkins/workspace/gate-neutron-pep8/.tox/pep8/log/pep8-1.log
2013-09-10 20:25:52.038 | pep8 inst: /home/jenkins/workspace/gate-neutron-pep8/.tox/dist/neutron-2013.2.a552.gaa68a3d.zip
2013-09-10 20:25:52.058 | /home/jenkins/workspace/gate-neutron-pep8$ /home/jenkins/workspace/gate-neutron-pep8/.tox/pep8/bin/pip install --pre /home/jenkins/workspace/gate-neutron-pep8/.tox/dist/neutron-2013.2.a552.gaa68a3d.zip >/home/jenkins/workspace/gate-neutron-pep8/.tox/pep8/log/pep8-2.log
2013-09-10 20:25:57.902 | pep8 runtests: commands[0] | flake8
2013-09-10 20:25:57.907 | /home/jenkins/workspace/gate-neutron-pep8$ /home/jenkins/workspace/gate-neutron-pep8/.tox/pep8/bin/flake8
2013-09-10 20:25:58.112 | Traceback (most recent call last):
2013-09-10 20:25:58.112 | File ".tox/pep8/bin/flake8", line 9, in <module>
2013-09-10 20:25:58.112 | load_entry_point('flake8==2.0', 'console_scripts', 'flake8')()
2013-09-10 20:25:58.112 | File "/home/jenkins/workspace/gate-neutron-pep8/.tox/pep8/local/lib/python2.7/site-packages/flake8/main.py", line 21, in main
2013-09-10 20:25:58.113 | flake8_style = get_style_guide(parse_argv=True, config_file=DEFAULT_CONFIG)
2013-09-10 20:25:58.113 | File "/home/jenkins/workspace/gate-neutron-pep8/.tox/pep8/local/lib/python2.7/site-packages/flake8/engine.py", line 75, in get_style_guide
2013-09-10 20:25:58.114 | kwargs['parser'], options_hooks = get_parser()
2013-09-10 20:25:58.114 | File "/home/jenkins/workspace/gate-neutron-pep8/.tox/pep8/local/lib/python2.7/site-packages/flake8/engine.py", line 38, in get_parser
2013-09-10 20:25:58.114 | (extensions, parser_hooks, options_hooks) = _register_extensions()
2013-09-10 20:25:58.115 | File "/home/jenkins/workspace/gate-neutron-pep8/.tox/pep8/local/lib/python2.7/site-packages/flake8/engine.py", line 24, in _register_extensions
2013-09-10 20:25:58.115 | checker = entry.load()
2013-09-10 20:25:58.115 | File "/home/jenkins/workspace/gate-neutron-pep8/.tox/pep8/local/lib/python2.7/site-packages/pkg_resources.py", line 2259, in load
2013-09-10 20:25:58.116 | if require: self.require(env, installer)
2013-09-10 20:25:58.116 | File "/home/jenkins/workspace/gate-neutron-pep8/.tox/pep8/local/lib/python2.7/site-packages/pkg_resources.py", line 2272, in require
2013-09-10 20:25:58.117 | working_set.resolve(self.dist.requires(self.extras),env,installer)))
2013-09-10 20:25:58.117 | File "/home/jenkins/workspace/gate-neutron-pep8/.tox/pep8/local/lib/python2.7/site-packages/pkg_resources.py", line 630, in resolve
2013-09-10 20:25:58.118 | raise VersionConflict(dist,req) # XXX put more info here
2013-09-10 20:25:58.119 | pkg_resources.VersionConflict: (six 1.4.1 (/home/jenkins/workspace/gate-neutron-pep8/.tox/pep8/lib/python2.7/site-packages), Requirement.parse('six<1.4.0'))
2013-09-10 20:25:58.131 | ERROR: InvocationError: '/home/jenkins/workspace/gate-neutron-pep8/.tox/pep8/bin/flake8'

Changed in neutron:
assignee: nobody → Sean McCully (sean-mccully)
Revision history for this message
Justin Hammond (justin-hammond) wrote :
Download full text (4.6 KiB)

I would like to add my 'pip freeze'

(.venv)jhammond at ubuntu in /opt/stack/neutron on RM2418_Brocade_Help_Text
$ pip freeze
Babel==1.3
Jinja2==2.7.1
Mako==0.9.0
MarkupSafe==0.18
Paste==1.7.5.1
PasteDeploy==1.5.0
Pygments==1.6
Routes==1.13
SQLAlchemy==0.7.10
Sphinx==1.1.3
WebOb==1.2.3
WebTest==1.3.3
alembic==0.6.0
amqp==1.0.13
amqplib==1.0.2
anyjson==0.3.3
argparse==1.2.1
cliff==1.4.4
cmd2==0.6.5.1
configobj==4.7.2
coverage==3.6
discover==0.4.0
docutils==0.11
eventlet==0.13.0
extras==0.0.3
fixtures==0.3.14
flake8==2.0
greenlet==0.4.1
hacking==0.7.1
httplib2==0.8
iso8601==0.1.4
jsonrpclib==0.1.3
kombu==2.5.14
mccabe==0.2.1
mock==1.0.1
mox==0.5.3
netaddr==0.7.10
oslo.config==1.2.0a3
pbr==0.5.21 ...

Read more...

Revision history for this message
Justin Hammond (justin-hammond) wrote :

Would like to clarify that previous comment was in neutron's venv, not the tox venv. I am currently rebuilding the tox venv and will attempt to jump into that one.

Revision history for this message
Justin Hammond (justin-hammond) wrote :

After rebuilding the tox virtual environment the error went away. Sean, you may wish to try:

tox -r -e pep8

Revision history for this message
Sean McCully (sean-mccully) wrote :

Ok this is happening in the Jenkins builds though

Revision history for this message
Sean McCully (sean-mccully) wrote :
Changed in neutron:
status: New → In Progress
Revision history for this message
Justin Hammond (justin-hammond) wrote :

They appear to have magically started working again. Glitch in the matrix?

Revision history for this message
Sean McCully (sean-mccully) wrote :

Could be, but if there is a depends on six being less then 1.4.0 then 1.4.1 is the latest on pypi.

Revision history for this message
Mark McClain (markmcclain) wrote :

Closing this as this has resolved itself. This issue was mostly related to an upstream library.

Changed in neutron:
status: In Progress → Invalid
Revision history for this message
Yang Yu (yuyangbj) wrote : I will be on vacation from 9/5 to 9/15, urgent call: 13811509950

I will be out of the office starting 2013-09-05 and will not return until
2013-09-15.

I will be on my marriage leave from 9/5 to 9/15, for any urgent issue
please call me before 9/7.

For daily work, please ask my scrum master Zhu Zhu for help.
For glance issue, please ask glance SME Feilong Wang for help.
For defect report, there will be no report next week.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.