Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 917075

Summary: [guru] media-sound/yewtube-2.10.5 fails tests: ModuleNotFoundError: No module named gi
Product: GURU Reporter: Agostino Sarubbo <ago>
Component: Package issuesAssignee: Gonçalo Negrier Duarte <gonegrier.duarte>
Status: RESOLVED FIXED    
Severity: normal CC: guru-bugs
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2023-11-09 11:10:28 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-sound/yewtube-2.10.5 fails tests.
Discovered on: amd64 (internal ref: guru_ci)
Comment 1 Agostino Sarubbo gentoo-dev 2023-11-09 11:10:31 UTC
Created attachment 874362 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-11-09 11:10:31 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


E       ModuleNotFoundError: No module named 'gi'
FAILED mps_youtube/test/test_mpris.py::test_mprsi2controller_init - ModuleNot...
Comment 3 Gonçalo Negrier Duarte 2023-11-09 12:05:31 UTC
I think now is done for some reason even using the test flag for some reason the test never tun on my laptop.
I run the test from the git repo but what is seems i have all the dependencies for that package already in my tree.

Next time i will use docker to run python test to be sure of all dependencies.

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?h=dev&id=72af1b160c17d59a54cbbec443f28615d3b7dbda
Comment 4 Larry the Git Cow gentoo-dev 2023-11-10 20:18:16 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=72af1b160c17d59a54cbbec443f28615d3b7dbda

commit 72af1b160c17d59a54cbbec443f28615d3b7dbda
Author:     Gonçalo Duarte <gonegrier.duarte@gmail.com>
AuthorDate: 2023-11-09 11:59:23 +0000
Commit:     Gonçalo Duarte <gonegrier.duarte@gmail.com>
CommitDate: 2023-11-09 12:02:43 +0000

    media-sound/yewtube: add pygobject as test dependencies
    
    Closes: https://bugs.gentoo.org/917075
    
    Signed-off-by: Gonçalo Duarte <gonegrier.duarte@gmail.com>

 media-sound/yewtube/yewtube-2.10.5.ebuild | 5 ++++-
 media-sound/yewtube/yewtube-9999.ebuild   | 5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)