Closed
@thomas-vincent

Description

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.