- 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:
Dirk Mueller 2023-12-27 13:56:04 +00:00 committed by Git OBS Bridge
parent 07402deeb0
commit 38c36fe122
4 changed files with 32 additions and 25 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e4b92ddcd7dd4cdd3f900180ea1e104932c7bce234fb88976e2a3b296441225a
size 496866

3
psutil-5.9.7.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3f02134e82cfb5d089fddf20bb2e03fd5cd52395321d1c8458a9e58500ff417c
size 498429

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed Dec 27 13:53:57 UTC 2023 - Dirk Müller <dmueller@suse.com>
- 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.
-------------------------------------------------------------------
Wed Nov 15 20:38:35 UTC 2023 - Benoît Monin <benoit.monin@gmx.fr>

View File

@ -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