[Bug 1815126] Re: [SRU] Bionic missing dependency for pydotplus
Corey Bryant
corey.bryant at canonical.com
Tue Mar 19 12:32:21 UTC 2019
Verified successfully:
root at b1:~# sudo apt install --install-suggests python-networkx
...
root at b1:~# apt policy python-networkx
python-networkx:
Installed: 1.11-1ubuntu3
Candidate: 1.11-1ubuntu3
Version table:
*** 1.11-1ubuntu3 500
500 http://archive.ubuntu.com/ubuntu bionic-proposed/main amd64 Packages
100 /var/lib/dpkg/status
1.11-1ubuntu2 500
500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
root at b1:~# apt policy python-pydotplus
python-pydotplus:
Installed: 2.0.2-2
Candidate: 2.0.2-2
Version table:
*** 2.0.2-2 500
500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
100 /var/lib/dpkg/status
root at b1:~# sudo apt install --install-suggests python3-networkx
...
root at b1:~# apt policy python3-networkx python3-pydotplus
python3-networkx:
Installed: 1.11-1ubuntu3
Candidate: 1.11-1ubuntu3
Version table:
*** 1.11-1ubuntu3 500
500 http://archive.ubuntu.com/ubuntu bionic-proposed/universe amd64 Packages
100 /var/lib/dpkg/status
1.11-1ubuntu2 500
500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
python3-pydotplus:
Installed: 2.0.2-2
Candidate: 2.0.2-2
Version table:
*** 2.0.2-2 500
500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
100 /var/lib/dpkg/status
** Tags removed: verification-needed verification-needed-bionic
** Tags added: verification-done verification-done-bionic
--
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:
Fix Committed
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