Page MenuHomeSolus

Update python-psutil to 5.7.3
ClosedPublic

Authored by algent on Oct 27 2020, 9:21 PM.
Tags
None
Referenced Files
F10945516: D9894.id23813.diff
Sat, Jul 15, 4:36 AM
F10933088: D9894.id23801.diff
Jul 12 2023, 5:13 AM
F10931202: D9894.id.diff
Jul 11 2023, 6:10 PM
F10897253: D9894.id23813.diff
Jul 2 2023, 5:23 AM
F10889324: D9894.diff
Jun 27 2023, 9:15 PM
F10809109: D9894.diff
May 30 2023, 11:58 AM
F10808153: D9894.diff
May 30 2023, 7:24 AM
F10807242: D9894.diff
May 30 2023, 4:16 AM
Subscribers

Details

Summary

Changelog:

  • Enhancements
    • net_if_stats()'s isup also checks whether the NIC is running (meaning Wi-Fi or ethernet cable is connected).
    • improved battery detection and charge "secsleft" calculation
  • Bug fixes
    • physical cpu_count() result is incorrect on systems with more than one CPU socket.
    • sensors_battery(): if percent can be determined but not the remaining values, still return a result instead of None.

Signed-off-by: Algent Albrahimi <algent@protonmail.com>

Test Plan
  • Run psutil scripts included in source folder.
    • battery.py
    • cpu_distribution.py
    • disk_usage.py
    • fans.py
    • free.py
    • ifconfig.py
    • iotop.py
    • ...(Etc.)
  • Run pychess, menulibre, glances and rapid-photo-downloader.

Diff Detail

Repository
R2651 python-psutil
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage