Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 861128 - 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
Assignee: Ben Kohler
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-26 06:28 UTC by Agostino Sarubbo
Modified: 2022-07-26 13:40 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,53.90 KB, text/plain)
2022-07-26 06:28 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-26 06:28:19 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-26 06:28:21 UTC
Created attachment 794414 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-07-26 06:28:22 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 Ben Kohler gentoo-dev 2022-07-26 13:12:59 UTC
Hrm yeah this seems to be looking in the wrong place for PyPDF2, fix incoming
Comment 4 Larry the Git Cow gentoo-dev 2022-07-26 13:32:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ff912067dd187a2b078b423930e614b010987a3

commit 3ff912067dd187a2b078b423930e614b010987a3
Author:     Ben Kohler <bkohler@gentoo.org>
AuthorDate: 2022-07-26 13:17:13 +0000
Commit:     Ben Kohler <bkohler@gentoo.org>
CommitDate: 2022-07-26 13:32:34 +0000

    dev-python/stapler: fix PyPDF2 import for tests
    
    Closes: https://bugs.gentoo.org/861128
    
    Signed-off-by: Ben Kohler <bkohler@gentoo.org>

 dev-python/stapler/stapler-1.0.0_p20220330.ebuild | 5 +++++
 1 file changed, 5 insertions(+)