Bug 1307167

Summary: gerrymander should require: python-prettytable
Product: [Fedora] Fedora Reporter: Lars Kellogg-Stedman <lars>
Component: gerrymanderAssignee: Kashyap Chamarthy <kchamart>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: berrange, kchamart
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gerrymander-1.5-2.fc23 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-09 15:52:09 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:

Description Lars Kellogg-Stedman 2016-02-12 21:48:28 UTC
Description of problem:

The "gerrymander" tool requires the Python "prettytables" module, but this isn't reflected in the package dependencies.  Attempting to run "gerrymander" will result in:

Traceback (most recent call last):
  File "/usr/bin/gerrymander", line 18, in <module>
    from gerrymander.commands import CommandTool
  File "/usr/lib/python3.4/site-packages/gerrymander/commands.py", line 20, in <module>
    from gerrymander.reports import ReportOutput
  File "/usr/lib/python3.4/site-packages/gerrymander/reports.py", line 18, in <module>
    import prettytable
ImportError: No module named 'prettytable'


Version-Release number of selected component (if applicable):

gerrymander-1.4-2.fc23.noarch

Comment 1 Kashyap Chamarthy 2016-02-16 12:11:26 UTC
Thanks for the bug report, Lars!

Just for completeness' sake, full reproducer:
----------------------------------------------------------
$ gerrymander changes -p openstack/nova --branch master
Traceback (most recent call last):
  File "/usr/bin/gerrymander", line 18, in <module>
    from gerrymander.commands import CommandTool
  File "/usr/lib/python3.4/site-packages/gerrymander/commands.py", line 20, in <module>
    from gerrymander.reports import ReportOutput
  File "/usr/lib/python3.4/site-packages/gerrymander/reports.py", line 18, in <module>
    import prettytable
ImportError: No module named 'prettytable'
----------------------------------------------------------

Comment 2 Fedora Update System 2016-02-16 13:21:52 UTC
gerrymander-1.4-5.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-95bb0f37d4

Comment 3 Fedora Update System 2016-02-17 06:27:36 UTC
gerrymander-1.4-5.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-95bb0f37d4

Comment 4 Fedora Update System 2016-02-22 17:23:50 UTC
gerrymander-1.5-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-9bdfef6c5b

Comment 5 Kashyap Chamarthy 2016-02-22 17:39:42 UTC
NB: There's a newer package (new upstream release with bug fixes): 

    gerrymander-1.5-1.fc23

https://bodhi.fedoraproject.org/updates/FEDORA-2016-9bdfef6c5b

Comment 6 Fedora Update System 2016-02-24 21:52:34 UTC
gerrymander-1.5-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-9bdfef6c5b

Comment 7 Fedora Update System 2016-02-29 17:35:05 UTC
gerrymander-1.5-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-48a5138e81

Comment 8 Fedora Update System 2016-02-29 23:51:57 UTC
gerrymander-1.5-2.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-48a5138e81

Comment 9 Fedora Update System 2016-03-09 15:52:06 UTC
gerrymander-1.5-2.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2016-03-09 20:12:30 UTC
gerrymander-1.5-2.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.