Revisions of python-psutil
Ana Guerrero (anag+factory)
accepted
request 1160631
from
Matej Cepl (mcepl)
(revision 80)
Forwarded request #1160621 from favogt - BuildRequire pkgconfig(libsystemd) instead of full systemd
Ana Guerrero (anag+factory)
accepted
request 1135317
from
Dirk Mueller (dirkmueller)
(revision 79)
- update to 5.9.7: * 2324_: enforce Ruff rule `raw-string-in-exception`, which helps providing clearer tracebacks when exceptions are raised by psutil. * 2325_, [PyPy]: psutil did not compile on PyPy due to missing `PyErr_SetExcFromWindowsErrWithFilenameObject` cPython API. - drop logind_y2038.patch (upstream) we returned either ``None`` or an empty string. * 887: [Linux] virtual_memory()'s 'available' and 'used' values are more precise and match "free" cmdline utility. "available" also takes into account LCX containers * 891: procinfo.py script has been updated and provides a * 825: [Linux] cpu_affinity; fix possible double close and * 885: ValueError is raised if a negative integer is passed * 892: [Linux] Process.cpu_affinity([-1]) raise SystemError * #857: [SunOS] Process cpu_times(), cpu_percent(), threads() amd memory_maps() may raise RuntimeError if attempting to query a 64bit * #858: Process.as_dict() should not return memory_info_ex() because it's * #866: [Windows] win_service_iter() and services in general are not able * #869: [Windows] Process.wait() may raise TimeoutExpired with wrong ValueError: ambiguos inode with multiple PIDs references - minor spec improvement - First import
Ana Guerrero (anag+factory)
accepted
request 1120305
from
Matej Cepl (mcepl)
(revision 77)
Forwarded request #1120112 from aplanas - Rebase logind_y2038.patch based on the reviewed code
Ana Guerrero (anag+factory)
accepted
request 1105468
from
Markéta Machová (mcalabkova)
(revision 74)
Dominique Leuenberger (dimstar_suse)
accepted
request 1084220
from
Dirk Mueller (dirkmueller)
(revision 73)
- update to 5.9.5: * in case of exception, display a cleaner error traceback by hiding the `KeyError` bit deriving from a missed cache hit. * print the full traceback when a `DeprecationWarning` or `UserWarning` is raised. * there are cases where `Process.cwd()`_ cannot be determined (e.g. directory no longer exists), in which case we returned either ``None`` or an empty string. This was consolidated and we now return ``""`` on all platforms. * [UNIX]: if process is a zombie, and we can only determine part of the its truncated `Process.name()`_ (15 chars), don't fail with `ZombieProcess`_ when we try to guess the full name from the `Process.cmdline()`_. Just return the truncated name. * on certain kernels, ``"MemAvailable"`` field from ``/proc/meminfo`` returns ``0`` (possibly a kernel bug), in which case we calculate an approximation for ``available`` memory which matches "free" CLI utility. * `disk_partitions()`_: do not unnecessarily read /proc/filesystems and raise `AccessDenied`_ unless user specified `all=False` argument. * `users()`_ loses precision for ``started`` attribute (off by 1 minute). * if cwd no longer exists. Return an empty string instead.
Dominique Leuenberger (dimstar_suse)
accepted
request 1081822
from
Dirk Mueller (dirkmueller)
(revision 72)
Dominique Leuenberger (dimstar_suse)
accepted
request 1034803
from
Dirk Mueller (dirkmueller)
(revision 70)
Dominique Leuenberger (dimstar_suse)
accepted
request 1030870
from
Dirk Mueller (dirkmueller)
(revision 69)
Dominique Leuenberger (dimstar_suse)
accepted
request 1003536
from
Markéta Machová (mcalabkova)
(revision 68)
Dominique Leuenberger (dimstar_suse)
accepted
request 989376
from
Markéta Machová (mcalabkova)
(revision 67)
Dominique Leuenberger (dimstar_suse)
accepted
request 979035
from
Markéta Machová (mcalabkova)
(revision 65)
Dominique Leuenberger (dimstar_suse)
accepted
request 950795
from
Matej Cepl (mcepl)
(revision 64)
- Fix name of Patch4, it is skip-partitions-erros.patch - Add skip-partitions-erros.patch skipping tests failing on Linux (gh#giampaolo/psutil#2043).
Dominique Leuenberger (dimstar_suse)
accepted
request 945437
from
Dirk Mueller (dirkmueller)
(revision 63)
- update to 5.9.0: * [Linux]: `cpu_freq()`_ is slow on systems with many CPUs. Read current frequency values for all CPUs from ``/proc/cpuinfo`` instead of opening many files in ``/sys`` fs. (patch by marxin) * `NoSuchProcess`_ message now specifies if the PID has been reused. * error classes (`NoSuchProcess`_, `AccessDenied`_, etc.) now have a better formatted and separated ``__repr__`` and ``__str__`` implementations. * [Linux]: `disk_partitions()`_: convert ``/dev/root`` device (an alias used on some Linux distros) to real root device path. * ``PSUTIL_DEBUG`` mode now prints file name and line number of the debug messages coming from C extension modules. * rewrite HISTORY.rst to use hyperlinks pointing to psutil API doc. * [Linux]: `wait_procs()`_ should catch ``subprocess.TimeoutExpired`` exception. * [Linux]: `sensors_battery()`_ can raise ``TypeError`` on PureOS. * [Linux]: psutil does not handle ``ENAMETOOLONG`` when accessing process file descriptors in procfs. (patch by Nikita Radchenko) * **[critical]**: ``memoize_when_activated`` decorator is not thread-safe. * **[critical]**: `process_iter()`_ is not thread safe and can raise ``TypeError`` if invoked from multiple threads. * [Linux]: `cpu_freq()`_ return order is wrong on systems with more than 9 CPUs.
Dominique Leuenberger (dimstar_suse)
accepted
request 933615
from
Steve Kowalik (StevenK)
(revision 62)
- Update skip-obs.patch to also skip TestProcess.test_ionice_linux
Dominique Leuenberger (dimstar_suse)
accepted
request 892577
from
Matej Cepl (mcepl)
(revision 61)
- remove the dependency on net-tools, since it conflicts with busybox-hostnmame which is default on MicroOS. boo#1184753
Displaying revisions 1 - 20 of 80