URL:
https://github.com/freeipa/freeipa/pull/3001
Author: tiran
Title: #3001: Make netifaces optional
Action: opened
PR body:
"""
netifaces is a binary Python extension. Outside of the installer, it's
only used by CheckedIPAddress.get_matching_interface, which is only
called from installer code.
Make the import of netifaces optional to reduce the amount of
dependencies for PyPI package use case. Binary extensions are especially
annoying, because they depend on shared libraries, compiler, and header
files to be present.
Related:
https://pagure.io/freeipa/issue/6468
Signed-off-by: Christian Heimes <cheimes(a)redhat.com>
"""
To pull the PR as Git branch:
git remote add ghfreeipa
https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/3001/head:pr3001
git checkout pr3001