Upstream, this software supports Python 3. Please provide a Python 3
package for Fedora.
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 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!
Do you need any help adding Python 3 support to the RPM?
If you need more instructions, a [guide] for porting Python-based RPMs is available.
Created attachment 1170289 [details]
update to 0.3.9
Hi, there is a patch with the version update. Python3 seems to work fine, but Python2 is not working. I am getting this error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/columnize.py", line 11, in <module>
from backports.shutil_get_terminal_size import get_terminal_size
ImportError: No module named shutil_get_terminal_size
Has someone an idea how to solve it?
Looks like you need to package this for Python 2: https://pypi.python.org/pypi/backports.shutil_get_terminal_size/1.0.0
The backports.shutil_get_terminal_size package is now in Fedora.
Created attachment 1174568 [details]
New patch version
I've just added one require for Python2 subpackage and now it seems working. I tested both subpackages in mock.
I think that this patch could be pushed.
If maintainer has nothing against, we can push this patch in a week.
Have anyone talked to Fabian, who is de facto maintaining this?
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle.
Changing version to '25'.