jupyter / jupyter_client

Jupyter protocol client APIs
https://jupyter-client.readthedocs.io
BSD 3-Clause "New" or "Revised" License
383 stars 283 forks source link

Support psutil for finding network addresses #1033

Closed juliangilbey closed 3 weeks ago

juliangilbey commented 1 month ago

The netifaces package has been archived by upstream, and pre-compiled wheels are not available for Python >= 3.10. An alternative is the maintained psutil package, and this PR tries to determine network addresses (in localinterfaces.py) using this package before falling back to netifaces and the other existing methods.