#1064037 xhtml2pdf: the new version of python-reportlab breaks xhtml2pdf/context.py

Package:
src:xhtml2pdf
Source:
src:xhtml2pdf
Submitter:
Georges Khaznadar
Date:
2024-02-18 17:36:07 UTC
Severity:
normal
Tags:
#1064037#5
Date:
2024-02-16 08:57:13 UTC
From:
To:
Dear Maintainer,

since python-reportlab 4.0.1-1, xhtml2pdf cannot pass automatic tests:
see for example,
https://ci.debian.net/packages/x/xhtml2pdf/testing/amd64/43022906/
at line 480,
     from reportlab.platypus.frames import Frame, ShowBoundaryValue
     E   ImportError: cannot import name 'ShowBoundaryValue' from
'reportlab.platypus.frames' (/usr/lib/python3/dist-
packages/reportlab/platypus/frames.py)

I patched the file xhtml2pdf/context.py to fix this error.

Best regards,                  Georges.

#1064037#10
Date:
2024-02-16 09:50:56 UTC
From:
To:
Hello, I uploaded xhtml2pdf_0.2.5-3.1_source.changes to delayed+10
today, and the modifications to Salsa's repository.

Best regards,			Georges.

#1064037#15
Date:
2024-02-16 15:06:16 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
xhtml2pdf, 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 1064037@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Georges Khaznadar <georgesk@debian.org> (supplier of updated xhtml2pdf 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Fri, 16 Feb 2024 15:36:27 +0100
Source: xhtml2pdf
Architecture: source
Version: 0.2.5-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Georges Khaznadar <georgesk@debian.org>
Closes: 1064037
Changes:
 xhtml2pdf (0.2.5-4) unstable; urgency=medium
 .
   * Team upload.
   * added d/source/lintian-overrides, with comments explaining the contents
     of the not-so-sourceless HTML files reported by lintian.
   * kept the modifications initiated in release 0.2.5-3.1; Closes: #1064037
Checksums-Sha1:
 8dea33f070638ba40fc57e81776b0828eaf38d9e 2252 xhtml2pdf_0.2.5-4.dsc
 16e6ae4fe68419f78643122d8cb978f7e0442c54 9364 xhtml2pdf_0.2.5-4.debian.tar.xz
 988a8cf40dbedca78ba2054a7c8a78976a47bd58 9199 xhtml2pdf_0.2.5-4_amd64.buildinfo
Checksums-Sha256:
 7f4e52503db3f46f415c956f66be0957db6d325a268ea92f05d412ad961dec5c 2252 xhtml2pdf_0.2.5-4.dsc
 77a0c014ca05f7406b631da1e074b74f78e9ab2b75f61d74451ef6560d7131c6 9364 xhtml2pdf_0.2.5-4.debian.tar.xz
 3f0c51a1b14d18ca7f98cabfe8af83bd74bc0d4f8bc6c1bd743c8295d4184493 9199 xhtml2pdf_0.2.5-4_amd64.buildinfo
Files:
 6da8efff21ebf91c8ac2ba5654133016 2252 python optional xhtml2pdf_0.2.5-4.dsc
 1e559b8d64115e805fa5b33caffaf743 9364 python optional xhtml2pdf_0.2.5-4.debian.tar.xz
 364296b5927c73d72e75bfba24d3413d 9199 python optional xhtml2pdf_0.2.5-4_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEM0CzZP9nFT+3zK6FHCgWkHE2rjkFAmXPdLwACgkQHCgWkHE2
rjlFlw/7Bw+Wu7YysrtxCBu2JibzUEohgQSWaw2sbR4acCRSDkYo3+wq6RulFOtA
i8qsvMRpzXmrv7c+W0HsGUaCRnwXWLqwWD7uX4I9ujF89avyKaOTOvvLkOLkYqKV
855Dah2JgjQRLWanyTuETBpilKkSwAC0hxEaHfutkUOnBOmOQXbq2SFnpHTtT5pe
K6VpLPo7pyQpalNM5OzXVGgJEwwO5qNucowyF6/flaN81GSTN2ujxDJDg+YZe5nJ
0FNX/5Z60fkOX4+aJKw0ehGd5DAe2wa5C2ue4DfvyJm8kQYrmxSSKEN0lAc5TXkk
x9q7QaJrwbYmtWynIZ0u/PL/UoE9dE7L+2WIrMoRXUyEJ/6iR2GT+StvpefeGrvG
91ZLPLIZQhnkLQE2kgpmyCZOAD1TjUyK3QUUe4W2FckqVWAXioCgXHr6lKguaS7C
xcHAn2zcAjzbZZgixXCIU6JuxtJYFu7Rz44r/T3b3ynRRZleeIS9VmWpBuSzCpLk
jVrKyzz7aM/zZDa/DVeid5qQz/m4iyu6nwtr8GuWbOcZqwRalsN2ab1cwxpV0HoJ
c28enZ8+n2/YUR6tXS23/+IT6ib64R0g6MzbnMkiuuKIEjpA9tmwvws1qsV0iibF
BJE53AY1IbA8jwugiRdN8/8JyN1WwTo/KXVuta5MmfjRR9GOpKE=
=KveK
-----END PGP SIGNATURE-----