2196_: in case of exception, display a cleaner error traceback by hiding the
KeyError bit deriving from a missed cache hit.
2217_: print the full traceback when a DeprecationWarning or UserWarning
is raised.
2230_, [OpenBSD]: psutil.net_connections_ implementation was rewritten from
scratch:
We're now able to retrieve the path of AF_UNIX sockets (before it was an
empty string)
The function is faster since it no longer iterates over all processes.
No longer produces duplicate connection entries.
2238_: there are cases where Process.cwd()_ cannot be determined
(e.g. directory no longer exists), in which case we returned either None
or an empty string. This was consolidated and we now return "" on all
platforms.
2239_, [UNIX]: if process is a zombie, and we can only determine part of the
its truncated Process.name()_ (15 chars), don't fail with ZombieProcess_
when we try to guess the full name from the Process.cmdline()_. Just
return the truncated name.
2240_, [NetBSD], [OpenBSD]: add CI testing on every commit for NetBSD and
OpenBSD platforms (python 3 only).
1915_, [Linux]: on certain kernels, "MemAvailable" field from
/proc/meminfo returns 0 (possibly a kernel bug), in which case we
calculate an approximation for available memory which matches "free"
CLI utility.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps psutil from 5.8.0 to 5.9.5.
Changelog
Sourced from psutil's changelog.
... (truncated)
Commits
0d4900b
pre release190059c
Add CI testing for OpenBSD and NetBSD (#2240)aa42066
Fix #2239 / proc name(): don't fail with ZombieProcess on cmdline()0a81fa0
#2238: passed wrong value to Py_BuildValue0e3f6c4
fix #2238 if cwd() cannot be determined always return "" instead of Noneb070015
Fix #2237, OpenBSD, cwd(): return None instead of FileNotFoundErrorb1c1a00
BSD: refactor py code related to filtering connections1946190
Fix #2236 / NetNBSD: skip terminated process threadsa0b096c
[NetBSD] virtual_memory() metrics are completely wrong (#2235), fixes #22349322179
docs: add percentage usage of virtual memory (#2223)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)