Bug 1738935 - pdfshuffler depends on Python 2
Summary: pdfshuffler depends on Python 2
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: pdfshuffler
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Fabian Affolter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F31_PY2REMOVAL
TreeView+ depends on / blocked
 
Reported: 2019-08-08 11:59 UTC by Lumír Balhar
Modified: 2019-09-26 21:37 UTC (History)
4 users (show)

Fixed In Version: pdfarranger-1.3.1-2.fc32
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-09-26 21:37:48 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Lumír Balhar 2019-08-08 11:59:04 UTC
Python 2.7 will reach end-of-life in January 2020, over 9 years after it was released. This falls within the Fedora 31 lifetime.
Packages that depend on Python 2 are being switched to Python 3 or removed from Fedora: https://fedoraproject.org/wiki/Changes/F31_Mass_Python_2_Package_Removal#Information_on_Remaining_Packages
Python 2 will be retired in Fedora 32: https://fedoraproject.org/wiki/Changes/RetirePython2

To help planning, we'd like to know the plans for pdfshuffler's future. Specifically:


- What is the reason for the Python2 dependency? (Is it software written in Python, or does it just provide Python bindings, or use Python in the build system or test runner?) 

- What are the upstream/community plans/timelines regarding Python 3?

- What is the guidance for porting to Python 3? (Assuming that there is someone who generally knows how to port to Python 3, but doesn't know anything about the particular package, what are the next steps to take?)


This bug is filed semi-automatically, and might not have all the context specific to pdfshuffler.
If you need anything from us, or something is unclear, please mention it here.

Thank you.

Comment 1 Ben Cotton 2019-08-13 16:59:14 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to '31'.

Comment 2 Ben Cotton 2019-08-13 17:29:38 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to 31.

Comment 3 Lumír Balhar 2019-08-16 08:51:22 UTC
Please answer the above questions. If you don't, the package can be orphaned: https://fedoraproject.org/wiki/Changes/F31_Mass_Python_2_Package_Removal#Information_on_Remaining_Packages

If you need any information or help, or if you need some more time, please let us know.

Comment 4 Lumír Balhar 2019-08-23 15:22:03 UTC
Please answer the above questions. If you don't, the package can be orphaned: https://fedoraproject.org/wiki/Changes/F31_Mass_Python_2_Package_Removal#Information_on_Remaining_Packages

If you need any information or help, or if you need some more time, please let us know.

Comment 5 Lumír Balhar 2019-09-02 05:27:09 UTC
Please answer the above questions. If you don't, the package can be orphaned: https://fedoraproject.org/wiki/Changes/F31_Mass_Python_2_Package_Removal#Information_on_Remaining_Packages

If you need any information or help, or if you need some more time, please let us know.

Comment 6 Fabian Affolter 2019-09-06 12:31:56 UTC
> - What is the reason for the Python2 dependency? (Is it software written in Python, or does it just provide Python bindings, or use Python in the build system or test runner?) 

Written in Python 2 and not ported (yet).

pdfarranger is a replacement (-> https://bugzilla.redhat.com/show_bug.cgi?id=1711611)

Comment 7 Miro Hrončok 2019-09-08 18:49:49 UTC
Is the plan to package pdfarranger and retire pdfshuffler?

Comment 8 David Auer 2019-09-13 23:04:14 UTC
It wasn't my plan when packaging pdfarranger but in my opinion it's the right thing to do now. From email exchange with the pdfshuffler developer I would not expect any more updates, let alone python3 support.
I don't know of any breaking changes in pdfarranger so it would be an ideal replacement. (The package is currently in updates-testing.)

If you want to retire pdfshuffler I can do any of the following tasks:

1) Add provides + obsoletes for pdfshuffler to pdfarranger
2) Add a symlink for the pdfshuffler executable to pdfarranger
3) Replace pdfshuffler by pdfarranger in the comps [1]
4) Replace pdfshuffler by pdfarranger in the upstream monitoring [2]

pdfarranger is my first packet so I'm happy about any input about what I should / shouldn't do.



[1] https://pagure.io/fedora-comps/blob/master/f/comps-f32.xml.in#_941
[2] https://release-monitoring.org/project/6488/

Comment 9 Miro Hrončok 2019-09-14 07:36:51 UTC
Yes, please do, but for Fedora 32 only! I'd happily review a pull request for 1) 2)

Comment 10 Lumír Balhar 2019-09-23 05:38:32 UTC
Any news or plan here?

Comment 11 David Auer 2019-09-25 20:25:34 UTC
Pull request is ready for review: https://src.fedoraproject.org/rpms/pdfarranger/pull-request/1


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