Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Networkx's convert test has been broken #1488

Closed
sighingnow opened this issue Apr 28, 2022 · 0 comments · Fixed by #1496
Closed

[BUG] Networkx's convert test has been broken #1488

sighingnow opened this issue Apr 28, 2022 · 0 comments · Fixed by #1496
Assignees
Labels
bug Something isn't working component:networkx Networkx related issues and tasks component:python

Comments

@sighingnow
Copy link
Collaborator

Describe the bug

The convert test has been broken for some time and doesn't work with networkx==2.6, due to following kinds of errors

        >>> d = nx.to_dict_of_dicts(G, edge_data=10)
        >>> d
        {0: {1: 10}, 1: {0: 10}}
        """
        dod = {}
        if nodelist is None:
            if edge_data is None:
                for u, nbrdict in G.adjacency():
>                   dod[u] = nbrdict.copy()
E                   AttributeError: 'NeighborDict' object has no attribute 'copy'

We have disabled those test cases in #1487, for more details, see also https://github.com/alibaba/GraphScope/runs/6194670296?check_suite_focus=true

@sighingnow sighingnow added bug Something isn't working component:python component:networkx Networkx related issues and tasks labels Apr 28, 2022
@acezen acezen self-assigned this Apr 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working component:networkx Networkx related issues and tasks component:python
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants