Your message dated Wed, 19 Jun 2024 09:19:26 +0000
with message-id <[email protected]>
and subject line Bug#1071767: fixed in fpdf2 2.7.9-2
has caused the Debian Bug report #1071767,
regarding fpdf2: autopkgtest needs update for new version of pytest
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.)
--
1071767: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1071767
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: fpdf2
Version: 2.7.9-1
Severity: serious
X-Debbugs-CC: [email protected]
Tags: sid trixie
User: [email protected]
Usertags: needs-update
Control: affects -1 src:pytest
Dear maintainer(s),
With a recent upload of pytest the autopkgtest of fpdf2 fails in testing
when that autopkgtest is run with the binary packages of pytest from
unstable. It passes when run with only packages from testing. In tabular
form:
pass fail
pytest from testing 8.1.2-1
fpdf2 from testing 2.7.9-1
all others from testing from testing
I copied some of the output at the bottom of this report.
Currently this regression is blocking the migration of pytest to testing
[1]. Of course, pytest shouldn't just break your autopkgtest (or even
worse, your package), but given the nature of the package pytest, I
suspect your package needs to update to the new situation.
If this is a real problem in your package (and not only in your
autopkgtest), the right binary package(s) from pytest should really add
a versioned Breaks on the unfixed version of (one of your) package(s).
Note: the Breaks is nice even if the issue is only in the autopkgtest as
it helps the migration software to figure out the right versions to
combine in the tests.
More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation
Paul
[1] https://qa.debian.org/excuses.php?package=pytest
https://ci.debian.net/data/autopkgtest/testing/amd64/f/fpdf2/46966995/log.gz
=================================== FAILURES
===================================
263s __________________________ test_multi_cell_split_only
__________________________
263s 263s def test_multi_cell_split_only(): # discussion 314
263s pdf = FPDF()
263s pdf.add_page()
263s pdf.set_font("Helvetica", size=TEXT_SIZE)
263s text = "Lorem ipsum Ut nostrud irure reprehenderit anim
nostrud dolore sed ut"
263s expected = [
263s "Lorem ipsum Ut nostrud irure",
263s "reprehenderit anim nostrud",
263s "dolore sed ut",
263s ]
263s with pytest.warns(
263s DeprecationWarning, match='The parameter "split_only"
is deprecated.'
263s ) as record:
263s assert (
263s pdf.multi_cell(w=0, h=LINE_HEIGHT, text=text,
split_only=True) == expected
263s )
263s > assert len(record) == 1
263s E assert 2 == 1
263s E + where 2 = len(WarningsChecker(record=True))
263s 263s test/text/test_multi_cell.py:267: AssertionError
263s =============================== warnings summary
===============================
263s test/image/test_vector_image.py::test_svg_image_no_viewbox
263s
/tmp/autopkgtest-lxc.vf1cnias/downtmp/build.w5B/src/test/image/test_vector_image.py:45:
UserWarning: <svg> has no "viewBox", using its "width" & "height" as
default "viewBox"
263s img = pdf.image(SVG_SRCDIR / "simple_rect_no_viewbox.svg")
263s 263s
test/image/test_vector_image.py::test_svg_image_with_custom_width_and_no_viewbox
263s
/tmp/autopkgtest-lxc.vf1cnias/downtmp/build.w5B/src/test/image/test_vector_image.py:75:
UserWarning: <svg> has no "viewBox", using its "width" & "height" as
default "viewBox"
263s img = pdf.image(SVG_SRCDIR / "simple_rect_no_viewbox.svg", w=60)
263s 263s
test/image/test_vector_image.py::test_svg_image_with_custom_size_and_no_viewbox
263s
/tmp/autopkgtest-lxc.vf1cnias/downtmp/build.w5B/src/test/image/test_vector_image.py:106:
UserWarning: <svg> has no "viewBox", using its "width" & "height" as
default "viewBox"
263s img = pdf.image(SVG_SRCDIR / "simple_rect_no_viewbox.svg",
x=50, y=50, w=30, h=60)
263s 263s
test/image/test_vector_image.py::test_svg_image_style_inherited_from_fpdf
263s
/tmp/autopkgtest-lxc.vf1cnias/downtmp/build.w5B/src/test/image/test_vector_image.py:132:
UserWarning: <svg> has no "viewBox", using its "width" & "height" as
default "viewBox"
263s pdf.image(
263s 263s test/image/test_vector_image.py::test_svg_image_from_bytesio
263s
/tmp/autopkgtest-lxc.vf1cnias/downtmp/build.w5B/src/test/image/test_vector_image.py:145:
UserWarning: <svg> has no "viewBox", using its "width" & "height" as
default "viewBox"
263s pdf.image(
263s 263s test/image/test_vector_image.py::test_svg_image_from_bytes
263s
/tmp/autopkgtest-lxc.vf1cnias/downtmp/build.w5B/src/test/image/test_vector_image.py:158:
UserWarning: <svg> has no "viewBox", using its "width" & "height" as
default "viewBox"
263s pdf.image(
263s 263s
test/table/test_table_extraction.py::test_camelot_extract_simple_table[table_simple.pdf-lattice]
263s
test/table/test_table_extraction.py::test_camelot_extract_simple_table[table_with_images.pdf-lattice]
263s
test/table/test_table_extraction.py::test_camelot_extract_simple_table[table_with_images_and_img_fill_width.pdf-lattice]
263s
test/table/test_table_extraction.py::test_camelot_extract_simple_table[table_with_headings_styled.pdf-lattice]
263s
test/table/test_table_extraction.py::test_camelot_extract_simple_table[table_with_internal_layout.pdf-lattice]
263s
test/table/test_table_extraction.py::test_camelot_extract_two_tables[table_align.pdf]
263s
test/table/test_table_extraction.py::test_camelot_extract_two_pages_table[lattice]
263s /usr/lib/python3/dist-packages/camelot/parsers/lattice.py:149:
DeprecationWarning: 'ghostscript' will be replaced by 'poppler' as the
default image conversion backend in v0.12.0. You can try out 'poppler'
with backend='poppler'.
263s warnings.warn(
263s 263s -- Docs:
https://docs.pytest.org/en/stable/how-to/capture-warnings.html
263s 263s ---------- coverage: platform linux, python 3.12.3-final-0
-----------
263s Coverage XML written to file coverage.xml
263s 263s =========================== short test summary info
============================
263s FAILED test/text/test_multi_cell.py::test_multi_cell_split_only -
assert 2 == 1
263s = 1 failed, 1207 passed, 52 skipped, 3 xfailed, 13 warnings in
99.91s (0:01:39) =
264s autopkgtest [04:53:23]: test unittests
OpenPGP_signature.asc
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
Source: fpdf2
Source-Version: 2.7.9-2
Done: Elena Grandi <[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.
Elena Grandi <[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: SHA256
Format: 1.8
Date: Wed, 19 Jun 2024 10:24:13 +0200
Source: fpdf2
Architecture: source
Version: 2.7.9-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Elena Grandi <[email protected]>
Closes: 1071767
Changes:
fpdf2 (2.7.9-2) unstable; urgency=medium
.
* Allow a test to run on different pytest versions. (Closes: #1071767)
Checksums-Sha1:
11252187ddc3a8f4c65b4be1e9086104ec5aab16 1982 fpdf2_2.7.9-2.dsc
f77636debae309d66bad172948fda94e1616d607 15724 fpdf2_2.7.9-2.debian.tar.xz
c8c0431bccf065a20d307f36ff2ad853af07239b 19371 fpdf2_2.7.9-2_amd64.buildinfo
Checksums-Sha256:
cd6cd662b8a5f3514f39706bdc343375e2aa49b732d1dbbf6c875824be57186c 1982
fpdf2_2.7.9-2.dsc
160e50a2d4544b0b9e67555392d3078dd108614c2f4672d7b5394be08dacde68 15724
fpdf2_2.7.9-2.debian.tar.xz
13f0fc8b9fee67d6ce62b16e1e976e8e1afc09a437dfaf3d58a90bbaf49f4513 19371
fpdf2_2.7.9-2_amd64.buildinfo
Files:
8c0b2a193c1317ec929cd14f1388608a 1982 python optional fpdf2_2.7.9-2.dsc
d5240df4ed1eaea55c448de6fb7bc33e 15724 python optional
fpdf2_2.7.9-2.debian.tar.xz
330f8c9bc31514670c29a2bf1d087c29 19371 python optional
fpdf2_2.7.9-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQFIBAEBCAAyFiEEY8n6rGg5PpTPkl4ZcL0i0xEjtDEFAmZyn8MUHHZhbGhhbGxh
QGRlYmlhbi5vcmcACgkQcL0i0xEjtDHgKAgAzBqNSHdu4lJ1sKMmhOF7HMkVDJi6
TKOwiGxlVehbUeRKHEZYe/gBsTvKOIQ7Bcu1xwflIzqpq+qgMwqeeCxXZ6eztCte
BKD69excuewqNMY4wrVFGPkcyu67wxL4bmd883Q72MVL2u59swOY1OpCy1Y3qsSJ
+iJE8xvL04YukLHU20kH9NxlbNCrMZKC4JgW4retD+w8Lt6klCyYx/9MxIXLEe4s
JmU7ZJ2Nxrw2TJtpxlyyznCNYq3X5XT8Jb0rjj8jlHRItWLXtvsC6HM+u5NhXmHZ
xwJkWYbQ9Tnc4JXtf8iQI/8lg7wOrYLfryl6THZpElvkDLYvJxPjKa25lQ==
=kXiE
-----END PGP SIGNATURE-----
pgp7DFePhqkhy.pgp
Description: PGP signature
--- End Message ---