psutil v5.8.0 Release Notes

  • 2020-12-19

    โœจ Enhancements

    • 1863_: disk_partitions() exposes 2 extra fields: maxfile and maxpath, which are the maximum file name and path name length.
    • ๐Ÿ 1872_: [Windows] added support for PyPy 2.7.
    • ๐ŸŽ 1879_: provide pre-compiled wheels for Linux and macOS (yey!).
    • ๐Ÿ‘ท 1880_: get rid of Travis and Cirrus CI services (they are no longer free). CI testing is now done by GitHub Actions on Linux, macOS and FreeBSD (yes). AppVeyor is still being used for Windows CI.

    ๐Ÿ› Bug fixes

    • ๐Ÿง 1708_: [Linux] get rid of sensors_temperatures() duplicates. (patch by Tim Schlueter).
    • ๐Ÿ 1839_: [Windows] always raise AccessDenied when failing to query 64 processes from 32 bit ones (NtWoW64 APIs).
    • ๐Ÿ 1866_: [Windows] process exe(), cmdline(), environ() may raise "invalid access to memory location" on Python 3.9.
    • 1874_: [Solaris] wrong swap output given when encrypted column is present.
    • ๐Ÿ 1875_: [Windows] process username() may raise ERROR_NONE_MAPPED if the SID has no corresponding account name. In this case AccessDenied is now raised.
    • ๐Ÿ 1877_: [Windows] OpenProcess may fail with ERROR_SUCCESS. Turn it into AccessDenied or NoSuchProcess depending on whether the PID is alive.
    • ๐ŸŽ 1886_: [macOS] EIO error may be raised on cmdline() and environment(). Now it gets translated into AccessDenied.
    • ๐ŸŽ 1891_: [macOS] get rid of deprecated getpagesize().