Open mkoeppe opened 2 weeks ago
This has already been reported to networkx: https://github.com/networkx/networkx/issues/7101 Apparently only happens with Python 3.9.
Shall we suppress the warnings as suggested in https://github.com/networkx/networkx/issues/7101#issuecomment-1919737867?
The proposed method suppress the warning independently of the version of Python. Isn't it risky ? Also, we will have to remember to remove that code as soon as we will stop supporting Python 3.9.
I don't know the details, but it does not seem that whatever it is that this warning is warning about has any effect on networkx's correct functioning.
Indeed, if it's only a small warning without effect on the correct functioning, we can erase it. We just have to make sure that we will remember to remove the added code when it will no longer be necessary.
I'll prepare a PR and make sure to include "Python 3.9" in a comment so that we find it when we drop support for that version.
Seen in portability tests for Redhat-like systems, such as
almalinux-8-python3.9-minimal
https://github.com/mkoeppe/sage/actions/runs/8761823524/job/24053541285#step:11:4182