• [Python-announce] ANN: psutil 7.2.2 released

    From Giampaolo Rodola'@g.rodola@gmail.com to comp.lang.python.announce on Mon Feb 2 17:36:13 2026
    From Newsgroup: comp.lang.python.announce

    Hello all,
    I'm glad to announce the release of psutil 7.2.2: https://github.com/giampaolo/psutil

    See blog post:
    https://gmpy.dev/blog/2026/event-driven-process-waiting


    About
    =====

    psutil (process and system utilities) is a cross-platform library for retrieving information on running processes and system utilization (CPU, memory, disks, network) in Python. It is useful mainly for system
    monitoring, profiling and limiting process resources and management of
    running processes. It implements many functionalities offered by command
    line tools such as: ps, top, lsof, netstat, ifconfig, who, df, kill, free, nice, ionice, iostat, iotop, uptime, pidof, tty, taskset, pmap. It
    currently supports Linux, Windows, macOS, Sun Solaris, FreeBSD, OpenBSD,
    NetBSD and AIX. Supported Python versions are cPython 3.6+ and PyPy.

    What's new
    ==========

    2026-01-28

    **Enhancements**

    - #2705: [Linux]: `Process.wait()`_ now uses ``pidfd_open()`` + ``poll()``
    for
    waiting, resulting in no busy loop and faster response times. Requires
    Linux >= 5.3 and Python >= 3.9. Falls back to traditional polling if
    unavailable.
    - #2705: [macOS], [BSD]: `Process.wait()`_ now uses ``kqueue()`` for
    waiting,
    resulting in no busy loop and faster response times.

    **Bug fixes**

    - #2701, [macOS]: fix compilation error on macOS < 10.7. (patch by Sergey
    Fedorov)
    - #2707, [macOS]: fix potential memory leaks in error paths of
    `Process.memory_full_info()` and `Process.threads()`.
    - #2708, [macOS]: Process.cmdline()`_ and `Process.environ()`_ may fail with
    ``OSError: [Errno 0] Undefined error`` (from ``sysctl(KERN_PROCARGS2)``).
    They now raise `AccessDenied`_ instead.

    Links
    =====

    - Home page: https://github.com/giampaolo/psutil
    - Download: https://pypi.org/project/psutil/#files
    - Documentation: http://psutil.readthedocs.io
    - What's new: https://github.com/giampaolo/psutil/blob/master/HISTORY.rst

    Hashes
    ======

    psutil-7.2.2-cp313-cp313t-macosx_10_13_x86_64.whl
    md5: 6d6c68458477db71083d3655ec3f18a9
    sha256: 2edccc433cbfa046b980b0df0171cd25bcaeb3a68fe9022db0979e7aa74a826b

    psutil-7.2.2-cp313-cp313t-macosx_11_0_arm64.whl
    md5: 380d9ace49206f778b6bce3eaca14474
    sha256: e78c8603dcd9a04c7364f1a3e670cea95d51ee865e4efb3556a3a63adef958ea

    psutil-7.2.2-cp313-cp313t-manylinux2010_x86_64.manylinux_2_12_x86_64.manylinux_2_28_x86_64.whl
    md5: a65aff021780d111143fd7354a36b504
    sha256: 1a571f2330c966c62aeda00dd24620425d4b0cc86881c89861fbc04549e5dc63

    psutil-7.2.2-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
    md5: cf8ee1368435bf0b42ce032f3234b45b
    sha256: 917e891983ca3c1887b4ef36447b1e0873e70c933afc831c6b6da078ba474312

    psutil-7.2.2-cp313-cp313t-win_amd64.whl
    md5: 4bd9479ffaa617c1192bb54876c41189
    sha256: ab486563df44c17f5173621c7b198955bd6b613fb87c71c161f827d3fb149a9b

    psutil-7.2.2-cp313-cp313t-win_arm64.whl
    md5: 751bf4743c88653d925cbcc5d5c23ebe
    sha256: ae0aefdd8796a7737eccea863f80f81e468a1e4cf14d926bd9b6f5f2d5f90ca9

    psutil-7.2.2-cp314-cp314t-macosx_10_15_x86_64.whl
    md5: 4bf84e3887dfd38dc959715accba3190
    sha256: eed63d3b4d62449571547b60578c5b2c4bcccc5387148db46e0c2313dad0ee00

    psutil-7.2.2-cp314-cp314t-macosx_11_0_arm64.whl
    md5: 4a63f53de0e8952be8e2c7667024cd16
    sha256: 7b6d09433a10592ce39b13d7be5a54fbac1d1228ed29abc880fb23df7cb694c9

    psutil-7.2.2-cp314-cp314t-manylinux2010_x86_64.manylinux_2_12_x86_64.manylinux_2_28_x86_64.whl
    md5: 7d8abddc896d1c0a5402c33db577a0bd
    sha256: 1fa4ecf83bcdf6e6c8f4449aff98eefb5d0604bf88cb883d7da3d8d2d909546a

    psutil-7.2.2-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
    md5: c49f0ec609408cf245b16d35557657c0
    sha256: e452c464a02e7dc7822a05d25db4cde564444a67e58539a00f929c51eddda0cf

    psutil-7.2.2-cp314-cp314t-win_amd64.whl
    md5: 9b36745aefa2ce3a948c713d5cc2034a
    sha256: c7663d4e37f13e884d13994247449e9f8f574bc4655d509c3b95e9ec9e2b9dc1

    psutil-7.2.2-cp314-cp314t-win_arm64.whl
    md5: 7c92710cb62c39686a58f4b9daae836d
    sha256: 11fe5a4f613759764e79c65cf11ebdf26e33d6dd34336f8a337aa2996d71c841

    psutil-7.2.2-cp36-abi3-macosx_10_9_x86_64.whl
    md5: 934cb1e9f3104d357f022df9501e18dd
    sha256: ed0cace939114f62738d808fdcecd4c869222507e266e574799e9c0faa17d486

    psutil-7.2.2-cp36-abi3-macosx_11_0_arm64.whl
    md5: a17b3cbf9718fea225435c88973243c9
    sha256: 1a7b04c10f32cc88ab39cbf606e117fd74721c831c98a27dc04578deb0c16979

    psutil-7.2.2-cp36-abi3-manylinux2010_x86_64.manylinux_2_12_x86_64.manylinux_2_28_x86_64.whl
    md5: 440ab2614aa8abfc2e274c27da288929
    sha256: 076a2d2f923fd4821644f5ba89f059523da90dc9014e85f8e45a5774ca5bc6f9

    psutil-7.2.2-cp36-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
    md5: af782b2c9c2e569b22664e340fbc0526
    sha256: b0726cecd84f9474419d67252add4ac0cd9811b04d61123054b9fb6f57df6e9e

    psutil-7.2.2-cp36-abi3-musllinux_1_2_aarch64.whl
    md5: 69d4a0bfd9e9611ba829b270203c675b
    sha256: fd04ef36b4a6d599bbdb225dd1d3f51e00105f6d48a28f006da7f9822f2606d8

    psutil-7.2.2-cp36-abi3-musllinux_1_2_x86_64.whl
    md5: 1c1ea237fadf0b93182dbbc12683e991
    sha256: b58fabe35e80b264a4e3bb23e6b96f9e45a3df7fb7eed419ac0e5947c61e47cc

    psutil-7.2.2-cp37-abi3-win_amd64.whl
    md5: a8df6ec640e62acc69dd49f6fe543ca5
    sha256: eb7e81434c8d223ec4a219b5fc1c47d0417b12be7ea866e24fb5ad6e84b3d988

    psutil-7.2.2-cp37-abi3-win_arm64.whl
    md5: a4709c9c8bc7ebfd346382e8ac5d8267
    sha256: 8c233660f575a5a89e6d4cb65d9f938126312bca76d8fe087b947b3a1aaac9ee

    psutil-7.2.2.tar.gz
    md5: a1c5c30f68a927053be09592d1a4be53
    sha256: 0746f5f8d406af344fd547f1c8daa5f5c33dbc293bb8d6a16d80b4bb88f59372

    --

    Giampaolo - https://gmpy.dev/about
    --- Synchronet 3.21b-Linux NewsLink 1.2