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.
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| [psutil](https://github.com/giampaolo/psutil) | patch | `==5.9.4` -> `==5.9.5` |
---
### Release Notes
<details>
<summary>giampaolo/psutil</summary>
### [`v5.9.5`](https://github.com/giampaolo/psutil/blob/HEAD/HISTORY.rst#​595)
[Compare Source](https://github.com/giampaolo/psutil/compare/release-5.9.4...release-5.9.5)
\=====
2023-04-17
**Enhancements**
- 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).
**Bug fixes**
- 1043\_, \[OpenBSD] `psutil.net_connections`\_ returns duplicate entries.
- 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.
- 2164\_, \[Linux]: compilation fails on kernels < 2.6.27 (e.g. CentOS 5).
- 2186\_, \[FreeBSD]: compilation fails with Clang 15. (patch by Po-Chuan Hsieh)
- 2191\_, \[Linux]: `disk_partitions()`*: do not unnecessarily read
/proc/filesystems and raise `AccessDenied`* unless user specified `all=False`
argument.
- 2216\_, \[Windows]: fix tests when running in a virtual environment (patch by
Matthieu Darbois)
- 2225\_, \[POSIX]: `users()`\_ loses precision for `started` attribute (off by
1 minute).
- 2229\_, \[OpenBSD]: unable to properly recognize zombie processes.
`NoSuchProcess`\_ may be raised instead of `ZombieProcess`\_.
- 2231\_, \[NetBSD]: *available* `virtual_memory()`\_ is higher than *total*.
- 2234\_, \[NetBSD]: `virtual_memory()`\_ metrics are wrong: *available* and
*used* are too high. We now match values shown by *htop* CLI utility.
- 2236\_, \[NetBSD]: `Process.num_threads()`\_ and `Process.threads()`\_ return
threads that are already terminated.
- 2237\_, \[OpenBSD], \[NetBSD]: `Process.cwd()`\_ may raise `FileNotFoundError`
if cwd no longer exists. Return an empty string instead.
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **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.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS41NC4wIiwidXBkYXRlZEluVmVyIjoiMzUuNTQuMCJ9-->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This PR contains the following updates:
==5.9.4->==5.9.5Release Notes
giampaolo/psutil
v5.9.5Compare Source
=====
2023-04-17
Enhancements
KeyErrorbit deriving from a missed cache hit.DeprecationWarningorUserWarningis raised.
psutil.net_connections_ implementation was rewritten fromscratch:
empty string)
Process.cwd()_ cannot be determined(e.g. directory no longer exists), in which case we returned either
Noneor an empty string. This was consolidated and we now return
""on allplatforms.
its truncated
Process.name()_ (15 chars), don't fail withZombieProcess_when we try to guess the full name from the
Process.cmdline()_. Justreturn the truncated name.
OpenBSD platforms (python 3 only).
Bug fixes
psutil.net_connections_ returns duplicate entries."MemAvailable"field from/proc/meminforeturns0(possibly a kernel bug), in which case wecalculate an approximation for
availablememory which matches "free"CLI utility.
disk_partitions(): do not unnecessarily read/proc/filesystems and raise
AccessDeniedunless user specifiedall=Falseargument.
Matthieu Darbois)
users()_ loses precision forstartedattribute (off by1 minute).
NoSuchProcess_ may be raised instead ofZombieProcess_.virtual_memory()_ is higher than total.virtual_memory()_ metrics are wrong: available andused are too high. We now match values shown by htop CLI utility.
Process.num_threads()_ andProcess.threads()_ returnthreads that are already terminated.
Process.cwd()_ may raiseFileNotFoundErrorif cwd no longer exists. Return an empty string instead.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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 Renovate Bot.