NetworkX 3.6rc0
networkx 3.6rc0
We're happy to announce the release of networkx 3.6rc0!
API Changes
- Replace
random_lobsterwithrandom_lobster_graph(#8067). - Replace
maybe_regular_expanderwithmaybe_regular_expander_graph(#8050). - Rm networkx.algorithms.threshold.swap_d (#8213).
- Expire deprecation of compute_v_structures (#8281).
- Rm unused dissuade_hubs kwarg from forceatlas2 (#8293).
- Expire deprecation of link kwarg in node_link fns (#8282).
- DEP: Deprecate metric_closure (#8304).
Enhancements
- Improve error message for removed
random_treefunction (#8105). - Update approx current_flow betweenness to use k directly (#8007).
- Proposal: update semantics for nonisomorphic trees with order 0 or 1 (#8083).
- SCC benchmarks and use of
G._adjin Tarjan algorithm (#8064). - Performance improvement and tests for
edges_equal(#8077). - optimise
is_reachable()(#8112). - Optimise harmonic centrality (#8158).
- feat(drawing): add missing connection styles in
draw_networkx_edge_labelsanddisplay(#8108).
Bug Fixes
- Add Python 3.14 to testing matrix (#8096).
- Fix round-trip to and from pygraphviz.AGraph setting spurious graph attributes (#8121).
- Add input validation to
non_randomness()and clarify its behavior (#8057). - Ensure that backend names are valid Python identifiers (#8160).
- fix: resolve failure to pickle.loads(pickle.dumps(PlanarEmbedding())) (#8186).
- Add GEXF 1.3 to the recognized GEXF versions (#8196).
- BUG: Raise on directed graphs in
nx.find_cliques_recursive(#8211). - fix
optimize_edit_pathshandling of self-loops (#8207).
Documentation
- Fix
min_weight_matching(#8062). - Update deploy-docs yml to use Python 3.12 when deploying the docs (#8102).
- DOC: Add missing params to bfs_layout docstring (#8086).
- Add input validation to
non_randomness()and clarify its behavior (#8057). - doc: improve docstring for hypercube_graph (#8012).
- Improved documentation for boundary_expansion function (#7905).
- DOC: Add docstring example count number of unique triangles (#8144).
- Add function bfs_labeled_edges to docs (#8149).
- Fix issues with urls in HITS reference docs ().
Maintenance
- Rm extraneous print from nx.display (#8084).
- Remove structuralholes.py from
needs_(num|sci)py(#8088). - Refactor image comparison tests (#8097).
- Update deploy-docs yml to use Python 3.12 when deploying the docs (#8102).
- Fix typo in extra name (#8103).
- MAINT: Support PEP 639 for license metadata (#8100).
- Use
scipy.sparsearray versions where applicable (#8080). - pass numpy seed by value not index (#8116).
- Maintenance for broadcasting.py (#8082).
Other
- TST: improve coverage for
generators/deg_seq.py(#8226). - TST: test
max_iterinasyn_fluidc(#8224). - MAINT: clean up tests for
steiner_tree(#8259). - TST: add non-
slowcoverage for random graph generators (#8252). - TST: Add a nonslow test for
all_node_cutswith shortest augmenting path flow function (#8230). - TST/MAINT: add non-slow coverage for random generators (#8233).
- TST: add coverage for
isomorphvf2(#8251). - TST: ensure determinism in
nx_pylabdrawing tests (#8232).
Contributors
38 authors added to this release (alphabetically):
- @Aka2210
- @dean985
- @georako
- @georakom
- @ishrathtahaseen-9
- @sourabh-sudesh-paradeshi
- Aditi Juneja (@Schefflera-Arboricola)
- Adriano Meligrana (@Tortar)
- akshita (@akshitasure12)
- Albert Koppelmaa (@albastardoto)
24 reviewers added to this release (alphabetically):
- @Aka2210
- @dean985
- @georakom
- @ishrathtahaseen-9
- Aditi Juneja (@Schefflera-Arboricola)
- akshita (@akshitasure12)
- Alejandro Candioti (@amcandio)
- Anthony Labarre (@alabarre)
- Christian Clauss (@cclauss)
- Colman Bouton (@LorentzFactor)
These lists are automatically generated, and may not be complete or may contain duplicates.