Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package netifaces is not maintained anymore #140

Open
ader1990 opened this issue May 30, 2024 · 0 comments · May be fixed by #144
Open

Package netifaces is not maintained anymore #140

ader1990 opened this issue May 30, 2024 · 0 comments · May be fixed by #144

Comments

@ader1990
Copy link
Member

Pip package netifaces is used by the dhcp implementation.
The project creator is looking for a new maintainer: al45tair/netifaces#78.

We need to either find a way to replace the netifaces implementation with a native python / windows api.

petrutlucian94 added a commit to petrutlucian94/cloudbase-init that referenced this issue Jun 3, 2024
The netifaces library is no longer maintained, which is why we
need to drop this dependency.

There is only one place in which netifaces is being used, a
trivial function that retrives the mac address for a given ip
address.

Thankfully, we already have a cloudbase-init "get_adapter_addresses"
function that uses ctypes to call GetAdaptersAddresses, which
happens to be the same Windows function used by netifaces.

Worth mentioning that netifaces is the only compilable cloudbase-init
dependency that does not provide a wheel package.

Fixes: cloudbase#140
@petrutlucian94 petrutlucian94 linked a pull request Jun 3, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant