Accepting request 522427 from home:stroeder:branches:devel:languages:python
update to version 5.3.0 OBS-URL: https://build.opensuse.org/request/show/522427 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=78
This commit is contained in:
parent
6da2ce2bb5
commit
0c5f80f5aa
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:44746540c0fab5b95401520d29eb9ffe84b3b4a235bd1d1971cbe36e1f38dd13
|
||||
size 348413
|
3
psutil-5.3.0.tar.gz
Normal file
3
psutil-5.3.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a3940e06e92c84ab6e82b95dad056241beea93c3c9b1d07ddf96485079855185
|
||||
size 397265
|
@ -1,3 +1,107 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 8 19:17:33 UTC 2017 - michael@stroeder.com
|
||||
|
||||
- update to version 5.3.0
|
||||
|
||||
**Enhancements**
|
||||
- 802_: disk_io_counters() and net_io_counters() numbers no longer wrap
|
||||
(restart from 0). Introduced a new "nowrap" argument.
|
||||
- 928_: psutil.net_connections() and psutil.Process.connections() "laddr" and
|
||||
"raddr" are now named tuples.
|
||||
- 1015_: swap_memory() now relies on /proc/meminfo instead of sysinfo() syscall
|
||||
so that it can be used in conjunction with PROCFS_PATH in order to retrieve
|
||||
memory info about Linux containers such as Docker and Heroku.
|
||||
- 1022_: psutil.users() provides a new "pid" field.
|
||||
- 1025_: process_iter() accepts two new parameters in order to invoke
|
||||
Process.as_dict(): "attrs" and "ad_value". With this you can iterate over all
|
||||
processes in one shot without needing to catch NoSuchProcess and do list/dict
|
||||
comprehensions.
|
||||
- 1040_: implemented full unicode support.
|
||||
- 1051_: disk_usage() on Python 3 is now able to accept bytes.
|
||||
- 1058_: test suite now enables all warnings by default.
|
||||
- 1060_: source distribution is dynamically generated so that it only includes
|
||||
relevant files.
|
||||
- 1079_: [FreeBSD] net_connections()'s fd number is now being set for real
|
||||
(instead of -1). (patch by Gleb Smirnoff)
|
||||
- 1091_: [SunOS] implemented Process.environ(). (patch by Oleksii Shevchuk)
|
||||
|
||||
**Bug fixes**
|
||||
- 989_: [Windows] boot_time() may return a negative value.
|
||||
- 1007_: [Windows] boot_time() can have a 1 sec fluctuation between calls; the
|
||||
value of the first call is now cached so that boot_time() always returns the
|
||||
same value if fluctuation is <= 1 second.
|
||||
- 1013_: [FreeBSD] psutil.net_connections() may return incorrect PID. (patch
|
||||
by Gleb Smirnoff)
|
||||
- 1014_: [Linux] Process class can mask legitimate ENOENT exceptions as
|
||||
NoSuchProcess.
|
||||
- 1016_: disk_io_counters() raises RuntimeError on a system with no disks.
|
||||
- 1017_: net_io_counters() raises RuntimeError on a system with no network
|
||||
cards installed.
|
||||
- 1021_: [Linux] open_files() may erroneously raise NoSuchProcess instead of
|
||||
skipping a file which gets deleted while open files are retrieved.
|
||||
- 1029_: [OSX, FreeBSD] Process.connections('unix') on Python 3 doesn't
|
||||
properly handle unicode paths and may raise UnicodeDecodeError.
|
||||
- 1033_: [OSX, FreeBSD] memory leak for net_connections() and
|
||||
Process.connections() when retrieving UNIX sockets (kind='unix').
|
||||
- 1040_: fixed many unicode related issues such as UnicodeDecodeError on
|
||||
Python 3 + UNIX and invalid encoded data on Windows.
|
||||
- 1042_: [FreeBSD] psutil won't compile on FreeBSD 12.
|
||||
- 1044_: [OSX] different Process methods incorrectly raise AccessDenied for
|
||||
zombie processes.
|
||||
- 1046_: [Windows] disk_partitions() on Windows overrides user's SetErrorMode.
|
||||
- 1047_: [Windows] Process username(): memory leak in case exception is thrown.
|
||||
- 1048_: [Windows] users()'s host field report an invalid IP address.
|
||||
- 1050_: [Windows] Process.memory_maps memory() leaks memory.
|
||||
- 1055_: cpu_count() is no longer cached; this is useful on systems such as
|
||||
Linux where CPUs can be disabled at runtime. This also reflects on
|
||||
Process.cpu_percent() which no longer uses the cache.
|
||||
- 1058_: fixed Python warnings.
|
||||
- 1062_: disk_io_counters() and net_io_counters() raise TypeError if no disks
|
||||
or NICs are installed on the system.
|
||||
- 1063_: [NetBSD] net_connections() may list incorrect sockets.
|
||||
- 1064_: [NetBSD] swap_memory() may segfault in case of error.
|
||||
- 1065_: [OpenBSD] Process.cmdline() may raise SystemError.
|
||||
- 1067_: [NetBSD] Process.cmdline() leaks memory if process has terminated.
|
||||
- 1069_: [FreeBSD] Process.cpu_num() may return 255 for certain kernel
|
||||
processes.
|
||||
- 1071_: [Linux] cpu_freq() may raise IOError on old RedHat distros.
|
||||
- 1074_: [FreeBSD] sensors_battery() raises OSError in case of no battery.
|
||||
- 1075_: [Windows] net_if_addrs(): inet_ntop() return value is not checked.
|
||||
- 1077_: [SunOS] net_if_addrs() shows garbage addresses on SunOS 5.10.
|
||||
(patch by Oleksii Shevchuk)
|
||||
- 1077_: [SunOS] net_connections() does not work on SunOS 5.10. (patch by
|
||||
Oleksii Shevchuk)
|
||||
- 1079_: [FreeBSD] net_connections() didn't list locally connected sockets.
|
||||
(patch by Gleb Smirnoff)
|
||||
- 1085_: cpu_count() return value is now checked and forced to None if <= 1.
|
||||
- 1087_: Process.cpu_percent() guard against cpu_count() returning None and
|
||||
assumes 1 instead.
|
||||
- 1093_: [SunOS] memory_maps() shows wrong 64 bit addresses.
|
||||
- 1094_: [Windows] psutil.pid_exists() may lie. Also, all process APIs relying
|
||||
on OpenProcess Windows API now check whether the PID is actually running.
|
||||
- 1098_: [Windows] Process.wait() may erroneously return sooner, when the PID
|
||||
is still alive.
|
||||
- 1099_: [Windows] Process.terminate() may raise AccessDenied even if the
|
||||
process already died.
|
||||
- 1101_: [Linux] sensors_temperatures() may raise ENODEV.
|
||||
|
||||
**Porting notes**
|
||||
|
||||
- 1039_: returned types consolidation:
|
||||
- Windows / Process.cpu_times(): fields #3 and #4 were int instead of float
|
||||
- Linux / FreeBSD: connections('unix'): raddr is now set to "" instead of
|
||||
None
|
||||
- OpenBSD: connections('unix'): laddr and raddr are now set to "" instead of
|
||||
None
|
||||
- 1040_: all strings are encoded by using OS fs encoding.
|
||||
- 1040_: the following Windows APIs on Python 2 now return a string instead of
|
||||
unicode:
|
||||
- Process.memory_maps().path
|
||||
- WindowsService.bin_path()
|
||||
- WindowsService.description()
|
||||
- WindowsService.display_name()
|
||||
- WindowsService.username()
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 11 14:24:34 UTC 2017 - toddrme2178@gmail.com
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-psutil
|
||||
Version: 5.2.2
|
||||
Version: 5.3.0
|
||||
Release: 0
|
||||
Summary: A process utilities module for Python
|
||||
License: BSD-3-Clause
|
||||
|
Loading…
x
Reference in New Issue
Block a user