Skip to content

Commit

Permalink
Update psutil requirement from ~=6.0.0 to ~=6.1.0 (#126)
Browse files Browse the repository at this point in the history
Updates the requirements on
[psutil](https:/giampaolo/psutil) to permit the latest
version.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https:/giampaolo/psutil/blob/master/HISTORY.rst">psutil's
changelog</a>.</em></p>
<blockquote>
<h1>6.1.0</h1>
<p>2024-10-17</p>
<p><strong>Enhancements</strong></p>
<ul>
<li>2366_, [Windows]: drastically speedup
<code>process_iter()</code><em>. We now determine
process unique identity by using process &quot;fast&quot; create time
method. This
will considerably speedup those apps which use
<code>process_iter()</code></em> only once,
e.g. to look for a process with a certain name.</li>
<li>2446_: use pytest instead of unittest.</li>
<li>2448_: add <code>make install-sysdeps</code> target to install the
necessary system
dependencies (python-dev, gcc, etc.) on all supported UNIX flavors.</li>
<li>2449_: add <code>make install-pydeps-test</code> and <code>make
install-pydeps-dev</code>
targets. They can be used to install dependencies meant for running
tests and
for local development. They can also be installed via <code>pip install
.[test]</code>
and <code>pip install .[dev]</code>.</li>
<li>2456_: allow to run tests via <code>python3 -m psutil.tests</code>
even if <code>pytest</code>
module is not installed. This is useful for production environments that
don't have pytest installed, but still want to be able to test psutil
installation.</li>
</ul>
<p><strong>Bug fixes</strong></p>
<ul>
<li>2427_: psutil (segfault) on import in the free-threaded (no GIL)
version of
Python 3.13.  (patch by Sam Gross)</li>
<li>2455_, [Linux]: <code>IndexError</code> may occur when reading
/proc/pid/stat and
field 40 (blkio_ticks) is missing.</li>
<li>2457_, [AIX]: significantly improve the speed of
<code>Process.open_files()</code>_ for
some edge cases.</li>
<li>2460_, [OpenBSD]: <code>Process.num_fds()</code>_ and
<code>Process.open_files()</code>_ may fail
with <code>NoSuchProcess</code>_ for PID 0. Instead, we now return
&quot;null&quot; values (0 and
[] respectively).</li>
</ul>
<h1>6.0.0</h1>
<p>2024-06-18</p>
<p><strong>Enhancements</strong></p>
<ul>
<li>2109_: <code>maxfile</code> and <code>maxpath</code> fields were
removed from the namedtuple
returned by <code>disk_partitions()</code>_. Reason: on network
filesystems (NFS) this
can potentially take a very long time to complete.</li>
<li>2366_, [Windows]: log debug message when using slower process
APIs.</li>
<li>2375_, [macOS]: provide arm64 wheels. (patch by Matthieu
Darbois)</li>
<li>2396_: <code>process_iter()</code>_ no longer pre-emptively checks
whether PIDs have
been reused. This makes <code>process_iter()</code>_ around 20x times
faster.</li>
<li>2396_: a new <code>psutil.process_iter.cache_clear()</code> API can
be used the clear</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https:/giampaolo/psutil/commit/fb68f9fae3b398899d87161746884ebb2a2613c0"><code>fb68f9f</code></a>
pre release</li>
<li><a
href="https:/giampaolo/psutil/commit/567438cd3eb4334486d88ba90aa14c65755b61cd"><code>567438c</code></a>
[Windows] speed up <code>process_iter()</code> (<a
href="https://redirect.github.com/giampaolo/psutil/issues/2444">#2444</a>)</li>
<li><a
href="https:/giampaolo/psutil/commit/b1a759399a461996fef72a1f888cc8a60535d500"><code>b1a7593</code></a>
Use <code>pytest.skip</code> instead of <code>unittest.SkipTest</code>
(<a
href="https://redirect.github.com/giampaolo/psutil/issues/2461">#2461</a>)</li>
<li><a
href="https:/giampaolo/psutil/commit/b19d5bd1871c96a6b3dcc70d0c9965dcadb74878"><code>b19d5bd</code></a>
AIX: improve open_files() regexp speed (<a
href="https://redirect.github.com/giampaolo/psutil/issues/2457">#2457</a>)</li>
<li><a
href="https:/giampaolo/psutil/commit/223938f0409b0d040809333587f6a1027784c9e2"><code>223938f</code></a>
Use <code>@pytest.mark.skipif</code> decorator instead of
<code>@unittest.skipIf</code> (<a
href="https://redirect.github.com/giampaolo/psutil/issues/2459">#2459</a>)</li>
<li><a
href="https:/giampaolo/psutil/commit/f65fe4451a26205e3c0f9a97e7e49902bf275c3b"><code>f65fe44</code></a>
[OpenBSD] Process <code>num_fds()</code> and <code>open_files()</code>
may raise NSP for PID 0 (<a
href="https://redirect.github.com/giampaolo/psutil/issues/2460">#2460</a>)</li>
<li><a
href="https:/giampaolo/psutil/commit/0a71d0e404ddaab32b5222351fd2292802e3b131"><code>0a71d0e</code></a>
enable ruff cache (faster)</li>
<li><a
href="https:/giampaolo/psutil/commit/4649a8870107873efca51f068b40e814ef38f0bb"><code>4649a88</code></a>
Run tests without pytests (<a
href="https://redirect.github.com/giampaolo/psutil/issues/2456">#2456</a>)</li>
<li><a
href="https:/giampaolo/psutil/commit/80af8793ddef10c4094c2c533da422663fedf092"><code>80af879</code></a>
revert change which broke python 2 tests</li>
<li><a
href="https:/giampaolo/psutil/commit/4e85bee505038a691eaf89d12609bf9e8ca3c5c0"><code>4e85bee</code></a>
change call_until() signature so that it can be used with lambda</li>
<li>Additional commits viewable in <a
href="https:/giampaolo/psutil/compare/release-6.0.0...release-6.1.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`.

[//]: # (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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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>
  • Loading branch information
DefinetlyNotAI authored Oct 18, 2024
2 parents 591e306 + 1b9fc01 commit f2e6eb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
requests~=2.32.3
psutil~=6.0.0
psutil~=6.1.0
DateTime~=5.5
pathlib~=1.0.1
colorlog~=6.8.2

0 comments on commit f2e6eb2

Please sign in to comment.