61d181c07c- update to 7.0.0: * 669_, [Windows]: net_if_addrs()_ also returns the broadcast address instead of None. * 2480_: Python 2.7 is no longer supported. Latest version supporting Python 2.7 is psutil 6.1.X. Install it with: pip2 install psutil==6.1.*. * 2490_: removed long deprecated Process.memory_info_ex() method. It was deprecated in psutil 4.0.0, released 8 years ago. Substitute is Process.memory_full_info(). * 2496_, [Linux]: Avoid segfault (a cPython bug) on Process.memory_maps() for processes that use hundreds of GBs of memory. * 2502_, [macOS]: virtual_memory()_ now relies on host_statistics64 instead of host_statistics. This is the same approach used by vm_stat CLI tool, and should grant more accurate results. * 2480_: Python 2.7 is no longer supported. * 2490_: removed long deprecated Process.memory_info_ex() method.Dirk Mueller2025-05-29 08:06:12 +00:00
96e77e9580Accepting request 1235896 from devel:languages:pythonAna Guerrero2025-01-09 14:05:53 +00:00
0e2e35c262Accepting request 1235162 from home:glaubitz:branches:devel:languages:pythonMatej Cepl2025-01-08 11:58:35 +00:00
fec527c43eAccepting request 1225342 from devel:languages:pythonAna Guerrero2024-11-21 14:13:20 +00:00
3316bf44bc- update to 6.1.0: * 2366_, [Windows]: drastically speedup process_iter()_. We now determine process unique identity by using process "fast" create time method. This will considerably speedup those apps which use process_iter()_ only once, e.g. to look for a process with a certain name. * 2446_: use pytest instead of unittest. * 2448_: add make install-sysdeps target to install the necessary system dependencies (python-dev, gcc, etc.) on all supported UNIX flavors. * 2449_: add make install-pydeps-test and make install-pydeps- dev targets. They can be used to install dependencies meant for running tests and for local development. They can also be installed via pip install .[test] and pip install .[dev]. * 2456_: allow to run tests via python3 -m psutil.tests even if pytest module is not installed. This is useful for production environments that don't have pytest installed, but still want to be able to test psutil installation. * 2427_: psutil (segfault) on import in the free-threaded (no GIL) version of Python 3.13. (patch by Sam Gross) * 2455_, [Linux]: IndexError may occur when reading /proc/pid/stat and field 40 (blkio_ticks) is missing. * 2457_, [AIX]: significantly improve the speed of Process.open_files()_ for some edge cases. * 2460_, [OpenBSD]: Process.num_fds()_ and Process.open_files()_ may fail with NoSuchProcess_ for PID 0. Instead, we now return "null" values (0 and [] respectively). - drop skip_failing_tests.patch: obsoleteDirk Mueller2024-11-20 16:23:42 +00:00
b94941f194Accepting request 1188219 from devel:languages:pythonAna Guerrero2024-07-18 17:15:40 +00:00
d36192cd66Accepting request 1188186 from home:glaubitz:branches:devel:languages:pythonMarkéta Machová2024-07-17 14:24:09 +00:00
6bd3852485Accepting request 1160631 from devel:languages:pythonAna Guerrero2024-03-26 18:25:18 +00:00
033a8f0770Accepting request 1160621 from home:favogt:branches:openSUSE:Factory:Staging:MMatej Cepl2024-03-22 10:53:53 +00:00
6af104a5adAccepting request 1135317 from devel:languages:pythonAna Guerrero2023-12-28 21:54:53 +00:00
38c36fe122- 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 importDirk Mueller2023-12-27 13:56:04 +00:00
f0d5786cedAccepting request 1126805 from devel:languages:pythonAna Guerrero2023-11-17 19:48:20 +00:00
07402deeb0Accepting request 1126730 from home:benoit_monin:branches:devel:languages:pythonMatej Cepl2023-11-16 09:56:15 +00:00
245958dcc2Accepting request 1120305 from devel:languages:pythonAna Guerrero2023-10-26 15:11:51 +00:00
393ec976a9Accepting request 1120112 from home:aplanas:branches:devel:languages:pythonMatej Cepl2023-10-25 13:53:10 +00:00
715d93bc62Accepting request 1114855 from devel:languages:pythonAna Guerrero2023-10-04 20:30:23 +00:00
e7d3a235edAccepting request 1114566 from home:bnavigator:branches:devel:languages:pythonMatej Cepl2023-10-02 16:49:15 +00:00
ea4bd75bd2Accepting request 1109268 from devel:languages:pythonAna Guerrero2023-09-08 19:15:19 +00:00
bfbcbcf864Accepting request 1109260 from home:dimstar:FactoryMatej Cepl2023-09-06 12:37:42 +00:00
7463c9f5abAccepting request 1105468 from devel:languages:pythonAna Guerrero2023-08-28 15:11:20 +00:00
28855b4c4fAccepting request 1105452 from home:aplanas:branches:devel:languages:pythonMarkéta Machová2023-08-23 11:06:16 +00:00
ee06b25cd4- 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.Dirk Mueller2023-05-03 09:07:06 +00:00
ef49f5ae16- 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.Dirk Mueller2022-01-10 22:54:30 +00:00
a224f88de7- remove the dependency on net-tools, since it conflicts with busybox-hostnmame which is default on MicroOS. boo#1184753Matej Cepl2021-05-12 20:16:50 +00:00
249ae81466Accepting request 892554 from home:iDesmIMatej Cepl2021-05-12 18:48:31 +00:00
2e988699e7- 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: rediffDirk Mueller2020-12-01 12:58:09 +00:00
a1c9fdbbfa- 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)Dirk Mueller2020-09-16 21:13:50 +00:00
e33132c9a2- Add skip_failing_tests.patch to skip tests failing because of incomplete emulation of the environment in osc build environment (gh#giampaolo/psutil#1635).Matej Cepl2020-08-21 15:27:58 +00:00
a38d8b3042- 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
Tomáš Chvátal
2020-03-14 07:46:58 +00:00