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.

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.

Thanks!

cheers, josch



-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: armhf, arm64

Kernel: Linux 4.0.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python3-networkx depends on:
ii  python3-decorator  3.4.0-2
pn  python3:any        <none>

Versions of packages python3-networkx recommends:
pn  python3-numpy          <none>
ii  python3-pkg-resources  18.0.1-1
pn  python3-scipy          <none>
ii  python3-yaml           3.11-2

python3-networkx suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to