Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 915396 - dev-python/pikepdf-8.4.1 fails tests
Summary: dev-python/pikepdf-8.4.1 fails tests
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andrey Grozin
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-08 23:08 UTC by Jonathan Lovelace
Modified: 2023-10-11 19:55 UTC (History)
1 user (show)

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


Attachments
dev-python:pikepdf-8.4.1:20231008-225745.log.gz (dev-python:pikepdf-8.4.1:20231008-225745.log.gz,21.31 KB, application/x-gzip)
2023-10-08 23:08 UTC, Jonathan Lovelace
Details
emerge-info.txt (emerge-info.txt,9.44 KB, text/plain)
2023-10-08 23:09 UTC, Jonathan Lovelace
Details

Note You need to log in before you can comment on or make changes to this bug.
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