Your message dated Thu, 12 Nov 2026 10:19:50 +0000
with message-id <[email protected]>
and subject line Bug#1151509: fixed in fpdf2 2.9.0-1
has caused the Debian Bug report #1151509,
regarding autopkgtest failure with pillow 13.0.0
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1151509: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1151509
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:fpdf2
Version: 2.8.9-1
Severity: serious
Tags: sid forky

autopkg test failure seen with pillow 13.0.0:

[...]
=================================== FAILURES =================================== 269s _____________________ test_image_with_explicit_dimensions ______________________
269s
269s tmp_path = PosixPath('/tmp/pytest-of-test/pytest-0/test_image_with_explicit_dimen0')
269s
269s     def test_image_with_explicit_dimensions(tmp_path):
269s         pdf = FPDF()
269s         pdf.set_margin(0)
269s         pdf.add_page()
269s         pdf.image(
269s             HERE / "png_images/6c853ed9dacd5716bc54eb59cec30889.png",
269s             w=pdf.epw,
269s             dims=(500, 500),
269s         )
269s > assert_pdf_equal(pdf, HERE / "image_with_explicit_dimensions.pdf", tmp_path)
269s
269s test/image/test_full_page_image.py:54:
269s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
269s
269s actual = <fpdf.fpdf.FPDF object at 0x7f55b2f8a900>
269s expected = PosixPath('/tmp/autopkgtest.OAzmCQ/build.cKt/src/test/image/image_with_explicit_dimensions.pdf') 269s tmp_path = PosixPath('/tmp/pytest-of-test/pytest-0/test_image_with_explicit_dimen0') 269s linearize = False, at_epoch = True, generate = False, ignore_id_changes = False
269s ignore_original_obj_ids = False, ignore_xref_offsets = False
269s
269s     def assert_pdf_equal(
269s         actual,
269s         expected,
269s         tmp_path,
269s         linearize=False,
269s         at_epoch=True,
269s         generate=False,
269s         ignore_id_changes=False,
269s         ignore_original_obj_ids=False,
269s         ignore_xref_offsets=False,
269s     ):
269s         """
269s This compare the output of a `FPDF` instance (or `Template` instance),
269s         with the provided PDF file.
269s
269s The `CreationDate` of the newly generated PDF is fixed, so that it never triggers
269s         a diff.
269s
269s If the `qpdf` command is available on the `$PATH`, it will be used to perform the 269s comparison, as it greatly helps debugging diffs. Otherwise, a hash-based comparison
269s         logic is used as a fallback.
269s
269s         Args:
269s actual: instance of `FPDF` or `Template`. The `output` or `render` method
269s               will be called on it.
269s expected: instance of `FPDF`, `bytearray` or file path to a PDF file
269s               matching the expected output
269s tmp_path (Path): temporary directory provided by pytest individually to the
269s               caller test function
269s generate (bool): only generate `pdf` output to `rel_expected_pdf_filepath`
269s               and return. Useful to create new tests.
269s         """
269s         if isinstance(actual, Template):
269s             actual.render()
269s             actual_pdf = actual.pdf
269s         else:
269s             actual_pdf = actual
269s         if at_epoch:
269s             actual_pdf.creation_date = EPOCH
269s         if generate:
269s             assert isinstance(expected, pathlib.Path), (
269s                 "When passing `True` to `generate`"
269s "a pathlib.Path must be provided as the `expected` parameter"
269s             )
269s             actual_pdf.output(expected.open("wb"), linearize=linearize)
269s             return
269s # Force ignore_id_changes when Python is linked against zlib-ng, 269s # as the compressed data is not 100% identical to standard zlib.
269s         # https://github.com/python/cpython/pull/131438
269s         if USING_ZLIB_NG and QPDF_AVAILABLE:
269s             ignore_id_changes = True
269s         if isinstance(expected, pathlib.Path):
269s             expected_pdf_path = expected
269s         else:
269s             expected_pdf_path = tmp_path / "expected.pdf"
269s             with expected_pdf_path.open("wb") as pdf_file:
269s                 if isinstance(expected, (bytes, bytearray)):
269s                     pdf_file.write(expected)
269s                 else:
269s                     expected.set_creation_date(EPOCH)
269s                     expected.output(pdf_file, linearize=linearize)
269s         actual_pdf_path = tmp_path / "actual.pdf"
269s         with actual_pdf_path.open("wb") as pdf_file:
269s             actual_pdf.output(pdf_file, linearize=linearize)
269s if QPDF_AVAILABLE: # Favor qpdf-based comparison, as it helps a lot debugging:
269s             actual_qpdf = _qpdf(actual_pdf_path)
269s             expected_qpdf = _qpdf(expected_pdf_path)
269s             (tmp_path / "actual_qpdf.pdf").write_bytes(actual_qpdf)
269s             (tmp_path / "expected_qpdf.pdf").write_bytes(expected_qpdf)
269s             actual_lines = actual_qpdf.splitlines()
269s             expected_lines = expected_qpdf.splitlines()
269s             if ignore_id_changes:
269s                 actual_lines = filter_out_doc_id(actual_lines)
269s                 expected_lines = filter_out_doc_id(expected_lines)
269s             if ignore_original_obj_ids:
269s actual_lines = filter_out_original_obj_ids(actual_lines) 269s expected_lines = filter_out_original_obj_ids(expected_lines)
269s             if ignore_xref_offsets:
269s                 actual_lines = filter_out_xref_offsets(actual_lines)
269s expected_lines = filter_out_xref_offsets(expected_lines)
269s             if actual_lines != expected_lines:
269s # It is important to reduce the size of both list of bytes here, 269s # to avoid .assertSequenceEqual to take forever to finish, that itself calls difflib.ndiff, 269s # that has cubic complexity from this comment by Tim Peters: https://bugs.python.org/issue6931#msg223459
269s                 actual_lines = subst_streams_with_hashes(actual_lines)
269s expected_lines = subst_streams_with_hashes(expected_lines)
269s >           assert actual_lines == expected_lines
269s E assert [b'%PDF-1.3',...1 0 obj', ...] == [b'%PDF-1.3',...1 0 obj', ...]
269s E
269s E At index 99 diff: b"\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2}\xc0\xa2~\xc0\xa2~\xc0\xa2}\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2}\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa...
269s E
269s E ...Full output truncated (93558 lines hidden), use '-vv' to show
269s
269s test/conftest.py:172: AssertionError

--- End Message ---
--- Begin Message ---
Source: fpdf2
Source-Version: 2.9.0-1
Done: Colin Watson <[email protected]>

We believe that the bug you reported is fixed in the latest version of
fpdf2, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Watson <[email protected]> (supplier of updated fpdf2 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 12 Nov 2026 10:53:27 +0100
Source: fpdf2
Architecture: source
Version: 2.9.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Colin Watson <[email protected]>
Closes: 1151509
Changes:
 fpdf2 (2.9.0-1) unstable; urgency=medium
 .
   * Team upload.
   * New upstream release:
     - Regenerate ref file for pillow 13 (closes: #1151509).
   * Drop dependencies on python3-defusedxml.
Checksums-Sha1:
 8049dd6444855641b80138143544e762e586054b 2643 fpdf2_2.9.0-1.dsc
 ffeb5cb297d9d167d62ab0e8b399b41b4526aed6 65038872 fpdf2_2.9.0.orig.tar.xz
 eb89e0c136b3b2151066406c5d219f2d4d8276c5 11052 fpdf2_2.9.0-1.debian.tar.xz
 b1c60e8cc7c7a3fdda6459ae2d6ef6290cf085b6 82447224 fpdf2_2.9.0-1.git.tar.xz
 7e7a61cdfda9ab2ee8d85714eabda80a41005224 17734 fpdf2_2.9.0-1_source.buildinfo
Checksums-Sha256:
 f8af9ac9f68270b19d8cf35f336e4cd8b41af5111cf902654f0a09fb4787a2cb 2643 
fpdf2_2.9.0-1.dsc
 cedffd29003a5479a4033e50847bcb5a9e942bae0aa81ac25150aef512778269 65038872 
fpdf2_2.9.0.orig.tar.xz
 817a11697a0273af82a919295c393d77728b2f94ea9258bb3feca4bb84d65cd0 11052 
fpdf2_2.9.0-1.debian.tar.xz
 85b050d9e74767bc11d5195db27bfbd96b574ec7a2f5fdea8f73bd4fb16d3c13 82447224 
fpdf2_2.9.0-1.git.tar.xz
 eda86f8d54072b3d684384b3a3b8d4604013a3653b818d81fcf6c5bf618a1e97 17734 
fpdf2_2.9.0-1_source.buildinfo
Files:
 922171f04208f5dc243505dcc45349cf 2643 python optional fpdf2_2.9.0-1.dsc
 8ff14a47a538686a2686b5cb9f6900c0 65038872 python optional 
fpdf2_2.9.0.orig.tar.xz
 450a859f24f75acffcc34a91f35bd439 11052 python optional 
fpdf2_2.9.0-1.debian.tar.xz
 dfd87fef7679788877f0ab047ac5e01c 82447224 python None fpdf2_2.9.0-1.git.tar.xz
 b6fc005b067b6adad1bce79d282c114d 17734 python optional 
fpdf2_2.9.0-1_source.buildinfo
Git-Tag-Info: tag=d5e4a70eb987f8638fce6a770d84d1e0a6928911 
fp=ac0a4ff12611b6fccf01c111393587d97d86500b
Git-Tag-Tagger: Colin Watson <[email protected]>

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmr1ja0ACgkQYG0ITkaD
wHmu+RAAha37dqdIIKJYZAexkl/AgUbC+egsSGz/zBEIQ83PH9sLzsTaDzchmqe5
iwguANNBraT0fMTVVDJRHAyTNIYz3HNnaR4h2hGyaPR4f7B59S5iWQxhIyB3cZgs
Eca6R1ssBn4eYeRBrnDzvwtTn+6AyCbe1ijy5t3/F00EkWqUd/UgkQogBUzb04T4
yCo/ZV8RZwHIaXXnhUMmkmRZQ3JyspJ9leByEScP9J+kOwNkczmXAQ23hU2rTqsq
S9gpi3DVVto5ksI1xI19h68KeVWbVO+7bQAPhItitGg9VwByKUxQIpa/yhwi6H2n
NPWPtwUQ26zYMZSPFHQDrkZZvs8rCN5leWJVN4iQ+B7U9QUB/FPEajX8N2sjbNNc
K1Nq46Saf7D2gBy7oMa2F4/f+5JqYcKGcC3U3gwe4wAJSmZcgTAHyILia0zPYqzw
Rp9agxQZfihRDVHX99jm9Js0WZwsN/smAxQhFmXS04Osfsv4OPz6K9jDd5iYXjdL
I5Ni4o7cwASehePR3I7nlsLyJaRytiQ9Znx9Eok1bx3/znwhKVI5qyM/vUMPJn37
ahklfGe9Di3l5L0XAYnylXv48KdlUSQSPr4U3j7Z5o0DpZwJQJCzG5veVrCBc+IB
24DW7Ewc4qanXoCE2EUZwxVvXuKQw/Wl09nBF2edEH9l68dHICA=
=siN+
-----END PGP SIGNATURE-----

Attachment: pgp7ygyCIV6Bh.pgp
Description: PGP signature


--- End Message ---

Reply via email to