Community Packages

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!
Tasklist

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
Task Type Bug Report
Category
Status Closed
Assigned To Douglas Soares de Andrade (dsa)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
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

Closed by  Dan Griffiths (Ghost1227)
Thursday, 13 August 2009, 21:34 GMT
Reason for closing:  Fixed
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.

Loading...