Your message dated Mon, 25 Jun 2018 19:30:51 -0400 with message-id <cab4xwxzjpa4necwpo5nwvy5mx95p_uajyky-tsw7mjahqzm...@mail.gmail.com> and subject line Re: Bug#902366: missing pydot dependency ( there is only in recommends ) has caused the Debian Bug report #902366, regarding missing pydot dependency ( there is only in recommends ) to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 902366: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=902366 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---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
--- End Message ---
--- Begin Message ---> In networkx python packages is missing dependency for install python-pydot ( > python3-pydot for python3 package version ) it is not... > Pydot is included only in recommends... ...as you mention here, it's available in recommends. now, the difference is (taken from the Debian Policy) * The Depends field should be used if the depended-on package is required for the depending package to provide a significant amount of functionality. * The Recommends field should list packages that would be found together with this one in all but unusual installations. all of the required modules for the drawing/graphing functionalities of networkx are in recommends, as they tend to be large modules (with more and more dependencies) which you may not need in all the installations of networkx. these days (at at least on end users machines) Recommends are installed automatically, so if you disable this feature, you should know that you'd have to look for the Recommends field for additional packages to install by hand. These dependencies are working as intended, so i dont think there's anything to fix -> closing this report -- Sandro "morph" Tosi My website: http://sandrotosi.me/ Me at Debian: http://wiki.debian.org/SandroTosi G+: https://plus.google.com/u/0/+SandroTosi
--- End Message ---

