python-psutil: bump to 7.2.2
authorAlexandru Ardelean <redacted>
Mon, 23 Mar 2026 18:58:36 +0000 (18:58 +0000)
committerAlexandru Ardelean <redacted>
Wed, 25 Mar 2026 05:05:06 +0000 (07:05 +0200)
commit47d4485ae41249961354398cd8a425adaa043ecc
tree7d99ce75fb14f6603a7b988e8552791b73ab4cdc
parentfacb68ee6979e92401700062dd6b261a7a31be98
python-psutil: bump to 7.2.2

Notable changes since 5.9.5:

v6.0.0:
- process_iter() is now ~20x faster (no longer pre-emptively checks
  PID reuse); add process_iter.cache_clear() API
- Process.connections() renamed to Process.net_connections()
  (old name deprecated)
- disk_partitions() namedtuple drops maxfile/maxpath fields
- Support building with free-threaded CPython 3.13

v7.0.0:
- Drop Python 2.7 support

v7.2.0:
- New heap_info() and heap_trim() functions for native C heap allocator
  access (glibc, mimalloc, libmalloc)
- Tests are no longer part of the installed package

v7.2.2:
- [Linux] Process.wait() now uses pidfd_open() + poll() for waiting
  (no busy loop, faster response); requires Linux >= 5.3 + Python 3.9,
  falls back to polling otherwise
- [macOS/BSD] Process.wait() now uses kqueue() for waiting
- Various macOS memory leak and error handling fixes

Also refresh 100-fix-non-Linux-compile.patch for the updated setup.py
(noqa comment style changed; _compat imports removed upstream).
Add test.sh.

Full changelog:
https://github.com/giampaolo/psutil/blob/master/HISTORY.rst

Co-Authored-By: Claude Sonnet 4.6 <redacted>
Signed-off-by: Alexandru Ardelean <redacted>
lang/python/python-psutil/Makefile
lang/python/python-psutil/patches/100-fix-non-Linux-compile.patch
lang/python/python-psutil/test.sh [new file with mode: 0755]
git clone https://git.99rst.org/PROJECT