Bug 1324226 - python-cliff should Obsoletes: python-cliff-tablib
Summary: python-cliff should Obsoletes: python-cliff-tablib
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-cliff
Version: 27
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Alan Pevec (Fedora)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1322992
Blocks: 1323001
TreeView+ depends on / blocked
 
Reported: 2016-04-05 21:18 UTC by Alan Pevec
Modified: 2018-07-22 21:17 UTC (History)
5 users (show)

Fixed In Version:
Clone Of: 1322992
Environment:
Last Closed: 2018-07-22 21:17:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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