|
|
|
|
Changelog for python38-psutil-5.9.2-1.1.x86_64.rpm :
* 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 * Fri Dec 11 2020 Benjamin Greiner - Only require unittest2 for Leap. * Fri Dec 11 2020 Andreas Schneider - Add missing BR for unittest2 * Tue Dec 01 2020 Dirk Mueller - update to 5.7.3: - 809_: [FreeBSD] add support for `Process.rlimit()`. - 893_: [BSD] add support for `Process.environ()` (patch by Armin Gruner) - 1830_: [UNIX] `net_if_stats()`\'s `isup` also checks whether the NIC is running (meaning Wi-Fi or ethernet cable is connected). - 1837_: [Linux] improved battery detection and charge \"secsleft\" calculation - 1620_: [Linux] physical cpu_count() result is incorrect on systems with more than one CPU socket. - 1738_: [macOS] Process.exe() may raise FileNotFoundError if process is still alive but the exe file which launched it got deleted. - 1791_: [macOS] fix missing include for getpagesize(). - 1823_: [Windows] Process.open_files() may cause a segfault due to a NULL pointer. - 1838_: [Linux] sensors_battery(): if `percent` can be determined but not the remaining values, still return a result instead of None.- skip-obs.patch, skip_failing_tests.patch: rediff * Tue Nov 03 2020 Benjamin Greiner - Fix shebang replacement for multiple python flavors * Wed Sep 16 2020 Dirk Mueller - update to 5.7.2: * parallel tests on UNIX (make test-parallel). They\'re twice as fast! * 1741: \"make build/install\" is now run in parallel and it\'s about 15% faster on UNIX. * 1747: Process.wait() on POSIX returns an enum, showing the negative signal which was used to terminate the process * 1747: Process.wait() return value is cached so that the exit code can be retrieved on then next call. * 1747: Process provides more info about the process on str() and repr() (status and exit code): * 1757: memory leak tests are now stable. * 1768: [Windows] added support for Windows Nano Server. (contributed by Julien Lebot) * 1726: [Linux] cpu_freq() parsing should use spaces instead of tabs on ia64. (patch by Michał Górny) * 1760: [Linux] Process.rlimit() does not handle long long type properly. * 1766: [macOS] NoSuchProcess may be raised instead of ZombieProcess. * 1781: fix signature of callback function for getloadavg(). (patch by Ammar Askar) - remove skip-flaky-i586.patch (obsolete) * Fri Aug 21 2020 Matej Cepl - Add skip_failing_tests.patch to skip tests failing because of incomplete emulation of the environment in osc build environment (gh#giampaolo/psutil#1635). * Sat Mar 14 2020 Tomáš Chvátal - Update to 5.7.0: * Various fixes to build with updated kernel/etc.- Remove merged patch pr_1665.patch and pr_1364.patch- Update patch skip-obs.patch- Remove skip-test-missing-warnings.patch as it can be fixed by properly calling the tests * Wed Jan 29 2020 Dominique Leuenberger - Add pr_1665.patch: Future-proof disk_io_counters on Linux. Fixes tests with Linux 5.5. * Thu Nov 28 2019 Arun Persaud - update to version 5.6.7: * Bug fixes + 1630: [Windows] can\'t compile source distribution due to C syntax error.- changes from version 5.6.6: * Bug fixes + 1179: [Linux] Process cmdline() now takes into account misbehaving processes renaming the command line and using inappropriate chars to separate args. + 1616: use of Py_DECREF instead of Py_CLEAR will result in double free and segfault (CVE). (patch by Riccardo Schirone) + 1619: [OpenBSD] compilation fails due to C syntax error. (patch by Nathan Houghton) * Sat Nov 09 2019 Arun Persaud - update to version 5.6.5: * Bug fixes + 1615: remove pyproject.toml as it was causing installation issues.- changes from version 5.6.4: * Enhancements + 1527: [Linux] added Process.cpu_times().iowait counter, which is the time spent waiting for blocking I/O to complete. + 1565: add PEP 517/8 build backend and requirements specification for better pip integration. (patch by Bernát Gábor) * Bug fixes + 875: [Windows] Process\' cmdline(), environ() or cwd() may occasionally fail with ERROR_PARTIAL_COPY which now gets translated to AccessDenied. + 1126: [Linux] cpu_affinity() segfaults on CentOS 5 / manylinux. cpu_affinity() support for CentOS 5 was removed. + 1528: [AIX] compilation error on AIX 7.2 due to 32 vs 64 bit differences. (patch by Arnon Yaari) + 1535: \'type\' and \'family\' fields returned by net_connections() are not always turned into enums. + 1536: [NetBSD] process cmdline() erroneously raise ZombieProcess error if cmdline has non encodable chars. + 1546: usage percent may be rounded to 0 on Python 2. + 1552: [Windows] getloadavg() math for calculating 5 and 15 mins values is incorrect. + 1568: [Linux] use CC compiler env var if defined. + 1570: [Windows] NtWow64 * syscalls fail to raise the proper error code + 1585: [OSX] calling close() (in C) on possible negative integers. (patch by Athos Ribeiro) + 1606: [SunOS] compilation fails on SunOS 5.10. (patch by vser1) * Tue Sep 10 2019 Tomáš Chvátal - Add patch to skip more tests that won\'t work in OBS: * skip-obs.patch * Tue Jul 23 2019 Tomáš Chvátal - Update to 5.6.3: * 1494: [AIX] added support for Process.environ(). (patch by Arnon Yaari) * 1276: [AIX] can\'t get whole cmdline(). (patch by Arnon Yaari) * 1501_: [Windows] Process cmdline() and exe() raise unhandled \"WinError 1168 element not found\" exceptions for \"Registry\" and \"Memory Compression\" psuedo processes on Windows 10. * 1526_: [NetBSD] process cmdline() could raise MemoryError. (patch by Kamil Rytarowski) * Sat May 25 2019 Tomáš Chvátal - Update to 5.6.2: * 1404: [Linux] cpu_count(logical=False) uses a second method (read from /sys/devices/system/cpu/cpu[0-9]/topology/core_id) in order to determine the number of physical CPUs in case /proc/cpuinfo does not provide this info. * 1458: provide coloured test output. Also show failures on KeyboardInterrupt. * 1464: various docfixes (always point to python3 doc, fix links, etc.). * 1478: add make command to re-run tests failed on last run. * 1456: [Linux] cpu_freq() returns None instead of 0.0 when min/max not available (patch by Alex Manuskin) * 1462: [Linux] (tests) make tests invariant to LANG setting (patch by Benjamin Drung) * 1463: cpu_distribution.py script was broken. * 1470: [Linux] disk_partitions(): fix corner case when /etc/mtab doesn\'t exist. (patch by Cedric Lamoriniere) * 1472: [Linux] cpu_freq() does not return all CPUs on Rasbperry-pi 3. * 1493: [Linux] cpu_freq(): handle the case where /sys/devices/system/cpu/cpufreq/ exists but is empty. * Mon Mar 18 2019 John Vandenberg - Active test suite, using skip-test-missing-warnings.patch to explicitly skip 2 tests regarding warnings, skip-flaky-i586.patch to skip a flaky i586 test, and setting TRAVIS to skip tests which upstream doesnt run in their CI- Add upstream pr_1364.patch to fix reading /sys/blocks on Linux 4.18+- Remove tests from installed package- Use URL https://github.com/giampaolo/psutil- Use LANG=en_US.UTF-8 in %check to avoid failure in test_pmap- update to version 5.6.1 * No changes effecting Linux * Many checks added to tests to skip tests for missing features * Sat Mar 09 2019 Arun Persaud - update to version 5.6.0: * Enhancements + 1379: [Windows] Process suspend() and resume() now use NtSuspendProcess and NtResumeProcess instead of stopping/resuming all threads of a process. This is faster and more reliable (aka this is what ProcessHacker does). + 1420: [Windows] in case of exception disk_usage() now also shows the path name. + 1422: [Windows] Windows APIs requiring to be dynamically loaded from DLL libraries are now loaded only once on startup (instead of on per function call) significantly speeding up different functions and methods. + 1426: [Windows] PAGESIZE and number of processors is now calculated on startup. + 1428: in case of error, the traceback message now shows the underlying C function called which failed. + 1433: new Process.parents() method. (idea by Ghislain Le Meur) + 1437: pids() are returned in sorted order. + 1442: python3 is now the default interpreter used by Makefile. * Bug fixes + 1353: process_iter() is now thread safe (it rarely raised TypeError). + 1394: [Windows] Process name() and exe() may erroneously return \"Registry\". QueryFullProcessImageNameW is now used instead of GetProcessImageFileNameW in order to prevent that. + 1411: [BSD] lack of Py_DECREF could cause segmentation fault on process instantiation. + 1419: [Windows] Process.environ() raises NotImplementedError when querying a 64-bit process in 32-bit-WoW mode. Now it raises AccessDenied. + 1427: [OSX] Process cmdline() and environ() may erroneously raise OSError on failed malloc(). + 1429: [Windows] SE DEBUG was not properly set for current process. It is now, and it should result in less AccessDenied exceptions for low-pid processes. + 1432: [Windows] Process.memory_info_ex()\'s USS memory is miscalculated because we\'re not using the actual system PAGESIZE. + 1439: [NetBSD] Process.connections() may return incomplete results if using oneshot(). + 1447: original exception wasn\'t turned into NSP/AD exceptions when using Process.oneshot() ctx manager. * Incompatible API changes + 1291: [OSX] Process.memory_maps() was removed because inherently broken (segfault) for years. * Sat Feb 16 2019 Arun Persaud - update to version 5.5.1: * Enhancements + 1348: [Windows] on Windows >= 8.1 if Process.cmdline() fails due to ERROR_ACCESS_DENIED attempt using NtQueryInformationProcess + ProcessCommandLineInformation. (patch by EccoTheFlintstone) * Bug fixes + 1394: [Windows] Process.exe() returns \"[Error 0] The operation completed successfully\" when Python process runs in \"Virtual Secure Mode\". + 1402: psutil exceptions\' repr() show the internal private module path. + 1408: [AIX] psutil won\'t compile on AIX 7.1 due to missing header. (patch by Arnon Yaari) * Sat Jan 26 2019 Arun Persaud - specfile: * update copyright year- update to version 5.5.0: * Enhancements + 1350: [FreeBSD] added support for sensors_temperatures(). (patch by Alex Manuskin) + 1352: [FreeBSD] added support for CPU frequency. (patch by Alex Manuskin) * Bug fixes + 1111: Process.oneshot() is now thread safe. + 1354: [Linux] disk_io_counters() fails on Linux kernel 4.18+. + 1357: [Linux] Process\' memory_maps() and io_counters() method are no longer exposed if not supported by the kernel. + 1368: [Windows] fix psutil.Process().ionice(...) mismatch. (patch by EccoTheFlintstone) + 1370: [Windows] improper usage of CloseHandle() may lead to override the original error code when raising an exception. + 1373: incorrect handling of cache in Process.oneshot() context causes Process instances to return incorrect results. + 1376: [Windows] OpenProcess() now uses PROCESS_QUERY_LIMITED_INFORMATION access rights wherever possible, resulting in less AccessDenied exceptions being thrown for system processes. + 1376: [Windows] check if variable is NULL before free()ing it. (patch by EccoTheFlintstone) * Thu Nov 01 2018 Arun Persaud - update to version 5.4.8: * Enhancements + 1197: [Linux] cpu_freq() is now implemented by parsing /proc/cpuinfo in case /sys/devices/system/cpu/ * filesystem is not available. + 1310: [Linux] psutil.sensors_temperatures() now parses /sys/class/thermal in case /sys/class/hwmon fs is not available (e.g. Raspberry Pi). (patch by Alex Manuskin) + 1320: [Posix] better compilation support when using g++ instead of gcc. (patch by Jaime Fullaondo) * Bug fixes + 715: do not print exception on import time in case cpu_times() fails. + 1004: [Linux] Process.io_counters() may raise ValueError. + 1277: [OSX] available and used memory (psutil.virtual_memory()) metrics are not accurate. + 1294: [Windows] psutil.Process().connections() may sometimes fail with intermittent 0xC0000001. (patch by Sylvain Duchesne) + 1307: [Linux] disk_partitions() does not honour PROCFS_PATH. + 1320: [AIX] system CPU times (psutil.cpu_times()) were being reported with ticks unit as opposed to seconds. (patch by Jaime Fullaondo) + 1332: [OSX] psutil debug messages are erroneously printed all the time. (patch by Ilya Yanok) + 1346: [SunOS] net_connections() returns an empty list. (patch by Oleksii Shevchuk) * Sat Aug 18 2018 arunAATTgmx.de- update to version 5.4.7: * Enhancements + 1286: [macOS] psutil.OSX constant is now deprecated in favor of new psutil.MACOS. + 1309: [Linux] added psutil.STATUS_PARKED constant for Process.status(). + 1321: [Linux] add disk_io_counters() dual implementation relying on /sys/block filesystem in case /proc/diskstats is not available. (patch by Lawrence Ye) * Bug fixes + 1209: [macOS] Process.memory_maps() may fail with EINVAL due to poor task_for_pid() syscall. AccessDenied is now raised instead. + 1278: [macOS] Process.threads() incorrectly return microseconds instead of seconds. (patch by Nikhil Marathe) + 1279: [Linux, macOS, BSD] net_if_stats() may return ENODEV. + 1294: [Windows] psutil.Process().connections() may sometime fail with MemoryError. (patch by sylvainduchesne) + 1305: [Linux] disk_io_stats() may report inflated r/w bytes values. + 1309: [Linux] Process.status() is unable to recognize \"idle\" and \"parked\" statuses (returns \'?\'). + 1313: [Linux] disk_io_counters() can report inflated IO counters due to erroneously counting base disk device and its partition(s) twice. + 1323: [Linux] sensors_temperatures() may fail with ValueError. * Wed Jun 13 2018 toddrme2178AATTgmail.com- Update to 5.4.6 * 1258_: [Windows] Process.username() may cause a segfault (Python interpreter crash). (patch by Jean-Luc Migot) * 1273_: net_if_addr() namedtuple\'s name has been renamed from \"snic\" to \"snicaddr\". * 1274_: [Linux] there was a small chance Process.children() may swallow AccessDenied exceptions. * Sat Apr 14 2018 arunAATTgmx.de- update to version 5.4.5: * Bug fixes + 1268: setup.py\'s extra_require parameter requires latest setuptools version, breaking quite a lot of installations.- changes from version 5.4.4: * Enhancements + 1239: [Linux] expose kernel \"slab\" memory for psutil.virtual_memory(). (patch by Maxime Mouial) * Bug fixes + 694: [SunOS] cmdline() could be truncated at the 15th character when reading it from /proc. An extra effort is made by reading it from process address space first. (patch by Georg Sauthoff) + 771: [Windows] cpu_count() (both logical and physical) return a wrong (smaller) number on systems using process groups (> 64 cores). + 771: [Windows] cpu_times(percpu=True) return fewer CPUs on systems using process groups (> 64 cores). + 771: [Windows] cpu_stats() and cpu_freq() may return incorrect results on systems using process groups (> 64 cores). + 1193: [SunOS] Return uid/gid from /proc/pid/psinfo if there aren\'t enough permissions for /proc/pid/cred. (patch by Georg Sauthoff) + 1194: [SunOS] Return nice value from psinfo as getpriority() doesn\'t support real-time processes. (patch by Georg Sauthoff) + 1194: [SunOS] Fix double free in psutil_proc_cpu_num(). (patch by Georg Sauthoff) + 1194: [SunOS] Fix undefined behavior related to strict-aliasing rules and warnings. (patch by Georg Sauthoff) + 1210: [Linux] cpu_percent() steal time may remain stuck at 100% due to Linux erroneously reporting a decreased steal time between calls. (patch by Arnon Yaari) + 1216: fix compatibility with python 2.6 on Windows (patch by Dan Vinakovsky) + 1222: [Linux] Process.memory_full_info() was erroneously summing \"Swap:\" and \"SwapPss:\". Same for \"Pss:\" and \"SwapPss\". Not anymore. + 1224: [Windows] Process.wait() may erroneously raise TimeoutExpired. + 1238: [Linux] sensors_battery() may return None in case battery is not listed as \"BAT0\" under /sys/class/power_supply. + 1240: [Windows] cpu_times() float loses accuracy in a long running system. (patch by stswandering) + 1245: [Linux] sensors_temperatures() may fail with IOError \"no such file\". + 1255: [FreeBSD] swap_memory() stats were erroneously represented in KB. (patch by Denis Krienbühl) * Backward compatibility + 771: [Windows] cpu_count(logical=False) on Windows XP and Vista is no longer supported and returns None. * Wed Jan 03 2018 arunAATTgmx.de- specfile: * update copyright year- update to version 5.4.3: * Enhancements + 775: disk_partitions() on Windows return mount points. * Bug fixes + 1193: pids() may return False on OSX.
|
|
|