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

chore: Remove psutil dependency #591

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

chore: Remove psutil dependency #591

wants to merge 1 commit into from

Conversation

rumpelsepp
Copy link
Member

@rumpelsepp rumpelsepp commented Sep 2, 2024

The psutil dependency is used at exactly one location in the codebase.
The psutil library claims to be portable, however the broadcast feature
is not supported on Windows.

Since we support Linux as Tier-1 and Windows as Tier-2, let's remove the
dependency and use the always available system tooling for this.

As for the why remove dependencies that are not really used in gallia: Recently we had a dependency hell situation on a embedded platform; a C compiler toolchain with several special library version was required to build those dependencies via pip (this one uses C-extensions). In order to avoid this situation in the future dependencies without value are removed (see #582, #590).

@rumpelsepp rumpelsepp marked this pull request as ready for review September 17, 2024 12:02
The psutil dependency is used at exactly one location in the codebase.
The psutil library claims to be portable, however the broadcast feature
is [not supported](https://github.com/giampaolo/psutil/blob/8d943015ffce86de31d9494ffa3a1eae7dd91719/psutil/arch/windows/net.c#L210) on Windows.

Since we support Linux as Tier-1 and Windows as Tier-2, let's remove the
dependency and use the always available system tooling for this.
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 this pull request may close these issues.

1 participant