I wonder if we actually need all the features offered, though -- we don't actually care about the network adapters themselves. Perhaps we could use ctypes to call getifaddrs() ourselves; I believe it should be available on all the platforms we care about. Even if it isn't, we could still fall back to netifaces for now, with a warning about how that fallback behavior will be removed in the future -- and encourage operators to report it if they see the warning.
One alternative brought up is https:/ /pypi.org/ project/ ifaddr/
I wonder if we actually need all the features offered, though -- we don't actually care about the network adapters themselves. Perhaps we could use ctypes to call getifaddrs() ourselves; I believe it should be available on all the platforms we care about. Even if it isn't, we could still fall back to netifaces for now, with a warning about how that fallback behavior will be removed in the future -- and encourage operators to report it if they see the warning.