Bug 991102
Summary: | pyPDF is not maintained anymore, replaced by pyPDF2 | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Maël Lavault <mael.lavault> | ||||||||||
Component: | pyPdf | Assignee: | Felix Schwarz <fschwarz> | ||||||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||
Severity: | unspecified | Docs Contact: | |||||||||||
Priority: | unspecified | ||||||||||||
Version: | 23 | CC: | fschwarz, hgkamath, itsme_410, kylev, mark, mattdm | ||||||||||
Target Milestone: | --- | ||||||||||||
Target Release: | --- | ||||||||||||
Hardware: | Unspecified | ||||||||||||
OS: | Unspecified | ||||||||||||
Whiteboard: | |||||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||||
Doc Text: | Story Points: | --- | |||||||||||
Clone Of: | Environment: | ||||||||||||
Last Closed: | 2016-04-01 08:24:08 UTC | Type: | Bug | ||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||
Documentation: | --- | CRM: | |||||||||||
Verified Versions: | Category: | --- | |||||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||
Embargoed: | |||||||||||||
Attachments: |
|
Description
Maël Lavault
2013-08-01 15:53:08 UTC
any idea how pypdf2 behaves in terms of API compatibility? Would you mind checking Fedora's pypdf consumers for compatibility? I asked pyPDF2 maintainer, it should not be a problem : https://github.com/mstamy2/PyPDF2/issues/18#issuecomment-22136012 And I run some commands and didn't found any package which depend on pyPdf (but I'm not a yum expert :p) Actually there are four dependent packages ("repoquery --whatrequires pyPdf"). Also the github reply matches my observation and it means that we can't "just" upgrade. I guess the best solution is to create a new package, file bugs against all dependent packages and then obsolete the "pyPdf" package in F20/F21. I'll try to come up with a new package but feel free to help out. This bug appears to have been reported against 'rawhide' during the Fedora 20 development cycle. Changing version to '20'. More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora20 Created attachment 972885 [details]
python3-PyPDF2-1.22-1.fc21.src.rpm
attaching an SRPM
Created attachment 972886 [details]
python-pyPDF2 spec file
attaching a SPEC file
I have successfully created PyPDF2. I am including the spec file and the src.rpm. It works on both F21 and F22 test. Since pyPdf is no longer supported, it is perhaps best obsoleted and replaced with PyPDF2. Created attachment 1028975 [details]
source rpm for PyPDF2
Created attachment 1028977 [details]
spec file for PyPDF2
(In reply to Globe Trotter from comment #7) > I have successfully created PyPDF2. I am including the spec file and the > src.rpm. It works on both F21 and F22 test. Since pyPdf is no longer > supported, it is perhaps best obsoleted and replaced with PyPDF2. That sounds reasonable but maybe you can file a review request for a new python-PyPDF2 package? Because PyPDF2 breaks old applications and I'd like to offer pypdf (even unmaintained) for at least one version of Fedora. Please cc me on the review request. Thank you very much for your initiative. (In reply to Felix Schwarz from comment #10) > That sounds reasonable but maybe you can file a review request for a new > python-PyPDF2 package? Because PyPDF2 breaks old applications and I'd like > to offer pypdf (even unmaintained) for at least one version of Fedora. Upstream FAQ says that it should be a drop-in replacement and should _not_ break old applications. Do we have known cases where that's not true? (see http://mstamy2.github.io/PyPDF2/FAQ.html#migration-from-pyPdf) I was concerned that PyPDF2 actually was calling itself "pypdf" internally but I see that that's not the case on closer examination, so there won't be a conflict. And users will have to make a change to their code to use the new library. That's not bad; it allows an intentional migration path. Globe Trotter will also need a packaging group sponsor.... I apologize but what should I be doing next? I am very new to this packaging area. Also, I wanted to clarify that I have tried it out for both F21 and F22. Both work so I would like to release against F22 at the least. I submitted a review request for PyPDF2 some time ago, but since no one has looked at it, I thought I would post it here. https://bugzilla.redhat.com/show_bug.cgi?id=1234208 Perhaps some of you could review it. Many thanks! close this bug in favor of Bug 1234208 This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle. Changing version to '23'. (As we did not run this process for some time, it could affect also pre-Fedora 23 development cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.) More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23 pypdf2 is now in Fedora. I'll check in the F25 development timeframe which packages still depend on the legacy pypdf so we might be able to retire the package. |