Bug 1324226

Summary: python-cliff should Obsoletes: python-cliff-tablib
Product: [Fedora] Fedora Reporter: Alan Pevec <apevec>
Component: python-cliffAssignee: Alan Pevec (Fedora) <apevec>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 27CC: apevec, hguemar, infra-sig, kevin, sbaker
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1322992 Environment:
Last Closed: 2018-07-22 21:17: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:
Bug Depends On: 1322992    
Bug Blocks: 1323001    

Description Alan Pevec 2016-04-05 21:18:54 UTC
+++ This bug was initially created as a clone of Bug #1322992 +++

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

--- Additional comment from Steve Baker on 2016-03-31 19:01:46 EDT ---

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.

--- Additional comment from Alan Pevec on 2016-04-05 17:17:21 EDT ---

Let's fix that in Fedora first.

Comment 1 Alan Pevec 2016-04-05 21:32:28 UTC
Actually, Obsoletes: python-cliff-tablib in python-cliff is not quite right, if there were any other packages using clifftablib TBD

Comment 2 Steve Baker 2016-04-05 21:48:06 UTC
Hmm, maybe it would be more appropriate for installer tooling like puppet modules to uninstall python-cliff-tablib when nothing depends on it

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

Comment 4 Jan Kurik 2017-08-15 08:25:45 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 27 development cycle.
Changing version to '27'.

Comment 5 Kevin Fenzi 2018-07-22 21:17:09 UTC
This was fixed it seems in: 

-* Tue Jan 22 2013 Ralph Bean <rbean> - 1.3-1
- Latest upstream.
- Enabled python3 subpackage.
- Remove requirement on python-tablib

Please reopen if there's still anything here that needs doing.