Skip to content

Deprecate graph_could_be_isomorphic - #7826

Merged
Schefflera-Arboricola merged 6 commits into
networkx:mainfrom
rossbar:deprecate-graph-could-be-isomorphic
Feb 5, 2025
Merged

Schefflera-Arboricola merged 6 commits into
networkx:mainfrom
rossbar:deprecate-graph-could-be-isomorphic

Conversation

@rossbar

@rossbar rossbar commented Feb 4, 2025 •

Copy link
Copy Markdown
Contributor

graph_could_be_isomorphic (and friends fast_ and faster_) are aliases for could_be_isomorphic that is not exported outside of the isomorph module, so this should be a relatively undisruptive deprecation (the only way to access the alias is to import from nx.algorithms.isomorphism.isomorph - see e.g. the removed examples in the test suite).

There were some internal usages in the test suite which are easily replaced with the (newly) recommended function.

@dschult dschult left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the removal of test aliases with the name is_isomorphic too.
I approve this. Thanks @rossbar

@Schefflera-Arboricola
Schefflera-Arboricola merged commit 69d7046 into networkx:main Feb 5, 2025
@jarrodmillman jarrodmillman added this to the 3.5 milestone May 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

4 participants