Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 861053 - dev-python/stapler-1.0.0_p20220330 fails tests: ModuleNotFoundError: No module named PyPDF2.pdf
Summary: dev-python/stapler-1.0.0_p20220330 fails tests: ModuleNotFoundError: No modul...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ben Kohler
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-25 19:24 UTC by Agostino Sarubbo
Modified: 2022-07-26 06:33 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,53.90 KB, text/plain)
2022-07-25 19:24 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-07-25 19:24:05 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/stapler-1.0.0_p20220330 fails tests.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2022-07-25 19:24:07 UTC
Created attachment 794372 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-07-25 19:24:08 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED (errors=1)
ImportError: Failed to import test module: staplelib.tests
ModuleNotFoundError: No module named 'PyPDF2.pdf'
Comment 3 Larry the Git Cow gentoo-dev 2022-07-25 20:54:52 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6721ee59e517aa7ce0d647d575be26e9a43baeb7

commit 6721ee59e517aa7ce0d647d575be26e9a43baeb7
Author:     Ben Kohler <bkohler@gentoo.org>
AuthorDate: 2022-07-25 19:50:25 +0000
Commit:     Ben Kohler <bkohler@gentoo.org>
CommitDate: 2022-07-25 20:54:41 +0000

    dev-python/stapler: add missing test dep
    
    Closes: https://bugs.gentoo.org/861053
    
    Signed-off-by: Ben Kohler <bkohler@gentoo.org>

 dev-python/stapler/stapler-1.0.0_p20220330.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-26 06:33:30 UTC
d_e_t unittest and such should do BDEPEND="test? ( ${RDEPEND} )" for you, I think there's something more to this, see bug 861128