[wpt-sync] Sync PR 39587 - Bump psutil from 5.9.4 to 5.9.5 in /tools
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox114 fixed)
| Tracking | Status | |
|---|---|---|
| firefox114 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 39587 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/39587
Details from upstream follow.
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> wrote:
Bump psutil from 5.9.4 to 5.9.5 in /tools
Bumps 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>""</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>"MemAvailable"</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 "free"
CLI utility.</li>
<li>2164_, [Linux]: compilation fails on kernels < 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 "" 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 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.
<details>
<summary>Dependabot commands and options</summary>
<br />You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)</details>
| Assignee | ||
Comment 1•2 years ago
|
||
| Assignee | ||
Comment 2•2 years ago
|
||
| Assignee | ||
Comment 3•2 years ago
|
||
| Assignee | ||
Comment 5•2 years ago
|
||
Comment 6•2 years ago
|
||
| bugherder | ||
Description
•