[Bug 1815126] Re: [SRU] Bionic missing dependency for pydotplus
Brian Murray
brian at ubuntu.com
Tue Mar 19 18:12:42 UTC 2019
The test case has one using a python shell to test the import of
networkx yet the verification comment does not do this. Please verify
the bug following the test case.
** Changed in: python-networkx (Ubuntu Bionic)
Status: Fix Committed => Incomplete
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-networkx in Ubuntu.
https://bugs.launchpad.net/bugs/1815126
Title:
[SRU] Bionic missing dependency for pydotplus
Status in python-networkx package in Ubuntu:
Invalid
Status in python-networkx source package in Bionic:
Incomplete
Status in python-networkx source package in Cosmic:
Invalid
Status in python-networkx source package in Disco:
Invalid
Bug description:
[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 at 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 at 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 at 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]
Very low as this will just be adding pydotplus to Suggested dependencies.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-networkx/+bug/1815126/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list