Skip to content

Update psutil requirement from >=5.9.0 to >=7.2.2 - #10

Merged
OseMine merged 1 commit into
mainfrom
dependabot/pip/psutil-gte-7.2.2
Oct 10, 2026
Merged

OseMine merged 1 commit into
mainfrom
dependabot/pip/psutil-gte-7.2.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

Updates the requirements on psutil to permit the latest version.

Changelog

Sourced from psutil's changelog.

7.2.2 — 2026-01-28 ^^^^^^^^^^^^^^^^^^

Performance

  • :gh:2705, [Linux], [macOS], [BSD]: :meth:Process.wait no longer uses a busy loop. It now uses pidfd_open() + poll() on Linux (requires Linux

    = 5.3 and Python >= 3.9), and kqueue() on macOS and BSD.

Bug fixes

  • :gh:2701, [macOS], 🏷️build-fail: fix compilation error on macOS < 10.7. (patch by :user:Sergey Fedorov <barracuda156>)
  • :gh:2707, [macOS], 🏷️memleak: fix potential memory leaks in error paths of :meth:Process.memory_full_info and :meth:Process.threads.
  • :gh:2708, [macOS]: :meth:Process.cmdline and :meth:Process.environ may fail with OSError: [Errno 0] Undefined error (from sysctl(KERN_PROCARGS2)). They now raise :exc:AccessDenied instead.

7.2.1 — 2025-12-29 ^^^^^^^^^^^^^^^^^^

Bug fixes

  • :gh:2699, [FreeBSD], [NetBSD]: :func:heap_info does not detect small allocations (<= 1K). In order to fix that, we now flush internal jemalloc cache before fetching the metrics.

7.2.0 — 2025-12-23 ^^^^^^^^^^^^^^^^^^

New APIs

  • :gh:1275: new :func:heap_info and :func:heap_trim functions, providing direct access to the platform's native C :term:heap allocator (glibc, mimalloc, libmalloc). Useful to create tools to detect memory leaks.

Build and packaging

  • :gh:2680, 🏷️breaking: unit tests are no longer installed / part of the distribution. They now live under tests/ instead of psutil/tests, so import psutil.tests no longer works (it was never documented to begin with).
  • :gh:2403, [Linux]: publish wheels for Linux musl.

Bug fixes

  • :gh:2684, [FreeBSD], 🏷️build-fail: compilation fails on FreeBSD 14 due to missing include.
  • :gh:2691, [Windows], 🏷️memleak: fix memory leak in

... (truncated)

Commits
  • 9eea97d Pre-release
  • 938ac64 Rm sphinxcontrib.googleanalytics; override layout.html
  • 9dcbb7e Add sphinxcontrib-googleanalytics to requirements.txt
  • 76eaf9a Try to add google analytics to doc
  • de1cafa Update doc mentioning Process.wait() internal details
  • bb30943 Refact can_use_pidfd_open() and can_use_kqueue()
  • a571717 #2708, macos / cmdline / environ; raise AD instead of OSError(0) (#2709)
  • 8b98c3e Pre-release
  • 700b7e6 [macOS] fix potential leaks in error paths (#2707)
  • 7cc7923 Windows / cmdline(): be more defensive in free()ing in case of error
  • Additional commits viewable in compare view

@dependabot @github

dependabot Bot commented on behalf of github Oct 10, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependencies, python. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

Updates the requirements on [psutil](https://github.com/giampaolo/psutil) to permit the latest version.
- [Changelog](https://github.com/giampaolo/psutil/blob/master/docs/changelog.rst)
- [Commits](giampaolo/psutil@v5.9.0...v7.2.2)

---
updated-dependencies:
- dependency-name: psutil
  dependency-version: 7.2.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/pip/psutil-gte-7.2.2 branch from f7682a4 to 21472d9 Compare October 10, 2026 21:46
@OseMine
OseMine merged commit a6dcc42 into main Oct 10, 2026
0 of 3 checks passed
@OseMine
OseMine deleted the dependabot/pip/psutil-gte-7.2.2 branch October 10, 2026 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant