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

Make netifaces dependency optional #1166

Merged
merged 5 commits into from
Jul 14, 2023
Merged

Make netifaces dependency optional #1166

merged 5 commits into from
Jul 14, 2023

Conversation

rodja
Copy link
Member

@rodja rodja commented Jul 14, 2023

We use the netifaces package for convince to present a list of IPs through which the NiceGUI website is available. But netifaces is not available as wheel for all platforms and therefore requires gcc and similar tools to be installed. This is especially annoying in Docker containers which should be kept small. Because we do not want to force users to do multi-stage builds this pull request makes the package optional.

rodja added 2 commits July 14, 2023 05:25
because it is not easy to install on all systems
@rodja rodja added the enhancement New feature or request label Jul 14, 2023
@rodja rodja added this to the 1.3.1 milestone Jul 14, 2023
@rodja rodja requested a review from falkoschindler July 14, 2023 03:38
@retsyo
Copy link
Contributor

retsyo commented Oct 18, 2023

lablup/backend.ai#1151 says

netifaces is al45tair/netifaces#78 and does not provide official wheels for Python 3.10+.
There is a fork called netifaces-plus but its author recommends ifaddr as a replacement.

@rodja
Copy link
Member Author

rodja commented Oct 18, 2023

Oh cool. Thanks for the pointer to ifaddr @retsyo. Looks promising. We will have a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants