-
Notifications
You must be signed in to change notification settings - Fork 3
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
Psutil 3 Upgrade #350
base: master
Are you sure you want to change the base?
Psutil 3 Upgrade #350
Conversation
Same code as before virtually just slightly different flow. Old tests still pass with this however.
@guidow, PTAL |
|
||
elif nic.family == socket.AF_INET6: | ||
logger.warning( | ||
"IPv6 not yet supported in addresses() for %s", name) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While I am still in favor of supporting IPv6 eventually, until we actually officially try to do so, we should get rid of this warning, IMHO. It just clutters the logs with urgent looking warnings without actually being important at all.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be covered in 511941a
I'm generally in favor of removing the dependency on netifaces, but see my other comments. |
@guidow, PTAL |
This PR upgrades our
sysinfo.network
module to use Psutil 3.0. By doing this we're also able to remove netifaces as a dependency and simplify the code some.