forked from pool/python-psutil
- 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. 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 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=168
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
%endif
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-psutil
|
||||
Version: 5.9.6
|
||||
Version: 5.9.7
|
||||
Release: 0
|
||||
Summary: A process utilities module for Python
|
||||
License: BSD-3-Clause
|
||||
@@ -36,8 +36,6 @@ Patch2: skip_failing_tests.patch
|
||||
Patch3: skip_rlimit_tests_on_python2.patch
|
||||
# PATCH-FIX-SLE adopt change of used memory of procps
|
||||
Patch4: mem-used-bsc1181475.patch
|
||||
# PATCH-FIX-UPSTREAM logind_y2038.patch gh#giampaolo/psutil#2300 aplanas@suse.com
|
||||
Patch5: logind_y2038.patch
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
@@ -60,8 +58,7 @@ BuildRequires: procps
|
||||
A graphical interface that lets you easily analyze and introspect unaltered running Python processes.
|
||||
|
||||
%prep
|
||||
%setup -q -n psutil-%{version}
|
||||
%autopatch -p1
|
||||
%autosetup -p1 -n psutil-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
Reference in New Issue
Block a user