Bug 2279080 - Review Request: python-pypdf - Pure-Python PDF library
Summary: Review Request: python-pypdf - Pure-Python PDF library
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nobody's working on this, feel free to take it
QA Contact: Fedora Extras Quality Assurance
URL: https://pypdf.readthedocs.io
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-05-04 17:35 UTC by Davide Cavalca
Modified: 2024-05-21 22:34 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Davide Cavalca 2024-05-04 17:35:12 UTC
Spec URL: https://dcavalca.fedorapeople.org/review/python-pypdf/python-pypdf.spec
SRPM URL: https://dcavalca.fedorapeople.org/review/python-pypdf/python-pypdf-4.2.0-1.fc41.src.rpm

Description:
pypdf is a free and open-source pure-python PDF library capable of splitting,
merging, cropping, and transforming the pages of PDF files. It can also add
custom data, viewing options, and passwords to PDF files. pypdf can retrieve
text and metadata from PDFs as well.

Fedora Account System Username: dcavalca

Comment 1 Davide Cavalca 2024-05-04 17:35:14 UTC
This package built on koji:  https://koji.fedoraproject.org/koji/taskinfo?taskID=117247728

Comment 2 Fedora Review Service 2024-05-04 17:41:56 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/7409010
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2279080-python-pypdf/fedora-rawhide-x86_64/07409010-python-pypdf/fedora-review/review.txt

Please take a look if any issues were found.


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 3 Parag AN(पराग) 2024-05-14 12:44:54 UTC
Is not this already packaged as https://src.fedoraproject.org/rpms/python-PyPDF2/blob/rawhide/f/python-PyPDF2.spec ?

Comment 4 Davide Cavalca 2024-05-14 15:05:38 UTC
They're both maintained by the same upstream but they're different projects: pypdf is the successor to PyPDF2 (which is deprecated).

Comment 5 Felix Schwarz 2024-05-21 07:12:08 UTC
Hi Davide,

thank you for taking care of pypdf. It is high time to update the package (pypdf2 in Fedora is still at version 1.26).

Did you contact the current maintainer of python-PyPDF2 (aarem) for coordination? IMHO it would be good to deprecate python-PyPDF2 for rawhide once your package goes in. Can both packages be installed at the same time?

I can try to review this in the coming days, feel free to ping me if this falls through the cracks.

Comment 6 Davide Cavalca 2024-05-21 22:34:14 UTC
> Did you contact the current maintainer of python-PyPDF2 (aarem) for coordination?

I did not but would be more than happy to collaborate, adding them in CC here now.

> IMHO it would be good to deprecate python-PyPDF2 for rawhide once your package goes in. Can both packages be installed at the same time?

pypdf is not a drop-in replacement for PyPDF2 (the API is somewhat different in places) and the packages have different names, so they should be coinstallable with no trouble. Replacing PyPDF2 with pypdf would involve updating all the projects depending on it to use pypdf, which could be a significant effort.


Note You need to log in before you can comment on or make changes to this bug.