Description of problem:
According to the Python packaging guidelines , 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 .
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 .
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):
Steps to Reproduce:
1. dnf install krop
python2 is needed as runtime dependency.
No dependency to python2 packages, instead python3 is used for execution without any syntax errors while runtime.
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.
*** This bug has been marked as a duplicate of bug 1370721 ***