← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1407024] [NEW] pep8 H302 failing on stable/juno with latest hacking

 

Public bug reported:

mriedem@ubuntu:~/git/nova$ tox -r -e pep8
pep8 recreate: /home/mriedem/git/nova/.tox/pep8
pep8 installdeps: -r/home/mriedem/git/nova/requirements.txt, -r/home/mriedem/git/nova/test-requirements.txt
pep8 develop-inst: /home/mriedem/git/nova
pep8 runtests: PYTHONHASHSEED='0'
pep8 runtests: commands[0] | flake8
./nova/tests/compute/test_resources.py:30:1: H302  import only modules.'from nova.tests.fake_instance import fake_instance_obj' does not import a module
./nova/tests/compute/test_rpcapi.py:31:1: H302  import only modules.'from nova.tests.fake_instance import fake_instance_obj' does not import a module
ERROR: InvocationError: '/home/mriedem/git/nova/.tox/pep8/bin/flake8'
___________________________________________________________________________________________ summary ___________________________________________________________________________________________
ERROR:   pep8: commands failed


I'm not sure what changed, I'm assuming a new version of hacking was released that hits problems in stable/juno.

** Affects: nova
     Importance: High
     Assignee: Matt Riedemann (mriedem)
         Status: Triaged


** Tags: testing

** Changed in: nova
   Importance: Undecided => High

** Changed in: nova
       Status: New => Triaged

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1407024

Title:
  pep8 H302 failing on stable/juno with latest hacking

Status in OpenStack Compute (Nova):
  Triaged

Bug description:
  mriedem@ubuntu:~/git/nova$ tox -r -e pep8
  pep8 recreate: /home/mriedem/git/nova/.tox/pep8
  pep8 installdeps: -r/home/mriedem/git/nova/requirements.txt, -r/home/mriedem/git/nova/test-requirements.txt
  pep8 develop-inst: /home/mriedem/git/nova
  pep8 runtests: PYTHONHASHSEED='0'
  pep8 runtests: commands[0] | flake8
  ./nova/tests/compute/test_resources.py:30:1: H302  import only modules.'from nova.tests.fake_instance import fake_instance_obj' does not import a module
  ./nova/tests/compute/test_rpcapi.py:31:1: H302  import only modules.'from nova.tests.fake_instance import fake_instance_obj' does not import a module
  ERROR: InvocationError: '/home/mriedem/git/nova/.tox/pep8/bin/flake8'
  ___________________________________________________________________________________________ summary ___________________________________________________________________________________________
  ERROR:   pep8: commands failed

  
  I'm not sure what changed, I'm assuming a new version of hacking was released that hits problems in stable/juno.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1407024/+subscriptions


Follow ups

References