commit 23fa18d3021fb44d8b4dd81890d9c355eed9426f
Author: Tim Burke <email address hidden>
Date: Mon May 22 10:37:12 2023 -0700
Remove hard dependency on netifaces
The project was archived in 2021, and we can fairly easily replace it
with some ctypes code to call getifaddrs ourselves.
Be willing to fall back to netifaces (with a warning) in case getifaddrs
is not available, but I'm fairly certain it will be for all platforms we
support.
Could maybe use some more testing on big-endian arches / BSDs, but an
attempt was at least made at supporting them.
Reviewed: https:/ /review. opendev. org/c/openstack /swift/ +/873222 /opendev. org/openstack/ swift/commit/ 23fa18d3021fb44 d8b4dd81890d9c3 55eed9426f
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 23fa18d3021fb44 d8b4dd81890d9c3 55eed9426f
Author: Tim Burke <email address hidden>
Date: Mon May 22 10:37:12 2023 -0700
Remove hard dependency on netifaces
The project was archived in 2021, and we can fairly easily replace it
with some ctypes code to call getifaddrs ourselves.
Be willing to fall back to netifaces (with a warning) in case getifaddrs
is not available, but I'm fairly certain it will be for all platforms we
support.
Could maybe use some more testing on big-endian arches / BSDs, but an
attempt was at least made at supporting them.
Partial-Bug: #2019233 c291619f8d8ec95 7ed8a5be1ce
Change-Id: I1189a60204cf96