Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undo change in return type of single_target_shortest_path_length #7327

Merged
merged 1 commit into from Mar 5, 2024

Conversation

rossbar
Copy link
Contributor

@rossbar rossbar commented Mar 3, 2024

Fixes #7315 by reverting the change in return type until the FutureWarning has expired (scheduled for 3.5).

The other possible solution would be to remove the FutureWarning and implement the change now. I don't recall from previous discussions which was the desired course of action, so if I got this wrong please LMK! Either way - the behavior needs to be consistent with the warning (or lack thereof).

Copy link
Member

@dschult dschult left a comment

Choose a reason for hiding this comment

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

Thanks!

@MridulS MridulS merged commit e005b69 into networkx:main Mar 5, 2024
42 checks passed
@jarrodmillman jarrodmillman added this to the 3.3 milestone Mar 5, 2024
cvanelteren pushed a commit to cvanelteren/networkx that referenced this pull request Apr 22, 2024
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.

single_target_shortest_path_length on main returns dict, not iterator
4 participants