control: reassign -1 python3-pygraphviz control: forwarded -1 https://github.com/pygraphviz/pygraphviz/issues/65
On Mon, Aug 3, 2015 at 7:52 AM, Johannes Schauer <jo...@debian.org> wrote: > Package: python3-networkx > Version: 1.9.1-1 > Severity: normal > > Hi, > > python3-networkx is able to use python3-pygraphviz as wells as > python3-pydot for drawing dot graphs. If both are installed, then the > former will be used. > > Unfortunately it seems that python3-pygraphviz is unable to render > graphs with vertex attributes which makes it unfit for drawing all but > the most trivial graphs. so this is a bug in pygraphviz > Since the presence of python3-pygraphviz will make python3-networkx use > it over python3-pydot (which does not suffer from this problem), I > suggest that python3-networkx conflicts with python3-pygraphviz until > the problem is either fixed in networkx or pygraphviz upstream. > > To test the problem yourself, try to do the following with > python3-pygraphviz installed: > > python3 -c 'import networkx as nx; > G=nx.Graph();G.add_node(1,foo="bar");nx.write_dot(G, "out")' > > The command will never terminate. It on the other hand immediately > finishes (as expected) if python3-pygraphviz is not installed but > python3-pydot is. > > This bug is causing problems with my package botch which depends on > python3-networkx for graph drawing. Instead of botch conflicting with > python3-pygraphviz, I'd like to see this conflict in python3-networkx > itself. you might want to read https://www.debian.org/doc/debian-policy/ch-relationships.html#s-conflicts as this is not a case where Conflicts is to be used. Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi