Red Hat Bugzilla – Bug 1490919
Consume python-ovsdbapp dependencies from OSP in RHEL 7 RHV 4.2
Last modified: 2018-05-15 14:02:16 EDT
Consume python-ovsdbapp dependencies from OSP in RHEL 7 RHV 4.2: python-extras python-fixtures python-linecache2 python-mimeparse python-netaddr python-pbr python-testtools python-traceback2 python-unittest2
Terry, can we avoid some of these dependencies of ovsdbapp?
(In reply to Dan Kenigsberg from comment #1) > Terry, can we avoid some of these dependencies of ovsdbapp? Not any time particularly soon, anyway. The fixtures library is required for a couple of things in ovsdbapp right now. And even if they are eventually moved to a subpackage (something I wouldn't count on since no one I've talked to liked that solution), they're still going to have to be met. The 'fixtures' library had deceptively few dependencies. testtools is kind of crazy--and looking at the code 99% of the use seems to be just compatibility utils. It might be possible to just re-implement fixture in a lighter manner or even remove the testtools dependency in fixtures. But that's going to take a bit of work.
I've contacted the fixtures developer about the possibility of a testtools-less fixtures. I haven't heard back yet. Most of the uses in the library are things that are already covered by six. It would not be hard to copy the Fixtures class in-tree with very minimal modification to avoid the dependency, though I hate doing that kind of thing. I'll keep you updated on what I hear back.
Is package 'python-pbr' required? because it is not shipped in release: rhvm-4.2.0-0.4.master.el7.noarch
Verified on: RHV 4.2.0-0.4.master.el7 'python2-pbr' is installed. Installing: python-ovsdbapp Installing for dependencies: python-extra python-fixtures python-linecache2 python-mimeparse python-openvswitch python-testtools python-traceback2 python-unittest2 python2-pbr
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:1545