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 bugzilla.redhat.com.
Bug 1322491
Summary: | pycolumnize: Provide a Python 3 subpackage | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Tomas Orsava <torsava> | ||||||
Component: | pycolumnize | Assignee: | kushaldas@gmail.com <mail> | ||||||
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 25 | CC: | dkrejci, lbalhar, mail, mail, mhroncok, pviktori | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | pycolumnize-0.3.9-1.fc25 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2016-08-02 09:07:38 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Bug Depends On: | 1348997 | ||||||||
Bug Blocks: | 1285816, 1333770 | ||||||||
Attachments: |
|
Description
Tomas Orsava
2016-03-30 14:54:07 UTC
Hello, 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. [guide] http://python-rpm-porting.readthedocs.org/en/latest/index.html 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. https://admin.fedoraproject.org/pkgdb/package/rpms/python-backports-shutil_get_terminal_size/ Created attachment 1174568 [details]
New patch version
Hello.
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'. |