SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 
Changelog for python312-psutil-5.9.7-2.2.x86_64.rpm :

* Fri Mar 22 2024 Fabian Vogt - BuildRequire pkgconfig(libsystemd) instead of full systemd
* Wed Dec 27 2023 Dirk Müller - 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)
* Wed Nov 15 2023 Benoît Monin - update to version 5.9.6:
* Enhancements + 1703: cpu_percent() and cpu_times_percent() are now thread safe, meaning they can be called from different threads and still return meaningful and independent results. + 2266: if Process class is passed a very high PID, raise NoSuchProcess instead of OverflowError. (patch by Xuehai Pan) + 2246: drop python 3.4 & 3.5 support. (patch by Matthieu Darbois) + 2290: PID reuse is now pre-emptively checked for Process.ppid() and Process.parents(). + 2312: use ruff Python linter instead of flake8 + isort. It\'s an order of magnitude faster + it adds a ton of new code quality checks.
* Bug fixes + 2195, [Linux]: no longer print exception at import time in case /proc/stat can\'t be read due to permission error. + 2268: bytes2human() utility function was unable to properly represent negative values. + 2284, [Linux]: Process.memory_full_info() may incorrectly raise ZombieProcess if it\'s determined via /proc/pid/smaps_rollup. + 2288, [Linux]: correctly raise ZombieProcess on Process.exe(), Process.cmdline() and Process.memory_maps() instead of returning a \"null\" value. + 2290: differently from what stated in the doc, PID reuse is not pre-emptively checked for Process.nice() (set), Process.ionice(), (set), Process.cpu_affinity() (set), Process.rlimit() (set), Process.parent().- refresh skip_rlimit_tests_on_python2.patch- drop removal of shebang: fixed upstream
* Tue Oct 24 2023 Alberto Planas Dominguez - Rebase logind_y2038.patch based on the reviewed code
* Sat Sep 30 2023 Ben Greiner - Require /usr/bin/who only for suse_version > 1500: 15.X does not provide it, but has it in coreutils.- PEP517- Clean up specfile from obsolete python2 stuff
* Wed Sep 06 2023 Dominique Leuenberger - BuildRequire /usr/bin/who: called by the test suite. With coreutils 9.4 \'who\' is no longer part of the main package but is shipped as part of coreutils-systemd.
* Wed Aug 23 2023 Alberto Planas Dominguez - Add logind_y2038.patch to use logind if systemd >= 254 is used, to fix the issue of ut_tv.tv_sec and the Y2038 problem.
* Wed May 03 2023 Dirk Müller - 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.
* Fri Apr 21 2023 Dirk Müller - add sle15_python_module_pythons (jsc#PED-68)
* Thu Apr 13 2023 Matej Cepl - Make calling of %{sle15modernpython} optional.
* Thu Dec 08 2022 Ben Greiner - Require unittest2 only for python2: make this suitable for the 15.4_py39 target in devel:languages:python:backports.- Merge skip-obs.patch into skip_failing_tests.patch and add test_linux.py::test_cpu_affinity because it depends on the obs vm-type or worker CPU.
* Mon Nov 07 2022 Michael Ströder - update to version 5.9.4:
* Enhancements - 2102: use Limited API when building wheels with CPython 3.6+ on Linux, macOS and Windows. This allows to use pre-built wheels in all future versions of cPython 3. (patch by Matthieu Darbois)
* Bug fixes - 2077, [Windows]: Use system-level values for virtual_memory(). (patch by Daniel Widdis) - 2156, [Linux]: compilation may fail on very old gcc compilers due to missing SPEED_UNKNOWN definition. (patch by Amir Rossert) - 2010, [macOS]: on MacOS, arm64 IFM_1000_TX and IFM_1000_T are the same value, causing a build failure. (patch by Lawrence D\'Anna)
* Sat Oct 22 2022 Arun Persaud - update to version 5.9.3:
* Enhancements + 2040, [macOS]: provide wheels for arm64 architecture. (patch by Matthieu Darbois)
* Bug fixes + 2116, [macOS], [critical]: `psutil.net_connections`_ fails with RuntimeError. + 2135, [macOS]: Process.environ() may contain garbage data. Fix out-of-bounds read around sysctl_procargs. (patch by Bernhard Urban-Forster) + 2138, [Linux], [critical]: can\'t compile psutil on Android due to undefined ethtool_cmd_speed symbol. + 2142, [POSIX]: net_if_stats() \'s flags on Python 2 returned unicode instead of str. (patch by Matthieu Darbois) + 2147, [macOS] Fix disk usage report on macOS 12+. (patch by Matthieu Darbois) + 2150, [Linux] Process.threads() may raise NoSuchProcess. Fix race condition. (patch by Daniel Li) + 2153, [macOS] Fix race condition in test_posix.TestProcess.test_cmdline. (patch by Matthieu Darbois)
* Sat Sep 10 2022 Arun Persaud - update to version 5.9.2:
* Bug fixes + 2093_, [FreeBSD],
*
*[critical]
*
*: `pids()`_ may fail with ENOMEM. Dynamically increase the \"malloc()\" buffer size until it\'s big enough. + 2095_, [Linux]: `net_if_stats()`_ returns incorrect interface speed for 100GbE network cards. + 2113_, [FreeBSD],
*
*[critical]
*
*: `virtual_memory()`_ may raise ENOMEM due to missing \"#include \" directive. (patch by Peter Jeremy) + 2128_, [NetBSD]: `swap_memory()`_ was miscalculated. (patch by Thomas Klausner)
* Fri Jul 15 2022 Ben Greiner - Fix tests: setuptools changed the builddir library path and does not find the module from it. Use the installed platlib instead and exclude psutil.tests only later.- Refresh skip-obs.patch
* Thu Jun 23 2022 Dr. Werner Fink - Add patch mem-used-bsc1181475.patch (bsc#1181475)
* Adopt change of used memory calculation from upstream of procps
* Tue May 24 2022 Michael Ströder - removed obsolete skip-partitions-erros.patch- update to 5.9.1
* Enhancements - 1053: drop Python 2.6 support. (patches by Matthieu Darbois and Hugo van Kemenade) - 2050, [Linux]: increase read(2) buffer size from 1k to 32k when reading /proc pseudo files line by line. This should help having more consistent results. - 2057, [OpenBSD]: add support for cpu_freq(). - 2107, [Linux]: Process.memory_full_info() (reporting process USS/PSS/Swap memory) now reads /proc/pid/smaps_rollup instead of /proc/pids/smaps, which makes it 5 times faster.
* Bug fixes - 2048: AttributeError is raised if psutil.Error class is raised manually and passed through str. - 2049, [Linux]: cpu_freq() erroneously returns curr value in GHz while min and max are in MHz. - 2050, [Linux]: virtual_memory() may raise ValueError if running in a LCX container.
* Wed Feb 02 2022 Matej Cepl - Fix name of Patch4, it is skip-partitions-erros.patch
* Sun Jan 30 2022 Matej Cepl - Add skip-partitions-erros.patch skipping tests failing on Linux (gh#giampaolo/psutil#2043).
* Mon Jan 10 2022 Dirk Müller - 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.
* Thu Nov 25 2021 Steve Kowalik - Update skip-obs.patch to also skip TestProcess.test_ionice_linux
* Wed May 12 2021 Enrico Belleri - remove the dependency on net-tools, since it conflicts with busybox-hostnmame which is default on MicroOS. boo#1184753
* Fri Jan 29 2021 Antonio Larrosa - Do not install tests (and change the way they\'re run since they were run from %{buildroot})
* Thu Jan 28 2021 Antonio Larrosa - Add patch to skip tests related to rlimit and zombie processes that fail when building for python2 on i586:
* skip_rlimit_tests_on_python2.patch
* Mon Jan 25 2021 Antonio Larrosa - update to 5.8.0:
* Enhancements: - 1863: disk_partitions() exposes 2 extra fields: maxfile and maxpath, which are the maximum file name and path name length. - 1872: [Windows] added support for PyPy 2.7. - 1879: provide pre-compiled wheels for Linux and macOS. - 1880: get rid of Travis and Cirrus CI services (they are no longer free). CI testing is now done by GitHub Actions on Linux, macOS and FreeBSD (yes). AppVeyor is still being used for Windows CI.
* Bug fixes: - 1708: [Linux] get rid of sensors_temperatures() duplicates. (patch by Tim Schlueter). - 1839: [Windows] always raise AccessDenied when failing to query 64 processes from 32 bit ones (NtWoW64 APIs). - 1866: [Windows] process exe(), cmdline(), environ() may raise \"invalid access to memory location\" on Python 3.9. - 1874: [Solaris] wrong swap output given when encrypted column is present. - 1875: [Windows] process username() may raise ERROR_NONE_MAPPED if the SID has no corresponding account name. In this case AccessDenied is now raised. - 1877: [Windows] OpenProcess may fail with ERROR_SUCCESS. Turn it into AccessDenied or NoSuchProcess depending on whether the PID is alive. - 1886: [macOS] EIO error may be raised on cmdline() and environment(). Now it gets translated into AccessDenied. - 1891: [macOS] get rid of deprecated getpagesize().- Rebase patch and skip three other tests that fail on obs
* skip-obs.patch
 
ICM