Comment 0 for bug 1815126

Revision history for this message
Corey Bryant (corey.bryant) wrote :

python-networkx in bionic is missing a dependency on python(3)-pydotplus. The versions in cosmic and disco no longer use pydotplus.

This was exposed when backporting python-vitrageclient from disco to the bionic-stein cloud archive:

======================================================================
FAIL: vitrageclient.tests.cli.test_topology_show.TopologyShowTest.test_dot_emitter
vitrageclient.tests.cli.test_topology_show.TopologyShowTest.test_dot_emitter
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "vitrageclient/tests/cli/test_topology_show.py", line 345, in test_dot_emitter
    formatter.emit_one(columns, topology, out)
  File "vitrageclient/common/formatters.py", line 46, in emit_one
    self._write_format(graph, stdout)
  File "vitrageclient/common/formatters.py", line 86, in _write_format
    write_dot(graph, stdout)
  File "<decorator-gen-232>", line 2, in write_dot
  File "/usr/lib/python2.7/dist-packages/networkx/utils/decorators.py", line 220, in _open_file
    result = func(*new_args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/networkx/drawing/nx_pydot.py", line 43, in write_dot
    P=to_pydot(G)
  File "/usr/lib/python2.7/dist-packages/networkx/drawing/nx_pydot.py", line 175, in to_pydot
    import pydotplus
ImportError: No module named pydotplus

----------------------------------------------------------------------
Ran 14 tests in 1.863s

FAILED (failures=1)