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 1322491 - pycolumnize: Provide a Python 3 subpackage
Summary: pycolumnize: Provide a Python 3 subpackage
Alias: None
Product: Fedora
Classification: Fedora
Component: pycolumnize
Version: 25
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
QA Contact: Fedora Extras Quality Assurance
Depends On: 1348997
TreeView+ depends on / blocked
Reported: 2016-03-30 14:54 UTC by Tomas Orsava
Modified: 2020-05-18 06:52 UTC (History)
6 users (show)

Fixed In Version: pycolumnize-0.3.9-1.fc25
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2016-08-02 09:07:38 UTC
Type: Bug

Attachments (Terms of Use)
update to 0.3.9 (deleted)
2016-06-21 13:38 UTC, Dominika Krejčí
no flags Details | Diff
New patch version (deleted)
2016-06-30 12:34 UTC, Lumír Balhar
no flags Details | Diff

Description Tomas Orsava 2016-03-30 14:54:07 UTC
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].

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!


Comment 1 Dominika Krejčí 2016-04-22 11:51:34 UTC

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.


Comment 2 Dominika Krejčí 2016-06-21 13:38:05 UTC
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/", 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?

Comment 3 Petr Viktorin (pviktori) 2016-06-21 13:51:25 UTC
Looks like you need to package this for Python 2:

Comment 4 Petr Viktorin (pviktori) 2016-06-29 15:00:02 UTC
The backports.shutil_get_terminal_size package is now in Fedora.

Comment 5 Lumír Balhar 2016-06-30 12:34:02 UTC
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.

Comment 6 Lumír Balhar 2016-06-30 12:36:50 UTC
If maintainer has nothing against, we can push this patch in a week.

Comment 7 Miro Hrončok 2016-07-07 22:20:46 UTC
Have anyone talked to Fabian, who is de facto maintaining this?

Comment 9 Jan Kurik 2016-07-26 04:39:03 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle.
Changing version to '25'.

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