• [Python-announce] ANN: psutil 7.0.0 released (remove Python 2.7 support)

    From Giampaolo Rodola'@g.rodola@gmail.com to comp.lang.python.announce on Thu Feb 13 23:04:51 2025
    From Newsgroup: comp.lang.python.announce

    Hello all,
    I'm glad to announce the release of psutil 7.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 cPython 3.6+ and PyPy.

    This release removes support for Python 2.7. See blog post: https://gmpy.dev/blog/2025/psutil-drop-python-27-support

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

    2025-02-13

    **Enhancements**

    - #669, [Windows]: `net_if_addrs()`_ also returns the ``broadcast`` address
    instead of ``None``.
    - #2480: Python 2.7 is no longer supported. Latest version supporting Python
    2.7 is psutil 6.1.X. Install it with: ``pip2 install psutil==6.1.*``.
    - #2490: removed long deprecated ``Process.memory_info_ex()`` method. It was
    deprecated in psutil 4.0.0, released 8 years ago. Substitute is
    ``Process.memory_full_info()``.

    **Bug fixes**

    - #2496, [Linux]: Avoid segfault (a cPython bug) on
    ``Process.memory_maps()``
    for processes that use hundreds of GBs of memory.
    - #2502, [macOS]: `virtual_memory()`_ now relies on ``host_statistics64``
    instead of ``host_statistics``. This is the same approach used by
    ``vm_stat``
    CLI tool, and should grant more accurate results.

    **Compatibility notes**

    - #2480: Python 2.7 is no longer supported.
    - #2490: removed long deprecated ``Process.memory_info_ex()`` method.

    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.0.0-cp36-abi3-macosx_10_9_x86_64.whl
    md5: c2607c927edc1f378d45b0d38f86e7c1
    sha256: 101d71dc322e3cffd7cea0650b09b3d08b8e7c4109dd6809fe452dfd00e58b25

    psutil-7.0.0-cp36-abi3-macosx_11_0_arm64.whl
    md5: 361dc77a06c0d7e4ff8264147ac76b47
    sha256: 39db632f6bb862eeccf56660871433e111b6ea58f2caea825571951d4b6aa3da

    psutil-7.0.0-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl
    md5: d1b25e4e43c96c8ce6b6699e7343f91c
    sha256: 1fcee592b4c6f146991ca55919ea3d1f8926497a713ed7faaf8225e174581e91

    psutil-7.0.0-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
    md5: 7afbeec81bc99116377660f1e7c345a7
    sha256: 4b1388a4f6875d7e2aff5c4ca1cc16c545ed41dd8bb596cefea80111db353a34

    psutil-7.0.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
    md5: dc5502c0042a6e5cd4bb2feb12f2565b
    sha256: a5f098451abc2828f7dc6b58d44b532b22f2088f4999a937557b603ce72b1993

    psutil-7.0.0-cp36-cp36m-win32.whl
    md5: 2201432bbed8a14068a75337023952c0
    sha256: 84df4eb63e16849689f76b1ffcb36db7b8de703d1bc1fe41773db487621b6c17

    psutil-7.0.0-cp36-cp36m-win_amd64.whl
    md5: f62c8bf1d36d2b15c4384828a580d4bc
    sha256: 1e744154a6580bc968a0195fd25e80432d3afec619daf145b9e5ba16cc1d688e

    psutil-7.0.0-cp37-abi3-win32.whl
    md5: 2e8f0c36ed491306547c4adf7e7ab31f
    sha256: ba3fcef7523064a6c9da440fc4d6bd07da93ac726b5733c29027d7dc95b39d99

    psutil-7.0.0-cp37-abi3-win_amd64.whl
    md5: 5992b730c3f438c9f0c3dc53481cffd3
    sha256: 4cf3d4eb1aa9b348dec30105c55cd9b7d4629285735a102beb4441e38db90553

    psutil-7.0.0.tar.gz
    md5: 1c074ff5828dff3a3ecfa0e0f9de2e63
    sha256: 7be9c3eba38beccb6495ea33afd982a44074b78f28c434a1f51cc07fd315c456

    --

    Giampaolo - https://gmpy.dev/about
    --- Synchronet 3.20c-Linux NewsLink 1.2