Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 830383 - dev-python/python-utils-2.7.0 fails tests: ModuleNotFoundError: No module named pygments
Summary: dev-python/python-utils-2.7.0 fails tests: ModuleNotFoundError: No module nam...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
: 830382 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-01-01 06:43 UTC by Agostino Sarubbo
Modified: 2022-01-01 08:23 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,50.34 KB, text/plain)
2022-01-01 06:43 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-01-01 06:43:36 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/python-utils-2.7.0 fails tests.
Discovered on: amd64 (internal ref: ci)

NOTE:
If you think this is a GCC-11 related issue, please block bug 732706.
Comment 1 Agostino Sarubbo gentoo-dev 2022-01-01 06:43:38 UTC
Created attachment 760956 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-01-01 06:43:39 UTC
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...
Comment 3 Agostino Sarubbo gentoo-dev 2022-01-01 06:44:14 UTC
*** Bug 830382 has been marked as a duplicate of this bug. ***
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-01-01 07:23:29 UTC
Why does it try to import docs for tests? :(
Comment 5 Larry the Git Cow gentoo-dev 2022-01-01 08:23:28 UTC
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(+)