Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906699 - dev-python/cliff-4.3.0 fails tests (MUSL-SYSTEM): ModuleNotFoundError: No module named importlib_metadata
Summary: dev-python/cliff-4.3.0 fails tests (MUSL-SYSTEM): ModuleNotFoundError: No mod...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-18 17:39 UTC by Agostino Sarubbo
Modified: 2023-05-18 18:54 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,99.42 KB, text/plain)
2023-05-18 17:39 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 2023-05-18 17:39:20 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/cliff-4.3.0 fails tests (MUSL-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc but this bug MAY or MAY NOT BE related to musl.
Comment 1 Agostino Sarubbo gentoo-dev 2023-05-18 17:39:22 UTC
Created attachment 861914 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-05-18 17:39:23 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED (errors=9)
ImportError: Failed to import test module: cliff.tests.test_app
ImportError: Failed to import test module: cliff.tests.test_command
ImportError: Failed to import test module: cliff.tests.test_command_hooks
ImportError: Failed to import test module: cliff.tests.test_commandmanager
ImportError: Failed to import test module: cliff.tests.test_complete
ImportError: Failed to import test module: cliff.tests.test_help
ImportError: Failed to import test module: cliff.tests.test_lister
ImportError: Failed to import test module: cliff.tests.test_show
ImportError: Failed to import test module: cliff.tests.test_sphinxext
ModuleNotFoundError: No module named 'importlib_metadata'
Comment 3 Larry the Git Cow gentoo-dev 2023-05-18 18:54:20 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23b8427152afb1b28fd9d089f22877adc1c2f321

commit 23b8427152afb1b28fd9d089f22877adc1c2f321
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2023-05-18 18:52:15 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2023-05-18 18:54:16 +0000

    dev-python/cliff: importlib_metadata is required unconditionally
    
    Closes: https://bugs.gentoo.org/906699
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/cliff/{cliff-4.3.0.ebuild => cliff-4.3.0-r1.ebuild} | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)