Page MenuHomeSolus

Update python-psutil to 5.6.7

Authored by algent on Nov 18 2019, 6:13 PM.



Summarized Changelog:

  • remove pyproject.toml as it was causing installation issues.
  • added Process.cpu_times().iowait counter, which is the time spent waiting for blocking I/O to complete.
  • add PEP 517/8 build backend and requirements specification for better pip integration.
  • 'type' and 'family' fields returned by net_connections() are not always turned into enums.
  • use CC compiler env var if defined.
  • Process cmdline() now takes into account misbehaving processes renaming the command line and using inappropriate chars to separate args.
  • use of Py_DECREF instead of Py_CLEAR will result in double free and segfault (CVE)

Signed-off-by: Algent Albrahimi <>

Test Plan

Run rapid-photo-downloader, menulibre and glances.

Diff Detail

R2651 python-psutil
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

algent created this revision.Nov 18 2019, 6:13 PM
algent requested review of this revision.Nov 18 2019, 6:13 PM
JoshStrobl requested changes to this revision.Nov 21 2019, 1:35 PM
JoshStrobl added a subscriber: JoshStrobl.

You need to be using the Phabricator stack functionality to indicate that the rapid-photo-downloader patch requires these updates.

This revision now requires changes to proceed.Nov 21 2019, 1:35 PM
algent requested review of this revision.Nov 21 2019, 3:28 PM

Added to the stack as rapid-photo-downloader dependency.

algent updated this revision to Diff 18547.Nov 28 2019, 6:15 PM

Update to 5.6.7

algent updated this revision to Diff 18548.Nov 28 2019, 6:17 PM
algent retitled this revision from Update python-psutil to 5.6.5 to Update python-psutil to 5.6.7.
algent edited the summary of this revision. (Show Details)

Edited changelog

JoshStrobl accepted this revision.Nov 29 2019, 1:44 AM

LGTM, thanks!

This revision is now accepted and ready to land.Nov 29 2019, 1:44 AM
This revision was automatically updated to reflect the committed changes.