Bug 1322992 - python-cliff should Obsoletes: python-cliff-tablib
Summary: python-cliff should Obsoletes: python-cliff-tablib
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-cliff
Version: 8.0 (Liberty)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 11.0 (Ocata)
Assignee: RHOS Maint
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1323001 1324226
TreeView+ depends on / blocked
 
Reported: 2016-03-31 21:21 UTC by Steve Baker
Modified: 2017-01-17 12:25 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1323001 1324226 (view as bug list)
Environment:
Last Closed: 2017-01-17 12:25:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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)


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