psutil v5.8.0 Release Notes
-
2020-12-19
โจ Enhancements
- 1863_:
disk_partitions()
_ exposes 2 extra fields:maxfile
andmaxpath
, 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], [critical]: always raise
AccessDenied
_ instead ofWindowsError
when failing to query 64 processes from 32 bit ones by usingNtWoW64
APIs. - ๐ 1866_, [Windows], [critical]:
Process.exe()
,Process.cmdline()
,Process.environ()
_ may raise "[WinError 998] Invalid access to memory location" on Python 3.9 / VS 2019. - 1874_, [SunOS]: wrong swap output given when encrypted column is present.
- ๐ 1875_, [Windows], [critical]:
Process.username()
_ may raiseERROR_NONE_MAPPED
if the SID has no corresponding account name. In this caseAccessDenied
_ is now raised. - ๐ 1886_, [macOS]:
EIO
error may be raised onProcess.cmdline()
_ andProcess.environ()
. Now it gets translated intoAccessDenied
. - ๐ 1887_, [Windows], [critical]:
OpenProcess
may fail with "[WinError 0] The operation completed successfully"." Turn it intoAccessDenied
_ orNoSuchProcess
_ depending on whether the PID is alive. - ๐ 1891_, [macOS]: get rid of deprecated
getpagesize()
.
- 1863_: