Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at
Bug 1346380 - RFE Port krop to python3
Summary: RFE Port krop to python3
Status: CLOSED DUPLICATE of bug 1370721
Alias: None
Product: Fedora
Classification: Fedora
Component: krop
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Raphael Groner
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2016-06-14 16:17 UTC by Raphael Groner
Modified: 2016-08-28 19:37 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2016-08-28 19:37:55 UTC
Type: Bug

Attachments (Terms of Use)

Description Raphael Groner 2016-06-14 16:17:21 UTC
Description of problem:
According to the Python packaging guidelines [0], software must be
packaged for Python 3 if upstream supports it.
The guidelines give detailed information on how to do this, and even
provide an example spec file [1].

The current best practice is to provide subpackages for the two Python
versions (called "Common SRPM" in the guidelines). Alternatively, if
nothing depends on your Python2 package, you can just switch to Python 3

It's OK to do this in Rawhide only, however, it would be greatly
appreciated if you could push it to Fedora 24 as well.

If you need more instructions, a guide for porting Python-based RPMs is
available at [2].
If anything is unclear, or if you need any kind of assistance with the
porting, you can ask on IRC (#fedora-python on Freenode), or reply here.
We'll be happy to help!


Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. dnf install krop

Actual results:
python2 is needed as runtime dependency.

Expected results:
No dependency to python2 packages, instead python3 is used for execution without any syntax errors while runtime.

Additional info:
See the thread ¹ about krop and python3 on the python mailing list. We reverted to python2 cause upstream sources are not compatible (yet) with python3 and a simple run of modernize (or 2to3 tool) only is not sufficient to make the code work in production.

Comment 1 Raphael Groner 2016-08-28 19:37:55 UTC

*** This bug has been marked as a duplicate of bug 1370721 ***

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