• [Python-announce] ANN: psutil 6.0.0 released

    From Giampaolo Rodola'@g.rodola@gmail.com to comp.lang.python.announce on Tue Jun 18 23:44:00 2024
    From Newsgroup: comp.lang.python.announce

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

    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 2.7 and 3.6+. PyPy is also
    known to work.

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

    **Enhancements**

    - #2109: ``maxfile`` and ``maxpath`` fields were removed from the namedtuple
    returned by `disk_partitions()`_. Reason: on network filesystems (NFS)
    this
    can potentially take a very long time to complete.
    - #2366, [Windows]: log debug message when using slower process APIs.
    - #2375, [macOS]: provide arm64 wheels. (patch by Matthieu Darbois)
    - #2396: `process_iter()`_ no longer pre-emptively checks whether PIDs have
    been reused. This makes `process_iter()`_ around 20x times faster.
    - #2396: a new ``psutil.process_iter.cache_clear()`` API can be used the
    clear
    `process_iter()`_ internal cache.
    - #2401, Support building with free-threaded CPython 3.13.
    - #2407: `Process.connections()`_ was renamed to
    `Process.net_connections()`_.
    The old name is still available, but it's deprecated (triggers a
    ``DeprecationWarning``) and will be removed in the future.
    - #2425: [Linux]: provide aarch64 wheels. (patch by Matthieu Darbois / Ben Raz)

    **Bug fixes**

    - #2250, [NetBSD]: `Process.cmdline()`_ sometimes fail with EBUSY. It
    usually
    happens for long cmdlines with lots of arguments. In this case retry
    getting
    the cmdline for up to 50 times, and return an empty list as last resort.
    - #2254, [Linux]: offline cpus raise NotImplementedError in cpu_freq()
    (patch
    by Shade Gladden)
    - #2272: Add pickle support to psutil Exceptions.
    - #2359, [Windows], [CRITICAL]: `pid_exists()`_ disagrees with `Process`_ on
    whether a pid exists when ERROR_ACCESS_DENIED.
    - #2360, [macOS]: can't compile on macOS < 10.13. (patch by Ryan Schmidt)
    - #2362, [macOS]: can't compile on macOS 10.11. (patch by Ryan Schmidt)
    - #2365, [macOS]: can't compile on macOS < 10.9. (patch by Ryan Schmidt)
    - #2395, [OpenBSD]: `pid_exists()`_ erroneously return True if the argument
    is
    a thread ID (TID) instead of a PID (process ID).
    - #2412, [macOS]: can't compile on macOS 10.4 PowerPC due to missing `MNT_`
    constants.

    **Porting notes**

    Version 6.0.0 introduces some changes which affect backward compatibility:

    - #2109: the namedtuple returned by `disk_partitions()`_' no longer has
    ``maxfile`` and ``maxpath`` fields.
    - #2396: `process_iter()`_ no longer pre-emptively checks whether PIDs have
    been reused. If you want to check for PID reusage you are supposed to use
    `Process.is_running()`_ against the yielded `Process`_ instances. That
    will
    also automatically remove reused PIDs from `process_iter()`_ internal
    cache.
    - #2407: `Process.connections()`_ was renamed to
    `Process.net_connections()`_.
    The old name is still available, but it's deprecated (triggers a
    ``DeprecationWarning``) and will be removed in the future.

    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-6.0.0-cp27-cp27m-macosx_10_9_x86_64.whl
    md5: 35ce0ce7ea8c42b598b5176c09dae79a
    sha256: a021da3e881cd935e64a3d0a20983bda0bb4cf80e4f74fa9bfcb1bc5785360c6

    psutil-6.0.0-cp27-cp27m-manylinux2010_i686.whl
    md5: 6bdf23a474386e58fa2b4c8929811800
    sha256: 1287c2b95f1c0a364d23bc6f2ea2365a8d4d9b726a3be7294296ff7ba97c17f0

    psutil-6.0.0-cp27-cp27m-manylinux2010_x86_64.whl
    md5: 81855a37f7808cd1af5a678c6338f133
    sha256: a9a3dbfb4de4f18174528d87cc352d1f788b7496991cca33c6996f40c9e3c92c

    psutil-6.0.0-cp27-cp27mu-manylinux2010_i686.whl
    md5: 4c2514ddcda4351e005fb25c1259d150
    sha256: 6ec7588fb3ddaec7344a825afe298db83fe01bfaaab39155fa84cf1c0d6b13c3

    psutil-6.0.0-cp27-cp27mu-manylinux2010_x86_64.whl
    md5: c39ecfa852f728ba68d93c7aa97e451b
    sha256: 1e7c870afcb7d91fdea2b37c24aeb08f98b6d67257a5cb0a8bc3ac68d0f1a68c

    psutil-6.0.0-cp27-none-win32.whl
    md5: d2b38d0c16d0988ffbd5e5a10f61d2e3
    sha256: 02b69001f44cc73c1c5279d02b30a817e339ceb258ad75997325e0e6169d8b35

    psutil-6.0.0-cp27-none-win_amd64.whl
    md5: c5517d69f2a14d0f679512acd953de65
    sha256: 21f1fb635deccd510f69f485b87433460a603919b45e2a324ad65b0cc74f8fb1

    psutil-6.0.0-cp36-abi3-macosx_10_9_x86_64.whl
    md5: b20faa47dac5d7798665052cd1718bd5
    sha256: c588a7e9b1173b6e866756dde596fd4cad94f9399daf99ad8c3258b3cb2b47a0

    psutil-6.0.0-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl
    md5: 9f6b5dfaa34d5ffa33f81227d3afd9be
    sha256: 6ed2440ada7ef7d0d608f20ad89a04ec47d2d3ab7190896cd62ca5fc4fe08bf0

    psutil-6.0.0-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
    md5: 2a232d2d2f99aa75a2068c6d72129556
    sha256: 5fd9a97c8e94059b0ef54a7d4baf13b405011176c3b6ff257c247cae0d560ecd

    psutil-6.0.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
    md5: af1504b1291de825befe4dab508c9287
    sha256: e2e8d0054fc88153ca0544f5c4d554d42e33df2e009c4ff42284ac9ebdef4132

    psutil-6.0.0-cp36-cp36m-win32.whl
    md5: 67aee064c6452f35a02d6421fd500615
    sha256: fc8c9510cde0146432bbdb433322861ee8c3efbf8589865c8bf8d21cb30c4d14

    psutil-6.0.0-cp36-cp36m-win_amd64.whl
    md5: 085d567a054943f08a52917785c79356
    sha256: 34859b8d8f423b86e4385ff3665d3f4d94be3cdf48221fbe476e883514fdb71c

    psutil-6.0.0-cp37-abi3-win32.whl
    md5: 3ccc6dd87c8bea6e5587376e395967b8
    sha256: a495580d6bae27291324fe60cea0b5a7c23fa36a7cd35035a16d93bdcf076b9d

    psutil-6.0.0-cp37-abi3-win_amd64.whl
    md5: 34189005432c119fde809d99b317c38d
    sha256: 33ea5e1c975250a720b3a6609c490db40dae5d83a4eb315170c4fe0d8b1f34b3

    psutil-6.0.0-cp38-abi3-macosx_11_0_arm64.whl
    md5: ea04c5243e35f708c6c45380b241851e
    sha256: ffe7fc9b6b36beadc8c322f84e1caff51e8703b88eee1da46d1e3a6ae11b4fd0

    psutil-6.0.0.tar.gz
    md5: 5874bd773d2fe7da3c0817424f383033
    sha256: 8faae4f310b6d969fa26ca0545338b21f73c6b15db7c4a8d934a5482faa818f2

    --

    Giampaolo - https://gmpy.dev/about
    --- Synchronet 3.20a-Linux NewsLink 1.114