Replace netifaces
with ifaddr
#1151
Labels
area:upstream
Issues with root cause from upstream 3rd parties
comp:agent
Related to Agent component
comp:common
Related to Common component
effort:easy
Need to understand only a specific region of codes (good first issue, easy).
type:enhance
Enhance component, behavior, internals without user-facing features
Milestone
netifaces
is no longer maintained and does not provide official wheels for Python 3.10+.There is a fork called
netifaces-plus
but its author recommendsifaddr
as a replacement.Since we just need to enumerate network interfaces and their IP addresses,
ifaddr
's functionality is sufficient for us. Moreover, it is based on a pure Python implementation, making the installation on customer sites much easier.Let's replace
netifaces
withifaddr
.The text was updated successfully, but these errors were encountered: