network-metis on conda-forge is incompatible with networkx #74
Description
This might not be a problem with networkx-metis per se, but I've spent the last couple of hours figuring out what was up and think it is worth raising it as an issue.
If I make a simple conda environment to work in with
conda env create -n nxm -c conda-forge cython networkx networkx-metis
then do
import networkx as nx
import nxmetis
G = nx.complete_graph(10)
nxmetis(G, 2)
I get an error which reports
AttributeError: 'Graph' object has no attribute 'node'
which is line 230 in __init__.py
and suggests that the conda recipe above is still installing a version that dates back to late 2019 and this commit. Perhaps the dependencies information in the channel is incorrect? Is that something that should be reported to conda, or do I report it here?
As I rely on conda to manage my python environments and get nervous any time I have to resort to pip installing into a conda environment, I wonder if this is an issue that can be fixed? Until that happens I can't easily use network-metis in my normal workflow with recent versions of other packages.
Activity