NetworkXError on incompatible key types after node label migration
Upgrade failure with mixed node labels After upgrading NetworkX, a Graph built with node labels of mixed types—such as strings and integers—can raise a NetworkXError when passed to functions that expect uniform hashable keys. The library documentation states that node labels must be hashable, yet earlier versions tolerated arbitrary Python objects, leaving b