Your message dated Tue, 23 Dec 2025 00:18:56 +0000
with message-id <[email protected]>
and subject line Bug#1029734: fixed in kraft 2.0.0~rc1-1
has caused the Debian Bug report #1029734,
regarding pypdf2 is deprecated, please move from python3-pypdf2 to python3-pypdf
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.)
--
1029734: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1029734
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:pypdf2
Severity: wishlist
Control: affects -1 src:pypdf
Control: clone -1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11
Control: reassign -2 bookletimposer
Control: reassign -3 kraft
Control: reassign -4 krop
Control: reassign -5 odoo-14
Control: reassign -6 orangeassassin
Control: reassign -7 pdfposter
Control: reassign -8 python3-xhtml2pdf
Control: reassign -9 tryton-modules-stock-package-shipping-dpd
Control: reassign -10 diffoscope
Control: reassign -11 diffoscope-minimal
Control: block -1 by -2 -3 -4 -5 -6 -7 -8 -9 -10 -11
As noted in https://bugs.debian.org/1028559, upstream for the PyPDF2
Python module has moved to the "pypdf" namespace.
Correspondingly, there is a new python3-pypdf package in debian
unstable.
The packages listed above all currently depend on (or recommend) PyPDF2,
but probably should move to the updated version. When all these bug
reports are closed, we can consider removing the pypdf2 source package
and python3-pypdf2 from debian.
The migration should be relatively straightforward; much of the API
remains the same, just under the "pypdf" module name instead of the
"PyPDF2" module name. Where the API differs, the version of PyPDF2
currently in debian testing/unstable (2.12.1-3) emits a
PendingDeprecationWarning wherever a piece of the API will break.
For example:
foo.py:76: PendingDeprecationWarning: getObject is deprecated and will be
removed in PyPDF2 3.0.0. Use get_object instead.
(PyPDF2 version 3.x is basically a terminal version of PyPDF2, and pypdf
takes over from 3.1.x onward; PyPDF2 version 3.x will not enter debian,
as it is an API break from 2.x, and pypdf 3.x supercedes it)
To transition a given package:
- run tests with as complete coverage as possible and note the
PendingDeprecation warnings
- for each warning, patch the upstream line as recommended
- ensure that the tests pass without PendingDeprecationWarnings
- convert from "PyPDF2" to "pypdf" on any import or scoped reference in
python
- update dependency indicators in upstream metadata annotations
(e.g. pyproject.toml, setup.cfg, etc)
- update dependency indicators in debian packaging (from python3-pypdf2
to python3-pypdf).
- run the tests again
Please send any upstream fixes back upstream as well, of course!
Regards,
--dkg
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
Source: kraft
Source-Version: 2.0.0~rc1-1
Done: Pino Toscano <[email protected]>
We believe that the bug you reported is fixed in the latest version of
kraft, 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.
Pino Toscano <[email protected]> (supplier of updated kraft 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: Tue, 23 Dec 2025 00:59:46 +0100
Source: kraft
Architecture: source
Version: 2.0.0~rc1-1
Distribution: experimental
Urgency: medium
Maintainer: Debian KDE Extras Team <[email protected]>
Changed-By: Pino Toscano <[email protected]>
Closes: 1029734 1083203 1088983 1115424
Changes:
kraft (2.0.0~rc1-1) experimental; urgency=medium
.
* New upstream development release:
- switches to Qt5/KF5 (Closes: #1088983)
- erml2pdf.py is no more shipped (Closes: #1083203)
- watermarkpdf.py switches to pypdf (Related: #1029734)
* Update watch file to handle also beta/rc versions, and skip tags without
dot
in them (hard to programmatically distinguish the version).
* Update the patches:
- tests-skip-t_defaultprovider.diff: refresh
- cmake-fix-without-git.diff: refresh
* Update the build dependencies following the port to Qt 6:
- remove qtbase5-dev, libqt5svg5-dev, libkf5akonadi-dev,
libkf5akonadicontact-dev, libkf5config-dev, libkf5contacts-dev,
libkf5i18n-dev, libgrantlee5-dev, and libqt5sql5-sqlite
- add qt6-base-dev, qt6-svg-dev, libkf6config-dev, libkf6contacts-dev,
libkf6i18n-dev, libkf6texttemplate-dev, libakonadi-dev,
libakonadicontact-dev, and libqt6sql6-sqlite
* Update the other build dependencies according to the upstream build system:
- bump extra-cmake-modules to 6.0.0
- drop libctemplate-dev, no more needed now
* Switch the kf5 dh addon to kf6.
* Modernize building:
- add the dh-sequence-kf6 build dependency to use the kf6 addon
automatically
- add the dh-sequence-python3 build dependency to use the python3 addon
automatically
- drop the pkg-kde-tools build dependency, no more explicitly needed
- drop all the manually specified addons and buildsystem for dh
* Switch the dependencies/recommends libqt5sql5-sqlite, and libqt5sql5-mysql
to libqt6sql6-sqlite, and libqt6sql6-mysql.
* Drop the -DAKONADI_LEGACY_BUILD=ON cmake argument, as it is no more legacy
API to use.
* Tweak the add_test() CMake calls to ensure the test executables are found;
patch tests-new-add_test.diff
- adapt tests-skip-t_defaultprovider.diff to it
* Switch the python3-pypdf2 dependency to python3-pypdf, as watermarkpdf.py
now is ported to the latter. (Closes: #1029734)
* Drop the python3-reportlab dependency: it was needed for erml2pdf.py, which
is no more shipped now.
* The rebuild ensures that existing packages are used; python3-pypdf2 was
handled on its own, and mentioned above. (Closes: #1115424)
* Bump Standards-Version to 4.7.2, no changes required.
* Drop Rules-Requires-Root: no, no more needed since Debian trixie.
* Switch Vcs-* fields to the 'experimental' packaging branch.
Checksums-Sha1:
9c6806a9371c2ac429aa5773eeb4b8ac9e691da4 2336 kraft_2.0.0~rc1-1.dsc
f661bb1f367a323dcab16ba0b9403ace0359fa83 6076898 kraft_2.0.0~rc1.orig.tar.gz
606aad215092b7001f043742314c5cbfb76fc786 8516 kraft_2.0.0~rc1-1.debian.tar.xz
8912b00f8a43d78d8eb7cdd7614e3b2a7d6503c6 15049
kraft_2.0.0~rc1-1_source.buildinfo
Checksums-Sha256:
08c5d759547bd30f14b600eb626bb3ac90a0eb6b093d8fcf36fac0c166eb8cce 2336
kraft_2.0.0~rc1-1.dsc
14100d18e563beb2b8ce4b9a5c0781550734256dd59e86f4289519c5ee91dd06 6076898
kraft_2.0.0~rc1.orig.tar.gz
dd0776d2fc6593ef65146bbdd8a064e54c11afb53cf467a0a796ac6a7076a255 8516
kraft_2.0.0~rc1-1.debian.tar.xz
09cc4cc0395d57bcb96357dbf19d0c24e934d9debc9467c7b7a87e09172f97a0 15049
kraft_2.0.0~rc1-1_source.buildinfo
Files:
19e78a8f8c91db548200214797a1f2cb 2336 kde optional kraft_2.0.0~rc1-1.dsc
4e61008fa2642324905f0db31e1a3c4c 6076898 kde optional
kraft_2.0.0~rc1.orig.tar.gz
9904f1bb56a063068f7c107582b50f39 8516 kde optional
kraft_2.0.0~rc1-1.debian.tar.xz
530c4260ebc39c0cd97b79b68154da22 15049 kde optional
kraft_2.0.0~rc1-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEXyqfuC+mweEHcAcHLRkciEOxP00FAmlJ2+AACgkQLRkciEOx
P03HCRAAr9npq4QPKWs1TbbZm8rWGfwjcgJGzB70bhxBj4sxZmDm4f+yLFATL2FF
/dTn8W1wJ/YGXN/TwmqwBkh2bOPqqX3cHYlFAUQ9VuXE46htPzcdlPhCPfYc2BZ8
4p9AcGCEcCeuJVA361qAVY+LNuGAnWNOcRhvoprhCOElbe78hYRYFaOFzs6z88I/
1sUggQAALKZz/OdTA6rMQaqOB3jawENmSoXvXxl69jmTbJl5MG22fFFL6aak4D92
6MGlH5+k05Oq1FFJE/4FklB/EJV75dJcnMz7bz4BhESHRQvzLAFdraV3Z2V1qwu/
29UZMqMSQzjF3qEvzUkdnrIAlJjmQ0CqLdQ6fa+AoQyZQbCAVZzEZsDruvMJ0e+f
i/vxyEP+WZQBf6lEtgJtsBxWAkhFS9WkOTWnbkNo2G4M7Fj7N3fEbx8savuulmO2
ipHegnOlti5OpZvfPSwW1HZQnEY58JO5NcRInMWc6CmuoqR7HauaPzQIOWlI1Xng
MTfk7Fgd2L2xwVqcZW5gLvfDzgXGCuNeKJuNeRghzGSVspGWFy/Zo3NVVzsuZMuP
2+4dlabRubdN7aPVB8qNwYpqEr4+72Jvt8NMVfBe2kGfeSO4vjH8YbDoMZVGrZYT
p1He0sWcPRsKBLHCTR+stCz/OOV22obInB6Kv/xzCq8adyKyBiE=
=/xjW
-----END PGP SIGNATURE-----
pgp0EnURCHa9f.pgp
Description: PGP signature
--- End Message ---