Summary: | dev-python/pypdf-4.0.1 fails tests | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mgorny |
Priority: | Normal | Keywords: | TESTFAILURE |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
Agostino Sarubbo
![]() Created attachment 883520 [details]
build.log
build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary:
E PIL.UnidentifiedImageError: cannot identify image file <_io.BytesIO object at 0x77c7363482c0>
E PIL.UnidentifiedImageError: cannot identify image file <_io.BytesIO object at 0x77c7379858f0>
E pypdf.errors.PdfReadError: Broken xref table
E pypdf.errors.PdfReadError: Could not find object.
E pypdf.errors.PdfReadError: /Prev=0 in the trailer (try opening with strict=False)
E pypdf.errors.PdfReadError: Unknown Destination Type: '0'
:exception FileNotFoundError: If the file cannot be found.
:exception PIL.UnidentifiedImageError: If the image cannot be opened and
:exception TypeError: If ``formats`` is not ``None``, a list or a tuple.
:exception ValueError: If the ``mode`` is not "r", or if a ``StringIO``
FAILED tests/test_reader.py::test_get_images_raw[True-False-0-True-] - Failed: DID NOT WARN. No warnings of type (<class 'pypdf.errors.PdfReadWarn...
FAILED tests/test_reader.py::test_get_images_raw[True-True-0-True-] - Failed: DID NOT WARN. No warnings of type (<class 'pypdf.errors.PdfReadWarn...
FAILED tests/test_reader.py::test_get_images_raw[True-True--1-True-] - Failed: DID NOT WARN. No warnings of type (<class 'pypdf.errors.PdfReadWarn...
FAILED tests/test_reader.py::test_issue604[True] - Failed: DID NOT WARN. No warnings of type (<class 'pypdf.errors.PdfReadWarn...
FAILED tests/test_reader.py::test_read_prev_0_trailer - Failed: DID NOT WARN. No warnings of type (<class 'pypdf.errors.PdfReadWarn...
FAILED tests/test_reader.py::test_read_unknown_zero_pages - Failed: DID NOT WARN. No warnings of type (<class 'pypdf.errors.PdfReadWarn...
not import 'fpdf': No module named 'fpdf') [573/585]
> raise PdfReadError("Could not find object.")
SKIPPED [1] tests/test_page.py:1273: could not import 'fpdf': No module named 'fpdf'
SKIPPED [1] tests/test_writer.py:1954: could not import 'fpdf': No module named 'fpdf'
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25472a00801da3505804d4f8c2ca8d0dd08d1a67 commit 25472a00801da3505804d4f8c2ca8d0dd08d1a67 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2024-01-29 10:09:35 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2024-01-29 10:09:35 +0000 dev-python/pypdf: Require dev-python/pillow[zlib] for tests Closes: https://bugs.gentoo.org/923221 Signed-off-by: Michał Górny <mgorny@gentoo.org> dev-python/pypdf/pypdf-4.0.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) *** Bug 923251 has been marked as a duplicate of this bug. *** |