← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1102400] Re: venv setup fails with testtools == 0.9.25

 

** Changed in: glance
       Status: Fix Committed => Fix Released

** Changed in: glance
    Milestone: None => grizzly-3

-- 
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/1102400

Title:
  venv setup fails with testtools == 0.9.25

Status in OpenStack Image Registry and Delivery Service (Glance):
  Fix Released
Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  It appears the latest testtools module 0.9.25 has broken Nova venv
  setup

  Downloading/unpacking testtools==0.9.25 (from -r /home/berrange/src/cloud/nova/tools/test-requires (line 15))
    Running setup.py egg_info for package testtools
      Traceback (most recent call last):
        File "<string>", line 14, in <module>
        File "/home/berrange/src/cloud/nova/.venv/build/testtools/setup.py", line 8, in <module>
          import testtools
        File "testtools/__init__.py", line 34, in <module>
          from extras import (
      ImportError: No module named extras
      Complete output from command python setup.py egg_info:
      Traceback (most recent call last):

    File "<string>", line 14, in <module>

    File "/home/berrange/src/cloud/nova/.venv/build/testtools/setup.py",
  line 8, in <module>

      import testtools

    File "testtools/__init__.py", line 34, in <module>

      from extras import (

  ImportError: No module named extras

  ----------------------------------------
  Command python setup.py egg_info failed with error code 1 in /home/berrange/src/cloud/nova/.venv/build/testtools

  
  Changing tools/test-requires to mandate  testtools == 0.9.24 fixes the issue.

  I tried adding 'extras' to the tools/test-requires, but that did not
  appear to help matters

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