Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 909089 - dev-python/pypdf-3.11.0 fails tests
Summary: dev-python/pypdf-3.11.0 fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-24 17:46 UTC by Agostino Sarubbo
Modified: 2023-06-25 02:26 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,388.20 KB, text/plain)
2023-06-24 17:46 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 2023-06-24 17:46:19 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/pypdf-3.11.0 fails tests.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2023-06-24 17:46:22 UTC
Created attachment 864581 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-06-24 17:46:23 UTC
Error(s) that match a know pattern:


E           AttributeError: module 'PIL._imaging' has no attribute 'jpeg2k_encoder'. Did you mean: 'jpeg_encoder'?
E           AttributeError: module 'PIL._imaging' has no attribute 'libtiff_decoder'
E           OSError: decoder libtiff not available
E           OSError: encoder jpeg2k not available
        except ImportError:
        except KeyError:
                        except KeyError:  # pragma: no cover
                except OSError:
FAILED tests/test_reader.py::test_get_images[imagemagick-CCITTFaxDecode.pdf-expected_images5]
FAILED tests/test_workflows.py::test_replace_image - OSError: encoder jpeg2k ...
Comment 3 Larry the Git Cow gentoo-dev 2023-06-25 02:26:13 UTC
The bug has been closed via the following commit(s):

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

commit 392f5b8d4d61d271312f3ab579b08fd5e09bf3f5
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2023-06-24 18:37:47 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2023-06-25 02:25:42 +0000

    dev-python/pypdf: Copy pillow flag fix to 3.11.0
    
    Closes: https://bugs.gentoo.org/909089
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/pypdf/pypdf-3.11.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)