Closed Bug 1747933 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 32211 - Bump psutil from 5.8.0 to 5.9.0 in /tools

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox100 fixed)

RESOLVED FIXED
100 Branch
Tracking Status
firefox100 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 32211 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/32211
Details from upstream follow.

dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> wrote:

Bump psutil from 5.8.0 to 5.9.0 in /tools

Bumps psutil from 5.8.0 to 5.9.0.
<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.0</h1>
<p>2021-12-29</p>
<p><strong>Enhancements</strong></p>
<ul>
<li>1851_, [Linux]: <code>cpu_freq()</code>_ is slow on systems with many CPUs. Read current
frequency values for all CPUs from <code>/proc/cpuinfo</code> instead of opening many
files in <code>/sys</code> fs. (patch by marxin)</li>
<li>1992_: <code>NoSuchProcess</code>_ message now specifies if the PID has been reused.</li>
<li>1992_: error classes (<code>NoSuchProcess</code><em>, <code>AccessDenied</code></em>, etc.) now have a better
formatted and separated <code>__repr__</code> and <code>str__</code> implementations.</li>
<li>1996
, [BSD]: add support for MidnightBSD. (patch by Saeed Rasooli)</li>
<li>1999
, [Linux]: <code>disk_partitions()</code>: convert <code>/dev/root</code> device (an alias
used on some Linux distros) to real root device path.</li>
<li>2005
: <code>PSUTIL_DEBUG</code> mode now prints file name and line number of the debug
messages coming from C extension modules.</li>
<li>2042_: rewrite HISTORY.rst to use hyperlinks pointing to psutil API doc.</li>
</ul>
<p><strong>Bug fixes</strong></p>
<ul>
<li>1456_, [macOS], <strong>[critical]</strong>: <code>cpu_freq()</code>_ <code>min</code> and <code>max</code> are set to
0 if can't be determined (instead of crashing).</li>
<li>1512_, [macOS]: sometimes <code>Process.connections()</code>_ will crash with
<code>EOPNOTSUPP</code> for one connection; this is now ignored.</li>
<li>1598_, [Windows]: <code>disk_partitions()</code>_ only returns mountpoints on drives
where it first finds one.</li>
<li>1874_, [SunOS]: swap output error due to incorrect range.</li>
<li>1892_, [macOS]: <code>cpu_freq()</code>_ broken on Apple M1.</li>
<li>1901_, [macOS]: different functions, especially <code>Process.open_files()</code>_ and
<code>Process.connections()</code><em>, could randomly raise <code>AccessDenied</code></em> because the
internal buffer of <code>proc_pidinfo(PROC_PIDLISTFDS)</code> syscall was not big enough.
We now dynamically increase the buffer size until it's big enough instead of
giving up and raising <code>AccessDenied</code>, which was a fallback to avoid crashing.</li>
<li>1904
, [Windows]: <code>OpenProcess</code> fails with <code>ERROR_SUCCESS</code> due to
<code>GetLastError()</code> called after <code>sprintf()</code>. (patch by alxchk)</li>
<li>1913_, [Linux]: <code>wait_procs()</code>_ should catch <code>subprocess.TimeoutExpired</code>
exception.</li>
<li>1919_, [Linux]: <code>sensors_battery()</code>_ can raise <code>TypeError</code> on PureOS.</li>
<li>1921_, [Windows]: <code>swap_memory()</code>_ shows committed memory instead of swap.</li>
<li>1940_, [Linux]: psutil does not handle <code>ENAMETOOLONG</code> when accessing process
file descriptors in procfs. (patch by Nikita Radchenko)</li>
<li>1948_, <strong>[critical]</strong>: <code>memoize_when_activated</code> decorator is not thread-safe.
(patch by Xuehai Pan)</li>
<li>1953_, [Windows], <strong>[critical]</strong>: <code>disk_partitions()</code>_ crashes due to
insufficient buffer len. (patch by MaWe2019)</li>
<li>1965_, [Windows], <strong>[critical]</strong>: fix "Fatal Python error: deallocating None"
when calling <code>users()</code>_ multiple times.</li>
<li>1980_, [Windows]: 32bit / WoW64 processes fails to read <code>Process.name()</code>_ longer</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/giampaolo/psutil/commit/f1a54ad88527e0706fb8a88ad7daae80686acc62"><code>f1a54ad</code></a> pre-release</li>
<li><a href="https://github.com/giampaolo/psutil/commit/d81e75e94a1dd2b8d64caa0e72c771a7196a5d15"><code>d81e75e</code></a> HISTORY.rst add hyperlinks pointing to psutil API doc (<a href="https://github-redirect.dependabot.com/giampaolo/psutil/issues/2042">#2042</a>)</li>
<li><a href="https://github.com/giampaolo/psutil/commit/a7165b5c02670cb7c4886425dd3911dd1b1116a6"><code>a7165b5</code></a> add sponsorhips / supporters <a href="https://github.com/indeedeng"><code>@​indeedeng</code></a> and <a href="https://github.com/PySimpleGUI"><code>@​PySimpleGUI</code></a>; thanks a lot! ;)</li>
<li><a href="https://github.com/giampaolo/psutil/commit/ff2f4d4c4986bffbc5348a197396e11bef057346"><code>ff2f4d4</code></a> assert scripts have +x bit</li>
<li><a href="https://github.com/giampaolo/psutil/commit/ebbaae8d1f42f051282af79d60f19cb1161088a5"><code>ebbaae8</code></a> git pre commit hook: use shlex.split()</li>
<li><a href="https://github.com/giampaolo/psutil/commit/39dc44bfa5fbb9500166b3480295379602e5bbc5"><code>39dc44b</code></a> Automatically sort imports (isort CLI tool) (<a href="https://github-redirect.dependabot.com/giampaolo/psutil/issues/2033">#2033</a>)</li>
<li><a href="https://github.com/giampaolo/psutil/commit/b490b5d51af6ed29709c357a00fcdb6bda26df78"><code>b490b5d</code></a> fix missing arg passed to C psutil_debug()</li>
<li><a href="https://github.com/giampaolo/psutil/commit/eb2f74c153987b4e0d03aa16931d97e8137d9257"><code>eb2f74c</code></a> Fix CI tests / wheels / workflow (<a href="https://github-redirect.dependabot.com/giampaolo/psutil/issues/2024">#2024</a>)</li>
<li><a href="https://github.com/giampaolo/psutil/commit/a1ae994cabff37eb86c6ca4564b4f193a73a7b0d"><code>a1ae994</code></a> fix <a href="https://github-redirect.dependabot.com/giampaolo/psutil/issues/2023">#2023</a> [Linux] cpu_freq() return order is wrong on systems with > 9 CPUs.</li>
<li><a href="https://github.com/giampaolo/psutil/commit/875d2195fc8efa642c7bca714d468551d1805c6c"><code>875d219</code></a> Handle missing dependencies on MidnightBSD (<a href="https://github-redirect.dependabot.com/giampaolo/psutil/issues/2019">#2019</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/giampaolo/psutil/compare/release-5.8.0...release-5.9.0">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 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>

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INVALID
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8acf5d2fcbc8
[wpt PR 32211] - Bump psutil from 5.8.0 to 5.9.0 in /tools, a=testonly
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Test result changes from PR not available.
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d9b97c491bbe
[wpt PR 32211] - Bump psutil from 5.8.0 to 5.9.0 in /tools, a=testonly
Status: REOPENED → RESOLVED
Closed: 2 years ago2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 100 Branch
You need to log in before you can comment on or make changes to this bug.