Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 348012 - dev-python/astng-0.21.0 USE=test should DEPEND on dev-python/unittest2
Summary: dev-python/astng-0.21.0 USE=test should DEPEND on dev-python/unittest2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-07 08:08 UTC by Brant Gurganus
Modified: 2011-01-17 22:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brant Gurganus 2010-12-07 08:08:47 UTC
astng-0.21.0 is missing the unittest2 dependency for src_test

Reproducible: Always

Steps to Reproduce:
1. Without unittest2 available and using Python 2.6, emerge astng-0.21.0.
Actual Results:  
running install_scripts
Traceback (most recent call last):
  File "/usr/bin/pytest-2.6", line 3, in <module>
    from logilab.common.pytest import run
  File "/var/tmp/portage/dev-python/astng-0.21.0/temp/test-2.6/usr/lib64/python2.6/site-packages/logilab/common/pytest.py", line 119, in <module>
    from logilab.common import testlib, STD_BLACKLIST
  File "/var/tmp/portage/dev-python/astng-0.21.0/temp/test-2.6/usr/lib64/python2.6/site-packages/logilab/common/testlib.py", line 63, in <module>
    import unittest2 as unittest
ImportError: No module named unittest2


Expected Results:  
unittest2 is merged as a USE="test" dependency

Even with unittest2 available, one of the tests fails. I have yet to determine that cause, but that is probably best left for a different issue than this one.
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-01-17 22:18:55 UTC
Dependencies in dev-python/logilab-common-0.54.0 are fixed.