Comment 3 for bug 2019233

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to swift (master)

Reviewed: https://review.opendev.org/c/openstack/swift/+/873222
Committed: https://opendev.org/openstack/swift/commit/23fa18d3021fb44d8b4dd81890d9c355eed9426f
Submitter: "Zuul (22348)"
Branch: master

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.

    Partial-Bug: #2019233
    Change-Id: I1189a60204cf96c291619f8d8ec957ed8a5be1ce