networkx breaking changes
Updated December 4, 2026
On this page
Latest version 3.7, released September 21, 2026. Source repository
Its 3.7 release drops Python 3.11. Python end of life dates.
networkx 3.7 breaking changes
- Removed
Python 3.11 is no longer supported; users on Python 3.11 must upgrade Python. github.com - Removed
networkx.algorithms.bipartite.tests.test_matching.TestMatching.check_vertex_cover
TestMatching.check_vertex_cover was removed in networkx 3.7 pypi.org - Removed
networkx.algorithms.community.tests.test_leiden.leiden_communities
networkx.algorithms.community.tests.test_leiden.leiden_communities was removed in networkx 3.7 pypi.org - Removed
networkx.algorithms.community.tests.test_leiden.leiden_partitions
networkx.algorithms.community.tests.test_leiden.leiden_partitions was removed in networkx 3.7 pypi.org - Removed
networkx.algorithms.community.tests.test_leiden.no_backends_for_leiden_communities
networkx.algorithms.community.tests.test_leiden.no_backends_for_leiden_communities was removed in networkx 3.7 pypi.org - Removed
networkx.algorithms.community.tests.test_leiden.no_backends_for_leiden_partitions
networkx.algorithms.community.tests.test_leiden.no_backends_for_leiden_partitions was removed in networkx 3.7 pypi.org - Removed
networkx.algorithms.community.tests.test_leiden.test_directed_not_implemented
networkx.algorithms.community.tests.test_leiden.test_directed_not_implemented was removed in networkx 3.7 pypi.org - Removed
networkx.algorithms.community.tests.test_leiden.test_leiden_with_nx_backend
networkx.algorithms.community.tests.test_leiden.test_leiden_with_nx_backend was removed in networkx 3.7 pypi.org - Removed
networkx.algorithms.community.tests.test_leiden.test_max_level
networkx.algorithms.community.tests.test_leiden.test_max_level was removed in networkx 3.7 pypi.org - Removed
networkx.algorithms.community.tests.test_leiden.test_modularity_increase
networkx.algorithms.community.tests.test_leiden.test_modularity_increase was removed in networkx 3.7 pypi.org - Removed
networkx.algorithms.community.tests.test_leiden.test_none_weight_param
networkx.algorithms.community.tests.test_leiden.test_none_weight_param was removed in networkx 3.7 pypi.org - Removed
networkx.algorithms.community.tests.test_leiden.test_partition_iterator
networkx.algorithms.community.tests.test_leiden.test_partition_iterator was removed in networkx 3.7 pypi.org - Removed
networkx.algorithms.community.tests.test_leiden.test_quality
networkx.algorithms.community.tests.test_leiden.test_quality was removed in networkx 3.7 pypi.org - Removed
networkx.algorithms.community.tests.test_leiden.test_resolution
networkx.algorithms.community.tests.test_leiden.test_resolution was removed in networkx 3.7 pypi.org - Removed
networkx.algorithms.connectivity.tests.test_cuts.arbitrary_element
networkx.algorithms.connectivity.tests.test_cuts.arbitrary_element was removed in networkx 3.7 pypi.org - Removed
networkx.algorithms.connectivity.tests.test_cuts.test_icosahedral_cutset
networkx.algorithms.connectivity.tests.test_cuts.test_icosahedral_cutset was removed in networkx 3.7 pypi.org - Removed
networkx.algorithms.connectivity.tests.test_cuts.test_interface_only_source
networkx.algorithms.connectivity.tests.test_cuts.test_interface_only_source was removed in networkx 3.7 pypi.org - Removed
networkx.algorithms.connectivity.tests.test_cuts.test_interface_only_target
networkx.algorithms.connectivity.tests.test_cuts.test_interface_only_target was removed in networkx 3.7 pypi.org - Removed
networkx.algorithms.connectivity.tests.test_cuts.test_missing_source
networkx.algorithms.connectivity.tests.test_cuts.test_missing_source was removed in networkx 3.7 pypi.org - Removed
networkx.algorithms.connectivity.tests.test_cuts.test_missing_target
networkx.algorithms.connectivity.tests.test_cuts.test_missing_target was removed in networkx 3.7 pypi.org - Removed
networkx.algorithms.connectivity.tests.test_cuts.test_not_weakly_connected
networkx.algorithms.connectivity.tests.test_cuts.test_not_weakly_connected was removed in networkx 3.7 pypi.org - Removed
networkx.algorithms.connectivity.tests.test_cuts.test_octahedral_cutset
networkx.algorithms.connectivity.tests.test_cuts.test_octahedral_cutset was removed in networkx 3.7 pypi.org - Removed
networkx.algorithms.connectivity.tests.test_cuts.test_petersen_cutset
networkx.algorithms.connectivity.tests.test_cuts.test_petersen_cutset was removed in networkx 3.7 pypi.org - Removed
networkx.algorithms.connectivity.tests.test_cuts.tests_min_cut_complete_directed
networkx.algorithms.connectivity.tests.test_cuts.tests_min_cut_complete_directed was removed in networkx 3.7 pypi.org - Removed
networkx.algorithms.isomorphism.tests.test_isomorphism.test_graph_could_be_isomorphic_variants_deprecated
networkx.algorithms.isomorphism.tests.test_isomorphism.test_graph_could_be_isomorphic_variants_deprecated was removed in networkx 3.7 pypi.org - Removed
networkx.algorithms.isomorphism.tests.test_match_helpers.TestGenericMultiEdgeMatch
networkx.algorithms.isomorphism.tests.test_match_helpers.TestGenericMultiEdgeMatch was removed in networkx 3.7 pypi.org - Removed
networkx.algorithms.isomorphism.tests.test_vf2pp_helpers.TestDiGraphCandidateSelection
networkx.algorithms.isomorphism.tests.test_vf2pp_helpers.TestDiGraphCandidateSelection was removed in networkx 3.7 pypi.org - Removed
networkx.algorithms.isomorphism.tests.test_vf2pp_helpers.TestDiGraphISOFeasibility
networkx.algorithms.isomorphism.tests.test_vf2pp_helpers.TestDiGraphISOFeasibility was removed in networkx 3.7 pypi.org - Removed
networkx.algorithms.isomorphism.tests.test_vf2pp_helpers.TestDiGraphTinoutUpdating
networkx.algorithms.isomorphism.tests.test_vf2pp_helpers.TestDiGraphTinoutUpdating was removed in networkx 3.7 pypi.org - Removed
networkx.algorithms.isomorphism.tests.test_vf2pp_helpers.TestGraphCandidateSelection
networkx.algorithms.isomorphism.tests.test_vf2pp_helpers.TestGraphCandidateSelection was removed in networkx 3.7 pypi.org - Removed
networkx.algorithms.isomorphism.tests.test_vf2pp_helpers.TestGraphISOFeasibility
networkx.algorithms.isomorphism.tests.test_vf2pp_helpers.TestGraphISOFeasibility was removed in networkx 3.7 pypi.org - Removed
networkx.algorithms.isomorphism.tests.test_vf2pp_helpers.TestGraphTinoutUpdating
networkx.algorithms.isomorphism.tests.test_vf2pp_helpers.TestGraphTinoutUpdating was removed in networkx 3.7 pypi.org - Removed
networkx.algorithms.isomorphism.tests.test_vf2pp_helpers.TestMultiGraphISOFeasibility
networkx.algorithms.isomorphism.tests.test_vf2pp_helpers.TestMultiGraphISOFeasibility was removed in networkx 3.7 pypi.org - Removed
networkx.algorithms.isomorphism.tests.test_vf2pp_helpers.vf2pp_is_isomorphic
networkx.algorithms.isomorphism.tests.test_vf2pp_helpers.vf2pp_is_isomorphic was removed in networkx 3.7 pypi.org - Removed
networkx.algorithms.isomorphism.tests.test_vf2pp_helpers.vf2pp_isomorphism
networkx.algorithms.isomorphism.tests.test_vf2pp_helpers.vf2pp_isomorphism was removed in networkx 3.7 pypi.org - Removed
networkx.algorithms.tests.test_clique.TestCliques
networkx.algorithms.tests.test_clique.TestCliques was removed in networkx 3.7 pypi.org - Removed
networkx.algorithms.tests.test_clique.TestEnumerateAllCliques
networkx.algorithms.tests.test_clique.TestEnumerateAllCliques was removed in networkx 3.7 pypi.org - Removed
networkx.algorithms.tests.test_communicability.communicability
networkx.algorithms.tests.test_communicability.communicability was removed in networkx 3.7 pypi.org - Removed
networkx.algorithms.tests.test_communicability.communicability_exp
networkx.algorithms.tests.test_communicability.communicability_exp was removed in networkx 3.7 pypi.org - Removed
networkx.algorithms.tests.test_communicability.TestCommunicability
networkx.algorithms.tests.test_communicability.TestCommunicability was removed in networkx 3.7 pypi.org - Removed
networkx.algorithms.tests.test_dag.test_is_aperiodic_disconnected_raises
networkx.algorithms.tests.test_dag.test_is_aperiodic_disconnected_raises was removed in networkx 3.7 pypi.org - Removed
networkx.algorithms.tests.test_dag.test_is_aperiodic_empty_graph
networkx.algorithms.tests.test_dag.test_is_aperiodic_empty_graph was removed in networkx 3.7 pypi.org - Removed
networkx.algorithms.tests.test_dag.test_is_aperiodic_null_graph_raises
networkx.algorithms.tests.test_dag.test_is_aperiodic_null_graph_raises was removed in networkx 3.7 pypi.org - Removed
networkx.algorithms.tests.test_dag.test_is_aperiodic_weakly_connected_raises
networkx.algorithms.tests.test_dag.test_is_aperiodic_weakly_connected_raises was removed in networkx 3.7 pypi.org - Removed
networkx.algorithms.tests.test_distance_measures.TestBarycenter
networkx.algorithms.tests.test_distance_measures.TestBarycenter was removed in networkx 3.7 pypi.org - Removed
networkx.algorithms.tests.test_walks.test_directed
networkx.algorithms.tests.test_walks.test_directed was removed in networkx 3.7 pypi.org - Removed
networkx.algorithms.tests.test_walks.test_hidden_weight_attr
networkx.algorithms.tests.test_walks.test_hidden_weight_attr was removed in networkx 3.7 pypi.org - Removed
networkx.algorithms.tests.test_walks.test_negative_length_exception
networkx.algorithms.tests.test_walks.test_negative_length_exception was removed in networkx 3.7 pypi.org - Removed
networkx.algorithms.tests.test_walks.test_non_integer_nodes
networkx.algorithms.tests.test_walks.test_non_integer_nodes was removed in networkx 3.7 pypi.org - Removed
networkx.algorithms.tests.test_walks.test_undirected
networkx.algorithms.tests.test_walks.test_undirected was removed in networkx 3.7 pypi.org
And 53 more in this version. Sign up to see every change
networkx 3.7rc0 breaking changes
- Removed
Deprecated could-be isomorphism alias functions have had their deprecations expired and were removed. github.com - Removed
The deprecated random lobster dependency has been expired and removed from the release. github.com - Behavior changed
Python 3.11 is no longer supported; minimum dependency versions were raised. github.com - Behavior changed
boruvka_mst_edges
The keys default of boruvka_mst_edges now matches kruskal and prim, which can change output for existing calls. github.com - Behavior changed
hits
Default HITS implementation changed to power iteration, which can change results for existing calls. github.com - Behavior changed
maximal_independent_set
maximal_independent_set returns set instead of list, so code relying on list behavior may break. github.com - Behavior changed
pagerank
PageRank now emits a warning when the convergence check is ineffective; warnings are now errors in pytest runs. github.com - Behavior changed
relabel_nodes
Documentation clarifies attribute behavior when multiple nodes map to the same target. github.com - Behavior changed
sparse.eye
Internal use of sparse.eye is deprecated in favor of eye_array; this is internal maintenance and may be skipped. github.com - Behavior changed
write_gexf
write_gexf now raises ValueError for mixed typed attributes instead of writing them. github.com
And 1 more in this version. Sign up to see every change
networkx 3.6.1 breaking changes
- Removed
networkx.algorithms.community.kernighan_lin
networkx.algorithms.community.kernighan_lin was removed in networkx 3.6.1 pypi.org - Removed
networkx.algorithms.community.tests.test_kernighan_lin
networkx.algorithms.community.tests.test_kernighan_lin was removed in networkx 3.6.1 pypi.org - Removed
networkx.algorithms.isomorphism.tests.test_ismags.data
networkx.algorithms.isomorphism.tests.test_ismags.data was removed in networkx 3.6.1 pypi.org - Removed
networkx.algorithms.isomorphism.tests.test_ismags.TestSelfIsomorphism.test_double_star_self_isomorphism
TestSelfIsomorphism.test_double_star_self_isomorphism was removed in networkx 3.6.1 pypi.org - Removed
networkx.algorithms.isomorphism.tests.test_ismags.TestSelfIsomorphism.test_edgecase_self_isomorphism
TestSelfIsomorphism.test_edgecase_self_isomorphism was removed in networkx 3.6.1 pypi.org - Removed
networkx.algorithms.isomorphism.tests.test_ismags.TestSubgraphIsomorphism.test_isomorphism
TestSubgraphIsomorphism.test_isomorphism was removed in networkx 3.6.1 pypi.org - Removed
networkx.algorithms.isomorphism.tests.test_ismags.TestSubgraphIsomorphism.test_isomorphism2
TestSubgraphIsomorphism.test_isomorphism2 was removed in networkx 3.6.1 pypi.org - Removed
networkx.algorithms.isomorphism.tests.test_isomorphvf2.test_isomorphvf2pp_multidigraphs
networkx.algorithms.isomorphism.tests.test_isomorphvf2.test_isomorphvf2pp_multidigraphs was removed in networkx 3.6.1 pypi.org - Removed
networkx.algorithms.isomorphism.tests.test_isomorphvf2.TestWikipediaExample.test_graph
TestWikipediaExample.test_graph was removed in networkx 3.6.1 pypi.org - Removed
networkx.algorithms.isomorphism.tests.test_vf2pp.TestGraphISOVF2pp.test_custom_graph1_different_labels
TestGraphISOVF2pp.test_custom_graph1_different_labels was removed in networkx 3.6.1 pypi.org
And 10 more in this version. Sign up to see every change
networkx 3.6 breaking changes
- Removed
networkx.algorithms.dag.compute_v_structures
The deprecation of compute_v_structures expired and the function was removed. pypi.org - Removed
networkx.algorithms.isomorphism.ISMAGS.analyze_symmetry
ISMAGS.analyze_symmetry was removed in networkx 3.6 pypi.org - Removed
networkx.algorithms.isomorphism.ISMAGS.edge_equality
ISMAGS.edge_equality was removed in networkx 3.6 pypi.org - Removed
networkx.algorithms.isomorphism.ISMAGS.node_equality
ISMAGS.node_equality was removed in networkx 3.6 pypi.org - Removed
networkx.algorithms.isomorphism.tests.test_ismags.TestSelfIsomorphism.data
TestSelfIsomorphism.data was removed in networkx 3.6 pypi.org - Removed
networkx.algorithms.isomorphism.tests.test_ismags.TestSelfIsomorphism.test_directed_self_isomorphism
TestSelfIsomorphism.test_directed_self_isomorphism was removed in networkx 3.6 pypi.org - Removed
networkx.algorithms.isomorphism.tests.test_ismags.TestWikipediaExample.g1edges
TestWikipediaExample.g1edges was removed in networkx 3.6 pypi.org - Removed
networkx.algorithms.isomorphism.tests.test_ismags.TestWikipediaExample.g2edges
TestWikipediaExample.g2edges was removed in networkx 3.6 pypi.org - Removed
networkx.algorithms.tests.test_dag.test_compute_v_structures
networkx.algorithms.tests.test_dag.test_compute_v_structures was removed in networkx 3.6 pypi.org - Removed
networkx.algorithms.tests.test_dag.test_compute_v_structures_deprecated
networkx.algorithms.tests.test_dag.test_compute_v_structures_deprecated was removed in networkx 3.6 pypi.org
And 111 more in this version. Sign up to see every change
networkx 3.6rc0 breaking changes
- Removed
forceatlas2
The dissuade_hubs keyword argument was removed from forceatlas2. Code passing it will fail. github.com - Removed
link
The deprecation of the link keyword in the node_link functions expired and the keyword was removed. github.com - Removed
networkx.algorithms.threshold.swap_d
The function swap_d was removed from the threshold module. Code using it will fail. github.com - Behavior changed
degree_sequence_tree
degree_sequence_tree now validates its input and rejects sequences with isolated nodes. github.com - Behavior changed
non_randomness
non_randomness adds input validation and clarified behavior, so previously accepted inputs may now be rejected. github.com - Behavior changed
nx.find_cliques_recursive
Passing a directed graph to find_cliques_recursive now raises an error. Use an undirected graph instead. github.com
networkx 3.5 breaking changes
- Removed
minimum_d_separator
The deprecated minimum_d_separator function was expired and removed in 3.5. github.com - Removed
networkx.algorithms.bipartite.tests.test_matrix.sparse
networkx.algorithms.bipartite.tests.test_matrix.sparse was removed in networkx 3.5 pypi.org - Removed
networkx.algorithms.centrality.tests.test_closeness_centrality.TestClosenessCentrality.pick_add_edge
TestClosenessCentrality.pick_add_edge was removed in networkx 3.5 pypi.org - Removed
networkx.algorithms.centrality.tests.test_closeness_centrality.TestClosenessCentrality.pick_remove_edge
TestClosenessCentrality.pick_remove_edge was removed in networkx 3.5 pypi.org - Removed
networkx.algorithms.centrality.tests.test_closeness_centrality.TestClosenessCentrality.setup_class
TestClosenessCentrality.setup_class was removed in networkx 3.5 pypi.org - Removed
networkx.algorithms.centrality.tests.test_closeness_centrality.TestClosenessCentrality.test_directed_raises
TestClosenessCentrality.test_directed_raises was removed in networkx 3.5 pypi.org - Removed
networkx.algorithms.centrality.tests.test_closeness_centrality.TestClosenessCentrality.test_incremental
TestClosenessCentrality.test_incremental was removed in networkx 3.5 pypi.org - Removed
networkx.algorithms.centrality.tests.test_closeness_centrality.TestClosenessCentrality.test_wrong_nodes_prev_cc_raises
TestClosenessCentrality.test_wrong_nodes_prev_cc_raises was removed in networkx 3.5 pypi.org - Removed
networkx.algorithms.centrality.tests.test_closeness_centrality.TestClosenessCentrality.test_wrong_size_prev_cc_raises
TestClosenessCentrality.test_wrong_size_prev_cc_raises was removed in networkx 3.5 pypi.org - Removed
networkx.algorithms.centrality.tests.test_closeness_centrality.TestClosenessCentrality.test_zero_centrality
TestClosenessCentrality.test_zero_centrality was removed in networkx 3.5 pypi.org
And 95 more in this version. Sign up to see every change
Older versions
8 older versions, each with its first changes. Sign up to see every change
Show 8 older versions
networkx 3.5rc0 breaking changes
- Removed
minimum_d_separator
The deprecated d_separated and minimum_d_separator functions were expired and removed; code calling them must switch to the replacement. github.com - Behavior changed
k_core
k_core functions now raise an exception when given a multigraph, so code passing multigraphs will fail. github.com
And 2 more in this version.
networkx 3.4.1 breaking changes
- Removed
networkx.utils.config
networkx.utils.config was removed in networkx 3.4.1 pypi.org - Removed
networkx.utils.configs.config
networkx.utils.configs.config was removed in networkx 3.4.1 pypi.org
And 2 more in this version.
networkx 3.4 breaking changes
- Removed
Edmonds
The deprecated Edmonds class is removed in this release. github.com - Removed
forest_str
The deprecated forest_str function is removed in this release, so code calling it will fail. github.com
And 103 more in this version.
networkx 3.4rc0 breaking changes
- Removed
Drops support for an unspecified older runtime in networkx 3.4rc0 github.com - Removed
Edmonds
The deprecated Edmonds class has been removed. github.com
And 9 more in this version.
networkx 3.0 breaking changes
- Removed
networkx.algorithms.assortativity.tests.base_test.BaseTestNumericMixing
networkx.algorithms.assortativity.tests.base_test.BaseTestNumericMixing was removed in networkx 3.0 pypi.org - Removed
networkx.algorithms.assortativity.tests.test_correlation.BaseTestNumericMixing
networkx.algorithms.assortativity.tests.test_correlation.BaseTestNumericMixing was removed in networkx 3.0 pypi.org
And 101 more in this version.
networkx 3.0rc1 breaking changes
- Removed
Removes copy methods for Filter* coreviews in networkx 3.0rc1 github.com - Removed
Removes deprecated k-nearest-neighbors in networkx 3.0rc1 github.com
And 45 more in this version.
networkx 3.0b1 breaking changes
- Removed
display_pygraphviz
The deprecated display_pygraphviz function is removed. github.com - Removed
edge_betweeness
The deprecated edge_betweeness function is removed. github.com
And 10 more in this version.
networkx 2.0 breaking changes
- Signature changed
networkx.algorithms.bipartite.eppstein_matching
Was def eppstein_matching(G); now def eppstein_matching(G, top_nodes=None). pypi.org - Signature changed
networkx.algorithms.bipartite.hopcroft_karp_matching
Was def hopcroft_karp_matching(G); now def hopcroft_karp_matching(G, top_nodes=None). pypi.org
And 92 more in this version.
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.