[openstack-dev] [nova] tox - missing pep8 dependencies

Monty Taylor mordred at inaugust.com
Sun May 12 17:57:53 UTC 2013


Well ... I'm stumped as to why it works for me and not for you. I also
have pep8 installed locally.

In fact, I am stumped as to why it works for me at all. hacking.py is
not compatible with pep8 1.4.5.

That said - this: https://review.openstack.org/#/c/26327/ when it lands,
should make all of this go away. Maybe I should go work on that more.

On 05/12/2013 01:43 PM, Gary Kotton wrote:
> On 05/12/2013 08:36 PM, Monty Taylor wrote:
>> I am VERY confused. Can you try "tox -epep8 -r"?
> 
> garyk at linus:~/nova$ tox -epep8 -r
> GLOB sdist-make: /home/garyk/nova/setup.py
> pep8 recreate: /home/garyk/nova/.tox/pep8
> pep8 installdeps: -r/home/garyk/nova/tools/pip-requires,
> -r/home/garyk/nova/tools/test-requires
> 
> <waiting>
> 
>>
>> Could you also paste the contents of .tox/pep8/log/pep8-1.log ?
> 
> http://paste.openstack.org/show/37163/
> 
>>
>> On 05/12/2013 01:34 PM, Gary Kotton wrote:
>>> On 05/12/2013 08:32 PM, Monty Taylor wrote:
>>>> http://paste.openstack.org/show/37162/
>>>>
>>>> There's me doing it - works for me - so I'd love to know what's broken
>>>> for you.
>>> Please see below. I am certain missing something very trivial:
>>>
>>> garyk at linus:~/nova$ tox -epep8
>>> GLOB sdist-make: /home/garyk/nova/setup.py
>>> pep8 sdist-reinst:
>>> /home/garyk/nova/.tox/dist/nova-2013.2.a610.g1ae8cf8.zip
>>> pep8 runtests: commands[0]
>>> WARNING:test command found but not installed in testenv
>>>    cmd: /bin/bash
>>>    env: /home/garyk/nova/.tox/pep8
>>> Maybe forgot to specify a dependency?
>>> Usage: pep8 [options] input ...
>>>
>>> pep8: error: no such option: --doctest
>>> ERROR: InvocationError: '/bin/bash tools/run_pep8.sh'
>>> _________________________________________________________________________
>>> summary
>>> __________________________________________________________________________
>>>
>>> ERROR:   pep8: commands failed
>>> garyk at linus:~/nova$
>>>
>>>> On 05/12/2013 07:59 AM, Gary Kotton wrote:
>>>>> Hi,
>>>>> I have a really dumb question. I have deleted the .tox directory.
>>>>> When I
>>>>> run tox the pep8 module is not installed. On my host I have pep 1.4.5
>>>>> installed.
>>>>> Any ideas?
>>>>> Thanks
>>>>> Gary
>>>>>
>>>>> _______________________________________________
>>>>> OpenStack-dev mailing list
>>>>> OpenStack-dev at lists.openstack.org
>>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>>>>
>>>
> 
> 



More information about the OpenStack-dev mailing list