Your message dated Fri, 16 Feb 2024 15:06:16 +0000
with message-id <e1razn6-00fmmt...@fasolo.debian.org>
and subject line Bug#1064037: fixed in xhtml2pdf 0.2.5-4
has caused the Debian Bug report #1064037,
regarding xhtml2pdf: the new version of python-reportlab breaks
xhtml2pdf/context.py
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 ow...@bugs.debian.org
immediately.)
--
1064037: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1064037
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: xhtml2pdf
Version: 0.2.5-3
Severity: serious
Tags: patch upstream
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.
-- System Information:
Debian Release: trixie/sid
APT prefers stable
APT policy: (700, 'stable'), (650, 'testing'), (500, 'stable-updates'), (500,
'stable-security'), (500, 'oldstable-updates'), (500, 'oldstable-security'),
(500, 'oldoldstable'), (500, 'unstable'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.0-25-amd64 (SMP w/4 CPU threads)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Beginning with python3-reporlab version 4.1.0, ShowBoundaryValue is no longer
part
of reportlab.platypus.frames, but part of reportlab.pdfgen.canvas
Index: xhtml2pdf/xhtml2pdf/context.py
===================================================================
--- xhtml2pdf.orig/xhtml2pdf/context.py
+++ xhtml2pdf/xhtml2pdf/context.py
@@ -15,7 +15,8 @@ from reportlab.lib.pagesizes import A4
from reportlab.lib.styles import ParagraphStyle
from reportlab.pdfbase import pdfmetrics
from reportlab.pdfbase.ttfonts import TTFont
-from reportlab.platypus.frames import Frame, ShowBoundaryValue
+from reportlab.platypus.frames import Frame
+from reportlab.pdfgen.canvas import ShowBoundaryValue
from reportlab.platypus.paraparser import ParaFrag, ps2tt, tt2ps
from xhtml2pdf.util import (copy_attrs, getColor, getCoords, getFile,
getFrameDimensions, getSize, pisaFileObject,
--- End Message ---
--- Begin Message ---
Source: xhtml2pdf
Source-Version: 0.2.5-4
Done: Georges Khaznadar <georg...@debian.org>
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 1064...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Georges Khaznadar <georg...@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 ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
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+pyt...@tracker.debian.org>
Changed-By: Georges Khaznadar <georg...@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-----
pgpwO7nCMY6wX.pgp
Description: PGP signature
--- End Message ---