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
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:
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= tests.cli. test_topology_ show.TopologySh owTest. test_dot_ emitter tests.cli. test_topology_ show.TopologySh owTest. test_dot_ emitter ------- ------- ------- ------- ------- ------- ------- ------- ------- tests/cli/ test_topology_ show.py" , line 345, in test_dot_emitter emit_one( columns, topology, out) common/ formatters. py", line 46, in emit_one _write_ format( graph, stdout) common/ formatters. py", line 86, in _write_format dot(graph, stdout) gen-232> ", line 2, in write_dot python2. 7/dist- packages/ networkx/ utils/decorator s.py", line 220, in _open_file python2. 7/dist- packages/ networkx/ drawing/ nx_pydot. py", line 43, in write_dot python2. 7/dist- packages/ networkx/ drawing/ nx_pydot. py", line 175, in to_pydot
FAIL: vitrageclient.
vitrageclient.
-------
_StringException: Traceback (most recent call last):
File "vitrageclient/
formatter.
File "vitrageclient/
self.
File "vitrageclient/
write_
File "<decorator-
File "/usr/lib/
result = func(*new_args, **kwargs)
File "/usr/lib/
P=to_pydot(G)
File "/usr/lib/
import pydotplus
ImportError: No module named pydotplus
------- ------- ------- ------- ------- ------- ------- ------- ------- -------
Ran 14 tests in 1.863s
FAILED (failures=1)