Skip to content

API: Expire deprecations of could-be isomorphism aliases - #8498

Merged
MridulS merged 4 commits into
networkx:mainfrom
rossbar:expire-could-be-isomorphic-deps
Jan 31, 2026
Merged

MridulS merged 4 commits into
networkx:mainfrom
rossbar:expire-could-be-isomorphic-deps

Conversation

@rossbar

@rossbar rossbar commented Jan 30, 2026

Copy link
Copy Markdown
Contributor

Expires the deprecations of graph_could_be_isomorphic, fast_graph_could_be_isomorphic and faster_graph_could_be_isomorphic, which are aliases of could_be_isomorphic, fast_could_be_isomorphic and faster_could_be_isomorphic, respectively.

Now that we're a few months away from the previous release, it should be "safe" to expire these deprecations :)



def test_graph_could_be_isomorphic_variants_deprecated():
G1 = nx.Graph([(1, 2), (1, 3), (1, 5), (2, 3)])

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Just to note - the test case itself is already covered below

@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.

This looks good to me! (Edit: once conflicts resolved)

@dschult

dschult commented Jan 31, 2026

Copy link
Copy Markdown
Member

I resolved the conflict with main due to the other deprecation having been merged.
If all CI is green we should merge.

@MridulS
MridulS merged commit b3a43e9 into networkx:main Jan 31, 2026
38 checks passed
@dschult dschult added this to the 3.7 milestone Jan 31, 2026
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.

3 participants