14
0
forked from pool/python-psutil

Commit Graph

  • 6b415d59ce Accepting request 1281077 from devel:languages:python main Dominique Leuenberger 2025-06-01 19:36:09 +00:00
  • 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 Mueller 2025-05-29 08:06:12 +00:00
  • 96e77e9580 Accepting request 1235896 from devel:languages:python Ana Guerrero 2025-01-09 14:05:53 +00:00
  • 0e2e35c262 Accepting request 1235162 from home:glaubitz:branches:devel:languages:python Matej Cepl 2025-01-08 11:58:35 +00:00
  • fec527c43e Accepting request 1225342 from devel:languages:python Ana Guerrero 2024-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: obsolete Dirk Mueller 2024-11-20 16:23:42 +00:00
  • b94941f194 Accepting request 1188219 from devel:languages:python Ana Guerrero 2024-07-18 17:15:40 +00:00
  • d36192cd66 Accepting request 1188186 from home:glaubitz:branches:devel:languages:python Markéta Machová 2024-07-17 14:24:09 +00:00
  • 6bd3852485 Accepting request 1160631 from devel:languages:python Ana Guerrero 2024-03-26 18:25:18 +00:00
  • 033a8f0770 Accepting request 1160621 from home:favogt:branches:openSUSE:Factory:Staging:M Matej Cepl 2024-03-22 10:53:53 +00:00
  • 6af104a5ad Accepting request 1135317 from devel:languages:python Ana Guerrero 2023-12-28 21:54:53 +00:00
  • e430a0ef81 - drop logind_y2038.patch (upstream) Dirk Mueller 2023-12-27 13:56:26 +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 import Dirk Mueller 2023-12-27 13:56:04 +00:00
  • f0d5786ced Accepting request 1126805 from devel:languages:python Ana Guerrero 2023-11-17 19:48:20 +00:00
  • 07402deeb0 Accepting request 1126730 from home:benoit_monin:branches:devel:languages:python Matej Cepl 2023-11-16 09:56:15 +00:00
  • 245958dcc2 Accepting request 1120305 from devel:languages:python Ana Guerrero 2023-10-26 15:11:51 +00:00
  • 393ec976a9 Accepting request 1120112 from home:aplanas:branches:devel:languages:python Matej Cepl 2023-10-25 13:53:10 +00:00
  • 715d93bc62 Accepting request 1114855 from devel:languages:python Ana Guerrero 2023-10-04 20:30:23 +00:00
  • e7d3a235ed Accepting request 1114566 from home:bnavigator:branches:devel:languages:python Matej Cepl 2023-10-02 16:49:15 +00:00
  • ea4bd75bd2 Accepting request 1109268 from devel:languages:python Ana Guerrero 2023-09-08 19:15:19 +00:00
  • bfbcbcf864 Accepting request 1109260 from home:dimstar:Factory Matej Cepl 2023-09-06 12:37:42 +00:00
  • 7463c9f5ab Accepting request 1105468 from devel:languages:python Ana Guerrero 2023-08-28 15:11:20 +00:00
  • 28855b4c4f Accepting request 1105452 from home:aplanas:branches:devel:languages:python Markéta Machová 2023-08-23 11:06:16 +00:00
  • e28275b296 Accepting request 1084220 from devel:languages:python Dominique Leuenberger 2023-05-04 15:09:30 +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 Mueller 2023-05-03 09:07:06 +00:00
  • b135cda948 Accepting request 1081822 from devel:languages:python Dominique Leuenberger 2023-04-22 19:59:31 +00:00
  • a85caf59d0 Accepting request 1081535 from home:dirkmueller:acdc:as_python3_module Dirk Mueller 2023-04-21 14:11:27 +00:00
  • a97ff488f2 Accepting request 1041731 from devel:languages:python Dominique Leuenberger 2022-12-10 20:17:24 +00:00
  • 8c5a2621b1 Accepting request 1041723 from home:bnavigator:branches:devel:languages:python Matej Cepl 2022-12-08 21:03:53 +00:00
  • 52809e2d40 Accepting request 1034803 from devel:languages:python Dominique Leuenberger 2022-11-10 13:19:15 +00:00
  • 7f6f3df1e0 Accepting request 1034380 from home:stroeder:python Dirk Mueller 2022-11-09 09:26:01 +00:00
  • 5c0a8d1741 Accepting request 1030870 from devel:languages:python Dominique Leuenberger 2022-10-25 09:18:27 +00:00
  • a581f33459 Accepting request 1030544 from home:apersaud:branches:devel:languages:python Dirk Mueller 2022-10-24 11:40:34 +00:00
  • 0be673427f Accepting request 1003536 from devel:languages:python Dominique Leuenberger 2022-09-15 20:57:47 +00:00
  • bdca8db763 Accepting request 1003358 from home:apersaud:branches:devel:languages:python Markéta Machová 2022-09-14 13:33:23 +00:00
  • aa30f1cdbc Accepting request 989376 from devel:languages:python Dominique Leuenberger 2022-08-04 11:23:05 +00:00
  • acfccb018d Accepting request 989366 from home:bnavigator:branches:devel:languages:python Markéta Machová 2022-07-15 10:45:42 +00:00
  • 60f7c95e92 Accepting request 984765 from devel:languages:python Dominique Leuenberger 2022-06-25 08:23:45 +00:00
  • bec43d11bd Accepting request 984708 from home:WernerFink:branches:devel:languages:python Matej Cepl 2022-06-23 21:14:15 +00:00
  • f51ffcac4e Accepting request 979035 from devel:languages:python Dominique Leuenberger 2022-05-26 16:43:43 +00:00
  • 3fe6537bd9 Accepting request 979027 from home:stroeder:python Markéta Machová 2022-05-24 19:14:34 +00:00
  • d6e5157bfa Accepting request 950795 from devel:languages:python Dominique Leuenberger 2022-02-03 22:15:56 +00:00
  • 030f09ff2e Add missing export Matej Cepl 2022-02-02 17:35:07 +00:00
  • 8039fcf191 - Fix name of Patch4, it is skip-partitions-erros.patch Matej Cepl 2022-02-02 17:30:54 +00:00
  • 09992dc401 - Add skip-partitions-erros.patch skipping tests failing on Linux (gh#giampaolo/psutil#2043). Matej Cepl 2022-01-30 01:39:36 +00:00
  • 661b6cb7bf Accepting request 945437 from devel:languages:python Dominique Leuenberger 2022-01-11 20:17:14 +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 Mueller 2022-01-10 22:54:30 +00:00
  • b2a05433ba Accepting request 933615 from devel:languages:python Dominique Leuenberger 2021-11-26 23:50:26 +00:00
  • d71de94fac - Update skip-obs.patch to also skip TestProcess.test_ionice_linux Steve Kowalik 2021-11-25 04:06:35 +00:00
  • e899f2a17d Accepting request 892577 from devel:languages:python Dominique Leuenberger 2021-05-15 21:15:47 +00:00
  • a224f88de7 - remove the dependency on net-tools, since it conflicts with busybox-hostnmame which is default on MicroOS. boo#1184753 Matej Cepl 2021-05-12 20:16:50 +00:00
  • 249ae81466 Accepting request 892554 from home:iDesmI Matej Cepl 2021-05-12 18:48:31 +00:00
  • b174a440f4 Accepting request 867674 from devel:languages:python Dominique Leuenberger 2021-02-01 12:27:11 +00:00
  • be1bd93299 Accepting request 867673 from home:alarrosa:branches:devel:languages:python Matej Cepl 2021-01-29 09:54:20 +00:00
  • 3950a787af Accepting request 866659 from home:alarrosa:branches:devel:languages:python Matej Cepl 2021-01-25 22:42:02 +00:00
  • b64416518a Accepting request 854885 from devel:languages:python Dominique Leuenberger 2020-12-12 19:28:24 +00:00
  • 2adad0d40b Accepting request 854880 from home:bnavigator:branches:devel:languages:python Matej Cepl 2020-12-11 13:29:08 +00:00
  • bb3499274e Accepting request 854859 from home:gladiac:pgadmin4 Michael Ströder 2020-12-11 12:06:51 +00:00
  • 146a92ce5f Accepting request 852339 from devel:languages:python Dominique Leuenberger 2020-12-03 17:41:17 +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: rediff Dirk Mueller 2020-12-01 12:58:09 +00:00
  • 64fb23edc2 Accepting request 845690 from devel:languages:python Dominique Leuenberger 2020-11-05 20:53:59 +00:00
  • b1f793a420 Accepting request 845689 from home:bnavigator:branches:devel:languages:python Michael Ströder 2020-11-03 11:04:32 +00:00
  • af5945a5fe Accepting request 835008 from devel:languages:python Dominique Leuenberger 2020-10-29 08:45:15 +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 Mueller 2020-09-16 21:13:50 +00:00
  • bfb81d975f Accepting request 828549 from devel:languages:python Dominique Leuenberger 2020-08-25 10:40:44 +00:00
  • 4aede2163f Fix skipUnless syntax Matej Cepl 2020-08-21 15:34:45 +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 Cepl 2020-08-21 15:27:58 +00:00
  • 1092b6163b Accepting request 784805 from devel:languages:python Dominique Leuenberger 2020-03-26 23:23:24 +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
  • 0f63b00db3 Accepting request 768438 from devel:languages:python Dominique Leuenberger 2020-01-31 22:54:41 +00:00
  • e4102fef22 Accepting request 768404 from home:dimstar:Factory Michael Ströder 2020-01-29 19:12:32 +00:00
  • 7e118cfd6d Accepting request 751674 from devel:languages:python Dominique Leuenberger 2019-12-07 14:17:56 +00:00
  • d52eb2248a Accepting request 751672 from home:apersaud:branches:devel:languages:python Michael Ströder 2019-11-28 17:23:17 +00:00
  • b5d76333b3 Accepting request 747243 from devel:languages:python Dominique Leuenberger 2019-11-22 09:21:43 +00:00
  • 193de98d69 Accepting request 747235 from home:apersaud:branches:devel:languages:python Michael Ströder 2019-11-10 17:28:30 +00:00
  • 73b676d629 Accepting request 729891 from devel:languages:python Dominique Leuenberger 2019-09-23 10:05:53 +00:00
  • 96677b7ad7 - Add patch to skip more tests that won't work in OBS: * skip-obs.patch Tomáš Chvátal 2019-09-10 13:20:31 +00:00
  • 39a80c4828 Accepting request 687163 from devel:languages:python Dominique Leuenberger 2019-03-29 19:36:27 +00:00
  • 4ea1b506ee Accepting request 686918 from home:jayvdb:pyexcel Tomáš Chvátal 2019-03-21 09:43:00 +00:00
  • d438ac8d30 Accepting request 683033 from devel:languages:python Dominique Leuenberger 2019-03-12 08:45:58 +00:00
  • 3ae2306dfa Accepting request 683027 from home:apersaud:branches:devel:languages:python Michael Ströder 2019-03-09 16:37:35 +00:00
  • 9de65b30be Accepting request 676974 from devel:languages:python Stephan Kulow 2019-02-24 19:45:54 +00:00
  • 795b17fdb4 Accepting request 676686 from home:apersaud:branches:devel:languages:python Tomáš Chvátal 2019-02-18 09:26:42 +00:00
  • e31be78dd1 Accepting request 668832 from devel:languages:python Dominique Leuenberger 2019-02-01 10:43:07 +00:00
  • 9e9c218619 Accepting request 668824 from home:apersaud:branches:devel:languages:python Michael Ströder 2019-01-26 18:26:13 +00:00
  • 2941b45f32 Accepting request 646017 from devel:languages:python Dominique Leuenberger 2018-11-09 06:50:37 +00:00
  • 86003102d7 Accepting request 645954 from home:apersaud:branches:devel:languages:python Tomáš Chvátal 2018-11-02 08:17:34 +00:00
  • 409ab0d14e Accepting request 630325 from devel:languages:python Dominique Leuenberger 2018-08-27 10:54:53 +00:00
  • a34080ca9b Accepting request 630322 from home:apersaud:branches:devel:languages:python Michael Ströder 2018-08-18 20:54:08 +00:00
  • d94d3e792b - build python3 subpackage (FATE#324435, bsc#1073879) - sanitize release line in specfile Tomáš Chvátal 2018-08-14 11:24:15 +00:00
  • 6b7b998c51 Accepting request 616701 from devel:languages:python Yuchen Lin 2018-06-18 11:48:42 +00:00
  • 4106ee1d4c Accepting request 616598 from home:TheBlackCat:branches:devel:languages:python Tomáš Chvátal 2018-06-14 06:31:08 +00:00
  • 65b243d613 Accepting request 596551 from devel:languages:python Dominique Leuenberger 2018-04-22 12:29:46 +00:00
  • eb68a70399 Accepting request 596538 from home:apersaud:branches:devel:languages:python Michael Ströder 2018-04-14 19:02:57 +00:00
  • 25ef29f5e9 Accepting request 561485 from devel:languages:python Dominique Leuenberger 2018-01-07 16:21:00 +00:00
  • a980707cdd Accepting request 561483 from home:apersaud:branches:devel:languages:python Michael Ströder 2018-01-03 23:16:43 +00:00
  • 79fb229757 Accepting request 555531 from devel:languages:python Dominique Leuenberger 2017-12-10 17:16:55 +00:00
  • 57b65f2a28 Accepting request 555281 from home:apersaud:branches:devel:languages:python Tomáš Chvátal 2017-12-09 12:37:11 +00:00
  • f8fe0ebf8f Accepting request 540778 from devel:languages:python Dominique Leuenberger 2017-11-12 17:01:09 +00:00
  • d774f05cb5 Accepting request 540775 from home:apersaud:branches:devel:languages:python Michael Ströder 2017-11-11 18:25:06 +00:00