← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1413501] [NEW] testtools installed failed due to unittest2

 

Public bug reported:

pip install -r requirements.txt
failed due to:
1. testtools need unittest2
2. unittest2 not before testtools in requirements.txt

	Downloading/unpacking testtools>=0.9.36,!=1.2.0 (from -r test-requirements.txt (line 25))
	  Downloading testtools-1.5.0.tar.gz (205kB): 205kB downloaded
	  Running setup.py egg_info for package testtools
	    Traceback (most recent call last):
	      File "<string>", line 16, in <module>
	      File "/private/tmp/pip_build_root/testtools/setup.py", line 10, in <module>
	        import testtools
	      File "testtools/__init__.py", line 69, in <module>
	        from testtools.testcase import (
	      File "testtools/testcase.py", line 28, in <module>
	        import unittest2 as unittest
	    ImportError: No module named unittest2
	    Complete output from command python setup.py egg_info:
	    Traceback (most recent call last):
	
	  File "<string>", line 16, in <module>
	
	  File "/private/tmp/pip_build_root/testtools/setup.py", line 10, in <module>
	
	    import testtools
	
	  File "testtools/__init__.py", line 69, in <module>
	
	    from testtools.testcase import (
	
	  File "testtools/testcase.py", line 28, in <module>
	
	    import unittest2 as unittest
	
	ImportError: No module named unittest2
	
	----------------------------------------
	Cleaning up...
	Command python setup.py egg_info failed with error code 1 in /private/tmp/pip_build_root/testtools
	Storing complete log in /Users/wuwenxiang/Library/Logs/pip.log

** Affects: horizon
     Importance: Undecided
     Assignee: Wu Wenxiang (wu-wenxiang)
         Status: New

** Changed in: horizon
     Assignee: (unassigned) => Wu Wenxiang (wu-wenxiang)

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

Title:
  testtools installed failed due to unittest2

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  pip install -r requirements.txt
  failed due to:
  1. testtools need unittest2
  2. unittest2 not before testtools in requirements.txt

  	Downloading/unpacking testtools>=0.9.36,!=1.2.0 (from -r test-requirements.txt (line 25))
  	  Downloading testtools-1.5.0.tar.gz (205kB): 205kB downloaded
  	  Running setup.py egg_info for package testtools
  	    Traceback (most recent call last):
  	      File "<string>", line 16, in <module>
  	      File "/private/tmp/pip_build_root/testtools/setup.py", line 10, in <module>
  	        import testtools
  	      File "testtools/__init__.py", line 69, in <module>
  	        from testtools.testcase import (
  	      File "testtools/testcase.py", line 28, in <module>
  	        import unittest2 as unittest
  	    ImportError: No module named unittest2
  	    Complete output from command python setup.py egg_info:
  	    Traceback (most recent call last):
  	
  	  File "<string>", line 16, in <module>
  	
  	  File "/private/tmp/pip_build_root/testtools/setup.py", line 10, in <module>
  	
  	    import testtools
  	
  	  File "testtools/__init__.py", line 69, in <module>
  	
  	    from testtools.testcase import (
  	
  	  File "testtools/testcase.py", line 28, in <module>
  	
  	    import unittest2 as unittest
  	
  	ImportError: No module named unittest2
  	
  	----------------------------------------
  	Cleaning up...
  	Command python setup.py egg_info failed with error code 1 in /private/tmp/pip_build_root/testtools
  	Storing complete log in /Users/wuwenxiang/Library/Logs/pip.log

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


Follow ups

References