Debian Bug report logs -
#1029742
pypdf2 is deprecated, please move from python3-pypdf2 to python3-pypdf
Reported by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Date: Thu, 26 Jan 2023 21:42:01 UTC
Severity: wishlist
Fixed in version diffoscope/235
Done: Chris Lamb <lamby@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Laszlo Boszormenyi (GCS) <gcs@debian.org>:
Bug#1029732; Package src:pypdf2.
(Thu, 26 Jan 2023 21:42:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Daniel Kahn Gillmor <dkg@fifthhorseman.net>:
New Bug report received and forwarded. Copy sent to Laszlo Boszormenyi (GCS) <gcs@debian.org>.
(Thu, 26 Jan 2023 21:42:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
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 (application/pgp-signature, inline)]
Added indication that 1029732 affects src:pypdf
Request was from Daniel Kahn Gillmor <dkg@fifthhorseman.net>
to submit@bugs.debian.org.
(Thu, 26 Jan 2023 21:42:04 GMT) (full text, mbox, link).
Bug 1029732 cloned as bugs 1029733, 1029734, 1029735, 1029736, 1029737, 1029738, 1029739, 1029740, 1029741, 1029742
Request was from Daniel Kahn Gillmor <dkg@fifthhorseman.net>
to submit@bugs.debian.org.
(Thu, 26 Jan 2023 21:42:04 GMT) (full text, mbox, link).
Added indication that bug 1029742 blocks 1029732
Request was from Daniel Kahn Gillmor <dkg@fifthhorseman.net>
to submit@bugs.debian.org.
(Thu, 26 Jan 2023 21:42:12 GMT) (full text, mbox, link).
Reply sent
to Chris Lamb <lamby@debian.org>:
You have taken responsibility.
(Fri, 10 Feb 2023 19:24:05 GMT) (full text, mbox, link).
Notification sent
to Daniel Kahn Gillmor <dkg@fifthhorseman.net>:
Bug acknowledged by developer.
(Fri, 10 Feb 2023 19:24:05 GMT) (full text, mbox, link).
Message #18 received at 1029742-close@bugs.debian.org (full text, mbox, reply):
Source: diffoscope
Source-Version: 235
Done: Chris Lamb <lamby@debian.org>
We believe that the bug you reported is fixed in the latest version of
diffoscope, 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 1029742@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Chris Lamb <lamby@debian.org> (supplier of updated diffoscope 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)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Fri, 10 Feb 2023 10:31:52 -0800
Source: diffoscope
Architecture: source
Version: 235
Distribution: unstable
Urgency: medium
Maintainer: Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>
Changed-By: Chris Lamb <lamby@debian.org>
Closes: 1029741 1029742
Changes:
diffoscope (235) unstable; urgency=medium
.
[ Akihiro Suda ]
* Update .gitlab-ci.yml to push versioned tags to the container registry.
(Closes: reproducible-builds/diffoscope!119)
.
[ Chris Lamb ]
* Fix compatibility with PyPDF2. (Closes: reproducible-builds/diffoscope#331)
* Fix compatibility with ImageMagick 7.1.
(Closes: reproducible-builds/diffoscope#330)
.
[ Daniel Kahn Gillmor ]
* Update from PyPDF2 to pypdf. (Closes: #1029741, #1029742)
.
[ FC Stegerman ]
* Add support for Android resources.arsc files.
(Closes: reproducible-builds/diffoscope!116)
* Add support for dexdump. (Closes: reproducible-builds/diffoscope#134)
* Improve DexFile's FILE_TYPE_RE and add FILE_TYPE_HEADER_PREFIX, and remove
"Dalvik dex file" from ApkFile's FILE_TYPE_RE as well.
.
[ Efraim Flashner ]
* Update external tool for isoinfo on guix.
(Closes: reproducible-builds/diffoscope!124)
Checksums-Sha1:
20a1da20a1e411d4ef5b1e09624748a421b115a7 5151 diffoscope_235.dsc
696b85dffb49582c74ff5d982e892608ab00103c 2460860 diffoscope_235.tar.xz
deb68fd70f395597645799b32b89d86da78e508b 31368 diffoscope_235_amd64.buildinfo
Checksums-Sha256:
e70659af88ee21ff773176ee69154ea5df57b19b2696b34bb950b82a04c1ea12 5151 diffoscope_235.dsc
6047b06d3b3c53f1470eb5a82a0be6d72490b720ba101eac827f7594af4642b0 2460860 diffoscope_235.tar.xz
8c44c4fa7a65270ec8b120e3eaf42f3c699c58f1a6eaa79b4fa603629d658627 31368 diffoscope_235_amd64.buildinfo
Files:
23ee30ac7338db292f68df5efe48e427 5151 devel optional diffoscope_235.dsc
2b78c2a40220505b964fbbaf0d2953e6 2460860 devel optional diffoscope_235.tar.xz
3379560370a12bbbcab7393da79431c9 31368 devel optional diffoscope_235_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAmPmkrcACgkQHpU+J9Qx
HlhgBA//XoWWrp+kvpxBX6/kb+hOx46LLglK4WpoTPR+CcYMdRlsRia74DRkhgdH
hlpDmrEiKiU21OSWxSNbO9P48Ih2yp7W0QtDDDICdrkjzCL3Jbwiat9rr0GR4U5i
g8Xoqib8hbLyR86HXyJMx0NixICs8FMggStLDLLBCG3ZDFaOIcmAP+4NBJXG3vi0
PI2lDie0tkvdZOkI5+W3HrAX4qn2kNY+Zc1nNfDKzaIkoK/ugNSvAdCnSZiZBlZn
TNWlhHUCcmSEROO6Ir4qialbmFJAee+vatyKEdpuGtWmvREStLgk3HCK2GuXJIF2
iOYdnafqPOGioQ5IwKpDt2gGO+x6DdHpZ+0DW0bNhaMERFseBFMKCzWHu+NS/vSs
DaDstOmeHLr+qjXJOqRESmkcw9OZs+Y647BNJKAvwQ3RpkpzZXEdIvvNSMC7ON01
Qc1V0KWUQkEfHipBWpvMU4nvkNm5FQ0xlVdwbg+bQnTNiNqheK/ex4PgZ2dWRzDr
83VTu0uaqqssH0dxI8cnzyjO8feCSkA3g2QFycBb2PxgnCKr+zM5/e8HZ9eMOXgq
7yRA0t0J9X6E+EjEUOFLH0f3pseiFAdAsa5lO6O3NXEVecANM7nTnmB+edrse2Pw
c2BFZ97iW8L93QV8/EyRsLkmuqXpKR/3YNR07bxrlGlrwf6byVE=
=NAxC
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sun, 12 Mar 2023 07:27:57 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed May 17 12:33:35 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.