You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(net): replace netifaces with psutil, drop the netifaces dependency
get_netinfo() and get_subnet_hosts() read interface addresses via psutil
(platform-independent) and the default gateway from the Linux routing table,
instead of the deprecated netifaces. Output, signatures and error messages are
unchanged (verified against the netifaces baseline). netifaces ships no wheels
for Python 3.10+, so dropping it lets the library and its consumers install
from pure wheels without a build toolchain.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
22
22
23
23
### Changed
24
24
25
+
* net.py: `get_netinfo()` and `get_subnet_hosts()` read interface addresses via psutil instead of the deprecated `netifaces`, and the default gateway is read from the Linux routing table. This drops the `netifaces` dependency, so the library installs from pure wheels on Python 3.10+ without a build toolchain
25
26
* redfish.py: `get_chassis_thermal_fans()` normalizes fan speed reported in RPM or percent onto a single shape
26
27
* redfish.py: `get_manager_logservices_sel_entries()` can filter log entries by regular expression and age out entries older than a cutoff
27
28
* redfish.py: `get_systems_storage_drives()` also extracts `PowerOnHours` and the drive temperature, so consumers can report drive age and temperature
0 commit comments