Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 908826 - dev-python/pypdf-3.10.0 fails tests
Summary: dev-python/pypdf-3.10.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-19 06:54 UTC by Agostino Sarubbo
Modified: 2023-06-19 13:43 UTC (History)
1 user (show)

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


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

Issue: dev-python/pypdf-3.10.0 fails tests.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2023-06-19 06:54:06 UTC
Created attachment 864198 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-06-19 06:54:07 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 AttributeError:
        except ImportError:
        :exception OSError: If the file could not be written.  The file
        :exception ValueError: If the output format could not be determined
        except KeyError:
                        except KeyError:  # pragma: no cover
                except OSError:
        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-19 13:43:33 UTC
The bug has been closed via the following commit(s):

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

commit 8e0e5cbd69dc71763ab48b04fa112773f48a32ec
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2023-06-19 13:35:53 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2023-06-19 13:43:29 +0000

    dev-python/pypdf: Require more pillow codecs for tests
    
    Closes: https://bugs.gentoo.org/908826
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

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