Package: python3-networkx
Version: 2.1-1
Package: python-networkx
Version: 2.1-1
Dear Maintainer,
In networkx python packages is missing dependency for install python-pydot
( python3-pydot for python3 package version )
Here you can see the diff between 1.11 and 2.1 version grepping where is
pydot imported
Instead of pydot was used pydotplus package in previous versions of
networkx .
git diff networkx-1.11rc2 networkx-2.1 | grep pydot | grep import
No longer import nx_agraph and nx_pydot into the top-level namespace.
+>>> from networkx.drawing.nx_pydot import write_dot
+ import pydot
+ from networkx.drawing.nx_pydot import graphviz_layout
- import pydotplus
- from networkx.drawing.nx_pydot import graphviz_layout
- import pydotplus
+ import pydot
from networkx.drawing.nx_pydot import graphviz_layout
- import pydotplus
+ import pydot
from networkx.drawing.nx_pydot import graphviz_layout
+ import pydot
+ from networkx.drawing.nx_pydot import graphviz_layout
- import pydotplus
- from networkx.drawing.nx_pydot import graphviz_layout
- import pydotplus
- from networkx.drawing.nx_pydot import graphviz_layout
- import pydotplus
+ import pydot
from networkx.drawing.nx_pydot import write_dot
- import pydotplus
+ pydot = _import_pydot()
- import pydotplus
+ pydot = _import_pydot()
- import pydotplus
+ pydot = _import_pydot()
+def _import_pydot():
+ If the `pydot` module is either unimportable _or_ importable but of
+ import pydot
- import pydotplus
+ return _import_pydot()
- import pydotplus
Pydot is included only in recommends...
Please, could you fix it ?
Thanks,
Michal Arbet