Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#15877 - [python-pypdf] uses deprecated features in Python
Attached to Project:
Community Packages
Opened by Philip Stark (Heller_Barde) - Monday, 10 August 2009, 01:57 GMT
Last edited by Dan Griffiths (Ghost1227) - Thursday, 13 August 2009, 21:34 GMT
Opened by Philip Stark (Heller_Barde) - Monday, 10 August 2009, 01:57 GMT
Last edited by Dan Griffiths (Ghost1227) - Thursday, 13 August 2009, 21:34 GMT
|
DetailsDescription:
python-pypdf uses ImmutableSet instead of frozenset and the md5 module instead of hashlib.md5. Furthermore there is an instance where int is being subclassed which is also suboptimal, but okay, I guess. Steps to reproduce: install pypdf, use it. (e.g. with my stapler utility which can be found in AUR (stapler-git)) attached is a patch to resolve (hopefully) all the deprecation issues by using the current modules/methods Here you can find a source tarball with the patch and the updated PKGBUILD: http://stuff.codechaos.ch/pkgs/python-pypdf-1.12-2.src.tar.gz |
This task depends upon
Comment by Philip Stark (Heller_Barde) -
Monday, 10 August 2009, 07:23 GMT
Just for the record: I tried pushing the patch upstream, but the email address on the project page is dead (permanent delivery failure) and I have no other way of contacting the author.
pypdf_hashlib_frozenset.patch