Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 608286 - dev-python/coverage-4.2: missing dev-python/nose test dependency
Summary: dev-python/coverage-4.2: missing dev-python/nose test dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-05 10:00 UTC by Mart Raudsepp
Modified: 2017-09-21 21:56 UTC (History)
3 users (show)

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 Mart Raudsepp gentoo-dev 2017-02-05 10:00:50 UTC
>>> Source compiled.
>>> Test phase: dev-python/coverage-4.2
 * python2_7: running distutils-r1_run_phase python_test
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/coverage-4.2/work/coverage-4.2/igor.py", line 395, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/var/tmp/portage/dev-python/coverage-4.2/work/coverage-4.2/igor.py", line 388, in main
    ret = handler(*handler_args)
  File "/var/tmp/portage/dev-python/coverage-4.2/work/coverage-4.2/igor.py", line 199, in do_test_with_tracer
    return run_tests(tracer, *noseargs)
  File "/var/tmp/portage/dev-python/coverage-4.2/work/coverage-4.2/igor.py", line 100, in run_tests
    import nose.core
ImportError: No module named nose.core
 * ERROR: dev-python/coverage-4.2::gentoo failed (test phase):
 *   (no error message)
Comment 1 Mart Raudsepp gentoo-dev 2017-02-05 10:02:00 UTC
mock already depends on nose, BUT only with USE=test on mock too, so it doesn't properly satisfy the requirements of coverage. Unless things using mock always need nose and it's deemed appropriate to instead make mock always RDEPEND on nose or something.
Comment 2 Larry the Git Cow gentoo-dev 2017-09-21 21:56:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=622e659d138603319cf7b24e5ca38e6d4ad1de35

commit 622e659d138603319cf7b24e5ca38e6d4ad1de35
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2017-09-21 21:55:41 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2017-09-21 21:55:53 +0000

    dev-python/coverage: add missing dev-python/nose test dependency, bug #608286
    
    nose.core is explicitly imported in tests thus it's a direct dependency.
    
    Reported-by: Mart Raudsepp
    Closes: https://bugs.gentoo.org/608286
    Package-Manager: Portage-2.3.10, Repoman-2.3.3

 dev-python/coverage/coverage-4.2.ebuild | 1 +
 1 file changed, 1 insertion(+)