Bug 1322992

Summary: python-cliff should Obsoletes: python-cliff-tablib
Product: Red Hat OpenStack Reporter: Steve Baker <sbaker>
Component: python-cliffAssignee: RHOS Maint <rhos-maint>
Status: CLOSED WONTFIX QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.0 (Liberty)CC: apevec, mburns, srevivo
Target Milestone: ---Keywords: ZStream
Target Release: 11.0 (Ocata)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1323001 1324226 (view as bug list) Environment:
Last Closed: 2017-01-17 12:25:45 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:    
Bug Blocks: 1323001, 1324226    

Description Steve Baker 2016-03-31 21:21:33 UTC
Since 1.15.0 cliff contributes its own yaml and json formatters so cliff-tablib is now considered deprecated upstream.

But because the python-cliff package depends on python-cliff-tablib, there are now 2 json and 2 yaml formatters registered for the openstack command:

  openstack help server list
  ...
   output formatters:
     output formatter options

     -f {csv,html,json,json,table,value,yaml,yaml}, --format {csv,html,json,json,table,value,yaml,yaml}

python-cliff rpm needs to not depend on python-cliff-tablib, and should even Obsoletes: python-cliff-tablib

Comment 2 Steve Baker 2016-03-31 23:01:46 UTC
Actually its only python-openstackclient which explicitly depends on python-cliff-tablib. I've raised #1323001 but will leave this bug here to track Obsoletes: python-cliff-tablib.

Otherwise environments which are upgraded will still have old copies of python-cliff-tablib installed which will continue to contribute their unwanted formatters.

Comment 3 Alan Pevec 2016-04-05 21:17:21 UTC
Let's fix that in Fedora first.

Comment 4 Mike Burns 2017-01-17 12:25:45 UTC
Comment 1 from bug 1324226 by Alan Pevec

Actually, Obsoletes: python-cliff-tablib in python-cliff is not quite right, if there were any other packages using clifftablib TBD

Comment 2 from bug 1324226 by Steve Baker

Hmm, maybe it would be more appropriate for installer tooling like puppet modules to uninstall python-cliff-tablib when nothing depends on it

----

Based on that and the fact that the requirement is only on python-openstackclient and that is captured in bug 1323001, closing this.  Any packaging change in Fedora will flow into OSP automatically (through RDO)