Upstream, this software supports Python 3. Please provide a Python 3 package for Fedora. 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]. Since users aren't expected to import this tool from Python code, you can just switch to /usr/bin/python3. Alternatively, if you want or need to keep a Python 2 version, the current best practice is to provide subpackages -- this is called "Common SRPM" in the guidelines. It's OK to do this in Rawhide only, however, it would be greatly appreciated if you could push it to Fedora 25 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! [0] https://fedoraproject.org/wiki/Packaging:Python [1] https://fedoraproject.org/wiki/Packaging:Python#Example_common_spec_file [2] http://python-rpm-porting.readthedocs.io/
Created attachment 1219850 [details] Spec file with a Python 3 subpackage Hi Matthias, please could you review the patch?
Thanks for the patch, merged and rebuilt.
Hello Matthias, please note that python3- subpackage has a dependency on `python2-colorama` introducing dependency on both Python 3 and Python 2. I would ask you to make a small change and make it `python3-colorama`.
Created attachment 1220351 [details] Fixed spec file with a Python 3 subpackage Hi Iryna and Matthias, it was my mistake (python2-colorama in python3 subpackages), I have fixed the typo in the attached patch. Iryna, thank you!
thanks for the heads-up, pushed and issued a build