Summary: | dev-python/nose should have "coverage" USE flag to control dependency on dev-python/coverage | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jeroen Roovers (RETIRED) <jer> |
Component: | New packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 395461, 408787 | ||
Bug Blocks: | 386793 |
Description
Jeroen Roovers (RETIRED)
2011-10-25 12:49:09 UTC
yes, confirmed. doc? ( >=dev-python/sphinx-0.6 ) test? ( >=dev-python/coverage-3.4 )" coverage dependency is optional. Maybe there should be a USE flag. Tests, which use coverage, should be skipped, when coverage isn't available. Actually there is no bug in test suite. Tests, which need dev-python/coverage, are already skipped when dev-python/coverage isn't installed. "ERROR: Coverage not available" doesn't mean that any tests failed. If any test failed, then selftest.py would have non-zero exit status, which would trigger call to die(). (selftest.py has proper exit status. All tests pass with CPython 3.2, but currently 4 tests fail with CPython 3.3, which triggers call to die().) ("coverage" USE flag has been added in dev-python/nose-1.1.2::progress. It controls both run-time and build-time dependency on dev-python/coverage.) |