Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 915396

Summary: dev-python/pikepdf-8.4.1 fails tests
Product: Gentoo Linux Reporter: Jonathan Lovelace <kingjon3377>
Component: Current packagesAssignee: Andrey Grozin <grozin>
Status: UNCONFIRMED ---    
Severity: normal CC: python
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: dev-python:pikepdf-8.4.1:20231008-225745.log.gz
emerge-info.txt

Description Jonathan Lovelace 2023-10-08 23:08:46 UTC
Created attachment 872361 [details]
dev-python:pikepdf-8.4.1:20231008-225745.log.gz

=dev-python/pikepdf-8.4.1 fails its test suite on at least one of my machines. In the "short test summary", the failing tests are all listed with the message "AttributeError: module 'IPython.lib.pretty' has no attribute '_deferred_pprinters'". I wondered if this might be a NO_COLOR issue (as I've run into several packages where tests of colored output were broken when running with output not going to a terminal), but running with just plain "emerge -1 pikepdf" with output to my terminal produced the same results.

=========================================================== short test summary info ============================================================
SKIPPED [1] tests/test_metadata.py:594: test too slow for rasppi arm
SKIPPED [1] tests/test_pdfa.py:75: verapdf not available
SKIPPED [1] tests/test_pdfa.py:93: verapdf not available
SKIPPED [1] tests/test_private_pdfs.py:30: private resources not available
XFAIL tests/test_foreign.py::test_issue_271 - current qpdf behavior
FAILED tests/test_codec.py::test_codec_involution - AttributeError: module 'IPython.lib.pretty' has no attribute '_deferred_pprinters'
FAILED tests/test_codec.py::test_break_encode - AttributeError: module 'IPython.lib.pretty' has no attribute '_deferred_pprinters'
FAILED tests/test_codec.py::test_open_encoding_pdfdoc_write - AttributeError: module 'IPython.lib.pretty' has no attribute '_deferred_pprinters'
FAILED tests/test_codec.py::test_open_encoding_pdfdoc_read - AttributeError: module 'IPython.lib.pretty' has no attribute '_deferred_pprinters'
FAILED tests/test_metadata.py::test_random_dates - AttributeError: module 'IPython.lib.pretty' has no attribute '_deferred_pprinters'
FAILED tests/test_metadata.py::test_truncated_xml - AttributeError: module 'IPython.lib.pretty' has no attribute '_deferred_pprinters'
FAILED tests/test_metadata.py::test_random_docinfo - AttributeError: module 'IPython.lib.pretty' has no attribute '_deferred_pprinters'
FAILED tests/test_object.py::test_ascii_involution - AttributeError: module 'IPython.lib.pretty' has no attribute '_deferred_pprinters'
FAILED tests/test_object.py::test_unicode_involution - AttributeError: module 'IPython.lib.pretty' has no attribute '_deferred_pprinters'
FAILED tests/test_object.py::TestArray::test_nested_list2 - AttributeError: module 'IPython.lib.pretty' has no attribute '_deferred_pprinters'
FAILED tests/test_outlines.py::test_page_destination - AttributeError: module 'IPython.lib.pretty' has no attribute '_deferred_pprinters'
FAILED tests/test_outlines.py::test_new_item - AttributeError: module 'IPython.lib.pretty' has no attribute '_deferred_pprinters'
FAILED tests/test_repr.py::test_repr_stream - AttributeError: module 'IPython.lib.pretty' has no attribute '_deferred_pprinters'
=============================== 13 failed, 552 passed, 4 skipped, 1 deselected, 1 xfailed, 5 warnings in 24.19s ================================
Comment 1 Jonathan Lovelace 2023-10-08 23:09:05 UTC
Created attachment 872362 [details]
emerge-info.txt