Skip to content

networkx >= 3.0 unsupported #3530

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

Closed
thomas-vincent opened this issue Dec 8, 2022 · 3 comments · Fixed by #3538
Closed

networkx >= 3.0 unsupported #3530

thomas-vincent opened this issue Dec 8, 2022 · 3 comments · Fixed by #3538

Comments

@thomas-vincent
Copy link

to_scipy_sparse_matrix will be deprecated, use to_scipy_sparse_array instead

As stated in networkx:

warnings.warn(
        (
            "\n\nThe scipy.sparse array containers will be used instead of matrices\n"
            "in Networkx 3.0. Use `to_scipy_sparse_array` instead."
        ),
        DeprecationWarning,
        stacklevel=2,
    )

Either nipype code is adapted to handle network 2 and 3 or setup.py should specify that networkx must be < 3 in the dependencies.

@effigies
Copy link
Member

effigies commented Dec 8, 2022

Good catch. Would you mind submitting a PR?

@lamaresh
Copy link

this may be userful for you scikit-image/scikit-image#6564

@TheChymera
Copy link
Collaborator

I am getting the same issue, among others, over here. Tired to ~fix : #3535

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants