Bump psutil from 5.9.4 to 5.9.5 #78

Open
dependabot[bot] wants to merge 1 commits from dependabot/pip/psutil-5.9.5 into main
dependabot[bot] commented 2023-04-18 12:04:24 +00:00 (Migrated from github.com)

Bumps psutil from 5.9.4 to 5.9.5.

Changelog

Sourced from psutil's changelog.

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

... (truncated)

Commits
  • 0d4900b pre release
  • 190059c 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_BuildValue
  • 0e3f6c4 fix #2238 if cwd() cannot be determined always return "" instead of None
  • b070015 Fix #2237, OpenBSD, cwd(): return None instead of FileNotFoundError
  • b1c1a00 BSD: refactor py code related to filtering connections
  • 1946190 Fix #2236 / NetNBSD: skip terminated process threads
  • a0b096c [NetBSD] virtual_memory() metrics are completely wrong (#2235), fixes #2234
  • 9322179 docs: add percentage usage of virtual memory (#2223)
  • Additional commits viewable in compare view

Dependabot compatibility score

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](https://github.com/giampaolo/psutil) from 5.9.4 to 5.9.5. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/giampaolo/psutil/blob/master/HISTORY.rst">psutil's changelog</a>.</em></p> <blockquote> <h1>5.9.5</h1> <p>2023-04-17</p> <p><strong>Enhancements</strong></p> <ul> <li>2196_: in case of exception, display a cleaner error traceback by hiding the <code>KeyError</code> bit deriving from a missed cache hit.</li> <li>2217_: print the full traceback when a <code>DeprecationWarning</code> or <code>UserWarning</code> is raised.</li> <li>2230_, [OpenBSD]: <code>psutil.net_connections</code>_ implementation was rewritten from scratch: <ul> <li>We're now able to retrieve the path of AF_UNIX sockets (before it was an empty string)</li> <li>The function is faster since it no longer iterates over all processes.</li> <li>No longer produces duplicate connection entries.</li> </ul> </li> <li>2238_: there are cases where <code>Process.cwd()</code>_ cannot be determined (e.g. directory no longer exists), in which case we returned either <code>None</code> or an empty string. This was consolidated and we now return <code>&quot;&quot;</code> on all platforms.</li> <li>2239_, [UNIX]: if process is a zombie, and we can only determine part of the its truncated <code>Process.name()</code>_ (15 chars), don't fail with <code>ZombieProcess</code>_ when we try to guess the full name from the <code>Process.cmdline()</code>_. Just return the truncated name.</li> <li>2240_, [NetBSD], [OpenBSD]: add CI testing on every commit for NetBSD and OpenBSD platforms (python 3 only).</li> </ul> <p><strong>Bug fixes</strong></p> <ul> <li>1043_, [OpenBSD] <code>psutil.net_connections</code>_ returns duplicate entries.</li> <li>1915_, [Linux]: on certain kernels, <code>&quot;MemAvailable&quot;</code> field from <code>/proc/meminfo</code> returns <code>0</code> (possibly a kernel bug), in which case we calculate an approximation for <code>available</code> memory which matches &quot;free&quot; CLI utility.</li> <li>2164_, [Linux]: compilation fails on kernels &lt; 2.6.27 (e.g. CentOS 5).</li> <li>2186_, [FreeBSD]: compilation fails with Clang 15. (patch by Po-Chuan Hsieh)</li> <li>2191_, [Linux]: <code>disk_partitions()</code><em>: do not unnecessarily read /proc/filesystems and raise <code>AccessDenied</code></em> unless user specified <code>all=False</code> argument.</li> <li>2216_, [Windows]: fix tests when running in a virtual environment (patch by Matthieu Darbois)</li> <li>2225_, [POSIX]: <code>users()</code>_ loses precision for <code>started</code> attribute (off by 1 minute).</li> <li>2229_, [OpenBSD]: unable to properly recognize zombie processes. <code>NoSuchProcess</code>_ may be raised instead of <code>ZombieProcess</code>_.</li> <li>2231_, [NetBSD]: <em>available</em> <code>virtual_memory()</code>_ is higher than <em>total</em>.</li> <li>2234_, [NetBSD]: <code>virtual_memory()</code>_ metrics are wrong: <em>available</em> and <em>used</em> are too high. We now match values shown by <em>htop</em> CLI utility.</li> <li>2236_, [NetBSD]: <code>Process.num_threads()</code>_ and <code>Process.threads()</code>_ return</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/giampaolo/psutil/commit/0d4900b073f8697ab21c47d823621bea61f39a3b"><code>0d4900b</code></a> pre release</li> <li><a href="https://github.com/giampaolo/psutil/commit/190059c69d0aa01b3f17ba5191d0a6e6d9669841"><code>190059c</code></a> Add CI testing for OpenBSD and NetBSD (<a href="https://redirect.github.com/giampaolo/psutil/issues/2240">#2240</a>)</li> <li><a href="https://github.com/giampaolo/psutil/commit/aa42066eacc5b1a2135d1737d16138de3511868a"><code>aa42066</code></a> Fix <a href="https://redirect.github.com/giampaolo/psutil/issues/2239">#2239</a> / proc name(): don't fail with ZombieProcess on cmdline()</li> <li><a href="https://github.com/giampaolo/psutil/commit/0a81fa089fd4b25b4b7ee71ed39213b83f73c052"><code>0a81fa0</code></a> <a href="https://redirect.github.com/giampaolo/psutil/issues/2238">#2238</a>: passed wrong value to Py_BuildValue</li> <li><a href="https://github.com/giampaolo/psutil/commit/0e3f6c465181734181f2428b4a99429a82f3fc45"><code>0e3f6c4</code></a> fix <a href="https://redirect.github.com/giampaolo/psutil/issues/2238">#2238</a> if cwd() cannot be determined always return &quot;&quot; instead of None</li> <li><a href="https://github.com/giampaolo/psutil/commit/b070015104ea01689fee9f7c91709c0e2d35a9a8"><code>b070015</code></a> Fix <a href="https://redirect.github.com/giampaolo/psutil/issues/2237">#2237</a>, OpenBSD, cwd(): return None instead of FileNotFoundError</li> <li><a href="https://github.com/giampaolo/psutil/commit/b1c1a005e5919291abc2edb5e6611806bce3346b"><code>b1c1a00</code></a> BSD: refactor py code related to filtering connections</li> <li><a href="https://github.com/giampaolo/psutil/commit/19461905377ce3060b60df1949c082086492dab9"><code>1946190</code></a> Fix <a href="https://redirect.github.com/giampaolo/psutil/issues/2236">#2236</a> / NetNBSD: skip terminated process threads</li> <li><a href="https://github.com/giampaolo/psutil/commit/a0b096c88421548593ecebe93bbe369385087f3b"><code>a0b096c</code></a> [NetBSD] virtual_memory() metrics are completely wrong (<a href="https://redirect.github.com/giampaolo/psutil/issues/2235">#2235</a>), fixes <a href="https://redirect.github.com/giampaolo/psutil/issues/2234">#2234</a></li> <li><a href="https://github.com/giampaolo/psutil/commit/9322179812d3177719c7bab23301646bbf862974"><code>9322179</code></a> docs: add percentage usage of virtual memory (<a href="https://redirect.github.com/giampaolo/psutil/issues/2223">#2223</a>)</li> <li>Additional commits viewable in <a href="https://github.com/giampaolo/psutil/compare/release-5.9.4...release-5.9.5">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=psutil&package-manager=pip&previous-version=5.9.4&new-version=5.9.5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details>
ElBe-Plaq (Migrated from github.com) reviewed 2023-04-18 12:04:24 +00:00
This pull request has changes conflicting with the target branch.
  • requirements.txt

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin dependabot/pip/psutil-5.9.5:dependabot/pip/psutil-5.9.5
git checkout dependabot/pip/psutil-5.9.5
Sign in to join this conversation.
No description provided.