Upgrade psutil from 5.6.3 to 5.7.0 #9743
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
https://github.com/giampaolo/psutil/blob/master/HISTORY.rst
Enhancements:
1637: [SunOS] add partial support for old SunOS 5.10 Update 0 to 3.
1648: [Linux] sensors_temperatures() looks into an additional /sys/device/ directory for additional data. (patch by Javad Karabi)
1652: [Windows] dropped support for Windows XP and Windows Server 2003. Minimum supported Windows version now is Windows Vista.
1671: [FreeBSD] add CI testing/service for FreeBSD (Cirrus CI).
1677: [Windows] process exe() will succeed for all process PIDs (instead of raising AccessDenied).
1679: [Windows] net_connections() and Process.connections() are 10% faster.
1682: [PyPy] added CI / test integration for PyPy via Travis.
1686: [Windows] added support for PyPy on Windows.
1693: [Windows] boot_time(), Process.create_time() and users()'s login time now have 1 micro second precision (before the precision was of 1 second).
1527: [Linux] added Process.cpu_times().iowait counter, which is the time spent waiting for blocking I/O to complete.
1565: add PEP 517/8 build backend and requirements specification for better pip integration. (patch by Bernát Gábor)
Bug fixes
1538: [NetBSD] process cwd() may return ENOENT instead of NoSuchProcess.
1627: [Linux] Process.memory_maps() can raise KeyError.
1642: [SunOS] querying basic info for PID 0 results in FileNotFoundError.
1646: [FreeBSD] many Process methods may cause a segfault on FreeBSD 12.0 due to a backward incompatible change in a C type introduced in 12.0.
1656: [Windows] Process.memory_full_info() raises AccessDenied even for the current user and os.getpid().
1660: [Windows] Process.open_files() complete rewrite + check of errors.
1662: [Windows] process exe() may raise WinError 0.
1665: [Linux] disk_io_counters() does not take into account extra fields added to recent kernels. (patch by Mike Hommey)
1672: use the right C type when dealing with PIDs (int or long). Thus far (long) was almost always assumed, which is wrong on most platforms.
1673: [OpenBSD] Process connections(), num_fds() and threads() returned improper exception if process is gone.
1674: [SunOS] disk_partitions() may raise OSError.
1684: [Linux] disk_io_counters() may raise ValueError on systems not having /proc/diskstats.
1695: [Linux] could not compile on kernels <= 2.6.13 due to PSUTIL_HAVE_IOPRIO not being defined. (patch by Anselm Kruis)
1630: [Windows] can't compile source distribution due to C syntax error.
1179: [Linux] Process cmdline() now takes into account misbehaving processes renaming the command line and using inappropriate chars to separate args.
1616: use of Py_DECREF instead of Py_CLEAR will result in double free and segfault (CVE-2019-18874). (patch by Riccardo Schirone)
1619: [OpenBSD] compilation fails due to C syntax error. (patch by Nathan Houghton)
1615: remove pyproject.toml as it was causing installation issues.
875: [Windows] Process' cmdline(), environ() or cwd() may occasionally fail with ERROR_PARTIAL_COPY which now gets translated to AccessDenied.
1126: [Linux] cpu_affinity() segfaults on CentOS 5 / manylinux. cpu_affinity() support for CentOS 5 was removed.
1528: [AIX] compilation error on AIX 7.2 due to 32 vs 64 bit differences. (patch by Arnon Yaari)
1535: 'type' and 'family' fields returned by net_connections() are not always turned into enums.
1536: [NetBSD] process cmdline() erroneously raise ZombieProcess error if cmdline has non encodable chars.
1546: usage percent may be rounded to 0 on Python 2.
1552: [Windows] getloadavg() math for calculating 5 and 15 mins values is incorrect.
1568: [Linux] use CC compiler env var if defined.
1570: [Windows] NtWow64* syscalls fail to raise the proper error code
1585: [OSX] calling close() (in C) on possible negative integers. (patch by Athos Ribeiro)
1606: [SunOS] compilation fails on SunOS 5.10. (patch by vser1)