Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 837248 - dev-python/PyPDF2-1.27.0 fails tests: ModuleNotFoundError: No module named PIL
Summary: dev-python/PyPDF2-1.27.0 fails tests: ModuleNotFoundError: No module named PIL
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-08 09:23 UTC by Agostino Sarubbo
Modified: 2022-04-08 10:00 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,57.84 KB, text/plain)
2022-04-08 09:23 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-04-08 09:23:12 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/PyPDF2-1.27.0 fails tests.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2022-04-08 09:23:14 UTC
Created attachment 769346 [details]
build.log

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


E       ModuleNotFoundError: No module named 'PIL'
FAILED Tests/test_reader.py::test_get_images[/var/tmp/portage/dev-python/PyPDF2-1.27.0/work/PyPDF2-1.27.0/Resources/crazyones.pdf-0]
FAILED Tests/test_reader.py::test_get_images[/var/tmp/portage/dev-python/PyPDF2-1.27.0/work/PyPDF2-1.27.0/Resources/git.pdf-1]
FAILED Tests/test_reader.py::test_get_images[/var/tmp/portage/dev-python/PyPDF2-1.27.0/work/PyPDF2-1.27.0/Resources/pdflatex-outline.pdf-0]
Comment 3 Larry the Git Cow gentoo-dev 2022-04-08 10:00:31 UTC
The bug has been closed via the following commit(s):

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

commit db78c95267c842c081e41fa3b01832e8348d6887
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2022-04-08 09:59:56 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2022-04-08 10:00:27 +0000

    dev-python/PyPDF2: Add missing test dep on dev-python/pillow
    
    Closes: https://bugs.gentoo.org/837248
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/PyPDF2/PyPDF2-1.27.1.ebuild | 4 ++++
 1 file changed, 4 insertions(+)