** Description changed:

- python-networkx in bionic is missing a dependency on
- python(3)-pydotplus. The versions in cosmic and disco no longer use
- pydotplus.
+ [Impact]
+ python-networkx in bionic is missing a dependency on python(3)-pydotplus. The 
versions in cosmic and disco no longer use pydotplus. The fix would be to add 
python(3)-pydotplus to Suggests in bionic since it is not in main.
  
- 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)
+ [TestCase]
+ root@b1:~# python
+ Python 2.7.15rc1 (default, Nov 12 2018, 14:31:15) 
+ [GCC 7.3.0] on linux2
+ Type "help", "copyright", "credits" or "license" for more information.
+ >>> import networkx
+ >>> from networkx.drawing.nx_pydot import write_dot
+ >>> write_dot(networkx.Graph(), "/tmp/null")
+ Traceback (most recent call last):
+   File "<stdin>", line 1, in <module>
    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
+ >>> quit()
+ root@b1:~# python3
+ Python 3.6.7 (default, Oct 22 2018, 11:32:17) 
+ [GCC 8.2.0] on linux
+ Type "help", "copyright", "credits" or "license" for more information.
+ >>> import networkx
+ >>> from networkx.drawing.nx_pydot import write_dot
+ >>> write_dot(networkx.Graph(), "/tmp/null")
+ Traceback (most recent call last):
+   File "<stdin>", line 1, in <module>
+   File "<decorator-gen-232>", line 2, in write_dot
+   File "/usr/lib/python3/dist-packages/networkx/utils/decorators.py", line 
220, in _open_file
+     result = func(*new_args, **kwargs)
+   File "/usr/lib/python3/dist-packages/networkx/drawing/nx_pydot.py", line 
43, in write_dot
+     P=to_pydot(G)
+   File "/usr/lib/python3/dist-packages/networkx/drawing/nx_pydot.py", line 
175, in to_pydot
+     import pydotplus
+ ModuleNotFoundError: No module named 'pydotplus'
+ >>> quit()
+ root@b1:~# lsb_release -a
+ No LSB modules are available.
+ Distributor ID: Ubuntu
+ Description:    Ubuntu 18.04.1 LTS
+ Release:        18.04
+ Codename:       bionic
  
- 
- ----------------------------------------------------------------------
- Ran 14 tests in 1.863s
- 
- FAILED (failures=1)
+ [Regression Potential]
+ Basically none as this will just be adding pydotplus to Suggested 
dependencies.

** Description changed:

  [Impact]
  python-networkx in bionic is missing a dependency on python(3)-pydotplus. The 
versions in cosmic and disco no longer use pydotplus. The fix would be to add 
python(3)-pydotplus to Suggests in bionic since it is not in main.
  
  [TestCase]
  root@b1:~# python
- Python 2.7.15rc1 (default, Nov 12 2018, 14:31:15) 
+ Python 2.7.15rc1 (default, Nov 12 2018, 14:31:15)
  [GCC 7.3.0] on linux2
  Type "help", "copyright", "credits" or "license" for more information.
  >>> import networkx
  >>> from networkx.drawing.nx_pydot import write_dot
  >>> write_dot(networkx.Graph(), "/tmp/null")
  Traceback (most recent call last):
-   File "<stdin>", line 1, in <module>
-   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
+   File "<stdin>", line 1, in <module>
+   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
  >>> quit()
  root@b1:~# python3
- Python 3.6.7 (default, Oct 22 2018, 11:32:17) 
+ Python 3.6.7 (default, Oct 22 2018, 11:32:17)
  [GCC 8.2.0] on linux
  Type "help", "copyright", "credits" or "license" for more information.
  >>> import networkx
  >>> from networkx.drawing.nx_pydot import write_dot
  >>> write_dot(networkx.Graph(), "/tmp/null")
  Traceback (most recent call last):
-   File "<stdin>", line 1, in <module>
-   File "<decorator-gen-232>", line 2, in write_dot
-   File "/usr/lib/python3/dist-packages/networkx/utils/decorators.py", line 
220, in _open_file
-     result = func(*new_args, **kwargs)
-   File "/usr/lib/python3/dist-packages/networkx/drawing/nx_pydot.py", line 
43, in write_dot
-     P=to_pydot(G)
-   File "/usr/lib/python3/dist-packages/networkx/drawing/nx_pydot.py", line 
175, in to_pydot
-     import pydotplus
+   File "<stdin>", line 1, in <module>
+   File "<decorator-gen-232>", line 2, in write_dot
+   File "/usr/lib/python3/dist-packages/networkx/utils/decorators.py", line 
220, in _open_file
+     result = func(*new_args, **kwargs)
+   File "/usr/lib/python3/dist-packages/networkx/drawing/nx_pydot.py", line 
43, in write_dot
+     P=to_pydot(G)
+   File "/usr/lib/python3/dist-packages/networkx/drawing/nx_pydot.py", line 
175, in to_pydot
+     import pydotplus
  ModuleNotFoundError: No module named 'pydotplus'
  >>> quit()
  root@b1:~# lsb_release -a
  No LSB modules are available.
  Distributor ID: Ubuntu
  Description:    Ubuntu 18.04.1 LTS
  Release:        18.04
  Codename:       bionic
  
  [Regression Potential]
- Basically none as this will just be adding pydotplus to Suggested 
dependencies.
+ Very low as this will just be adding pydotplus to Suggested dependencies.

** Changed in: python-networkx (Ubuntu)
       Status: New => Triaged

** Changed in: python-networkx (Ubuntu)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1815126

Title:
  [SRU] Bionic missing dependency for pydotplus

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-networkx/+bug/1815126/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to