Update dependency psutil to v5.9.0 #4038
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==5.8.0
->==5.9.0
Release Notes
giampaolo/psutil
v5.9.0
Compare Source
=====
2021-12-29
Enhancements
cpu_freq()
_ is slow on systems with many CPUs. Read currentfrequency values for all CPUs from
/proc/cpuinfo
instead of opening manyfiles in
/sys
fs. (patch by marxin)NoSuchProcess
_ message now specifies if the PID has been reused.NoSuchProcess
,AccessDenied
, etc.) now have a betterformatted and separated
__repr__
and__str__
implementations.disk_partitions()
_: convert/dev/root
device (an aliasused on some Linux distros) to real root device path.
PSUTIL_DEBUG
mode now prints file name and line number of the debugmessages coming from C extension modules.
Bug fixes
cpu_freq()
_min
andmax
are set to0 if can't be determined (instead of crashing).
Process.connections()
_ will crash withEOPNOTSUPP
for one connection; this is now ignored.disk_partitions()
_ only returns mountpoints on driveswhere it first finds one.
cpu_freq()
_ broken on Apple M1.Process.open_files()
_ andProcess.connections()
, could randomly raiseAccessDenied
because theinternal buffer of
proc_pidinfo(PROC_PIDLISTFDS)
syscall was not big enough.We now dynamically increase the buffer size until it's big enough instead of
giving up and raising
AccessDenied
_, which was a fallback to avoid crashing.OpenProcess
fails withERROR_SUCCESS
due toGetLastError()
called aftersprintf()
. (patch by alxchk)wait_procs()
_ should catchsubprocess.TimeoutExpired
exception.
sensors_battery()
_ can raiseTypeError
on PureOS.swap_memory()
_ shows committed memory instead of swap.ENAMETOOLONG
when accessing processfile descriptors in procfs. (patch by Nikita Radchenko)
memoize_when_activated
decorator is not thread-safe.(patch by Xuehai Pan)
disk_partitions()
_ crashes due toinsufficient buffer len. (patch by MaWe2019)
when calling
users()
_ multiple times.Process.name()
_ longerthan 128 characters resulting in
AccessDenied
_. This is now fixed. (patchby PetrPospisil)
process_iter()
_ is not thread safe and can raiseTypeError
if invoked from multiple threads.Process.cpu_times()
_ reports incorrect timings on M1 machines.(patch by Olivier Dormond)
cpu_freq()
_ return order is wrong on systems with more than9 CPUs.
Configuration
📅 Schedule: "after 10pm every weekday,before 5am every weekday,every weekend" in timezone Pacific/Auckland.
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.