Summary: | dev-python/python-utils-2.7.0 fails tests: ModuleNotFoundError: No module named pygments | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mgorny |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
Agostino Sarubbo
2022-01-01 06:43:36 UTC
Created attachment 760956 [details]
build.log
build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: E ModuleNotFoundError: No module named 'pygments' ERROR docs/_theme/flask_theme_support.py - ModuleNotFoundError: No module nam... *** Bug 830382 has been marked as a duplicate of this bug. *** Why does it try to import docs for tests? :( The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c87ae91060b7888de3577bed3e1ebaea0db21789 commit c87ae91060b7888de3577bed3e1ebaea0db21789 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2022-01-01 08:23:05 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2022-01-01 08:23:25 +0000 dev-python/python-utils: Ignore docs when collecting tests The docs directory does not contain any tests but it triggers import failures when doc dependencies are not installed. Closes: https://bugs.gentoo.org/830383 Signed-off-by: Michał Górny <mgorny@gentoo.org> dev-python/python-utils/python-utils-2.7.0.ebuild | 4 ++++ 1 file changed, 4 insertions(+) |