Commit Graph

  • c1c19de917 Accepting request 1321490 from devel:languages:python factory Ana Guerrero 2025-12-09 11:46:29 +00:00
  • 458c5f3146 - Only require pytest-subtests with pytest < 9. Steve Kowalik 2025-12-08 04:31:54 +00:00
  • b5f40bce22 Accepting request 1320594 from devel:languages:python Ana Guerrero 2025-12-02 12:18:52 +00:00
  • c262b4f6ce Accepting request 1320330 from home:mcalabkova:branches:devel:languages:python:pytest Matej Cepl 2025-11-29 22:09:45 +00:00
  • 0f344ccda8 Accepting request 1317430 from devel:languages:python Ana Guerrero 2025-11-14 15:10:48 +00:00
  • 69ab5021a8 Accepting request 1317109 from home:mcalabkova:branches:devel:languages:python Matej Cepl 2025-11-12 19:13:25 +00:00
  • 9bf8d6ffcf Accepting request 1315287 from devel:languages:python Ana Guerrero 2025-11-05 15:17:49 +00:00
  • 45a3763714 Accepting request 1314570 from home:glaubitz:branches:devel:languages:python Markéta Machová 2025-11-03 12:25:33 +00:00
  • 515d7f59f6 Accepting request 1313195 from devel:languages:python Ana Guerrero 2025-10-24 15:22:59 +00:00
  • 0fed888ead Accepting request 1313181 from home:mcalabkova:branches:devel:languages:python Nico Krapp 2025-10-23 10:15:01 +00:00
  • 05edae8d08 Accepting request 1312408 from home:mcalabkova:branches:devel:languages:python Matej Cepl 2025-10-21 00:30:20 +00:00
  • 26bb32bbda Accepting request 1307323 from devel:languages:python Ana Guerrero 2025-09-29 14:31:03 +00:00
  • bcb155f287 Accepting request 1307307 from home:glaubitz:branches:devel:languages:python Markéta Machová 2025-09-26 08:53:38 +00:00
  • 12ad701e10 Accepting request 1281077 from devel:languages:python slfo-main slfo-1.2 Dominique Leuenberger 2025-06-01 19:36:09 +00:00
  • 57ac4d642d Accepting request 1281077 from devel:languages:python Dominique Leuenberger 2025-06-01 19:36:09 +00:00
  • 61779a7ac4 - 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
  • 2b13d5f299 - 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
  • 1f1ab5ab06 Accepting request 1235896 from devel:languages:python Ana Guerrero 2025-01-09 14:05:53 +00:00
  • 74579c18f5 Accepting request 1235896 from devel:languages:python Ana Guerrero 2025-01-09 14:05:53 +00:00
  • 90fecc6fc9 - Update to 6.1.1 * 2471_: use Vulture CLI tool to detect dead code. * 2418_, [Linux]: fix race condition in case /proc/PID/stat does not exist, but /proc/PID does, resulting in FileNotFoundError. * 2470_, [Linux]: users()_ may return "localhost" instead of the actual IP address of the user logged in. Matej Cepl 2025-01-08 11:58:35 +00:00
  • 3316806192 Accepting request 1235162 from home:glaubitz:branches:devel:languages:python Matej Cepl 2025-01-08 11:58:35 +00:00
  • ba4f9f0f52 Accepting request 1225342 from devel:languages:python Ana Guerrero 2024-11-21 14:13:20 +00:00
  • ef2b80f6f4 Accepting request 1225342 from devel:languages:python Ana Guerrero 2024-11-21 14:13:20 +00:00
  • 0fba780c66 - 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
  • 1aad7caeb5 - 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
  • d7f03b8b1e Accepting request 1188219 from devel:languages:python Ana Guerrero 2024-07-18 17:15:40 +00:00
  • 56c6aad5c7 Accepting request 1188219 from devel:languages:python Ana Guerrero 2024-07-18 17:15:40 +00:00
  • e65b1b1f7d - Update to version 6.0.0 * 2109_: `maxfile and maxpath fields were removed from the namedtuple returned by disk_partitions()_. Reason: on network filesystems (NFS) this can potentially take a very long time to complete. * 2366_, [Windows]: log debug message when using slower process APIs. * 2375_, [macOS]: provide arm64 wheels. (patch by Matthieu Darbois) * 2396_: process_iter()_ no longer pre-emptively checks whether PIDs have been reused. This makes process_iter()_ around 20x times faster. * 2396_: a new psutil.process_iter.cache_clear() API can be used the clear process_iter()_ internal cache. * 2401_, Support building with free-threaded CPython 3.13. (patch by Sam Gross) * 2407_: Process.connections()_ was renamed to Process.net_connections()_. The old name is still available, but it's deprecated (triggers a DeprecationWarning) and will be removed in the future. * 2425_: [Linux]: provide aarch64 wheels. (patch by Matthieu Darbois / Ben Raz) * 2250_, [NetBSD]: Process.cmdline()_ sometimes fail with EBUSY. It usually happens for long cmdlines with lots of arguments. In this case retry getting the cmdline for up to 50 times, and return an empty list as last resort. * 2254_, [Linux]: offline cpus raise NotImplementedError in cpu_freq() (patch by Shade Gladden) * 2272_: Add pickle support to psutil Exceptions. * 2359_, [Windows], [CRITICAL]: pid_exists()_ disagrees with Process_ on whether a pid exists when ERROR_ACCESS_DENIED. * 2360_, [macOS]: can't compile on macOS < 10.13. (patch by Ryan Schmidt) * 2362_, [macOS]: can't compile on macOS 10.11. (patch by Ryan Schmidt) * 2365_, [macOS]: can't compile on macOS < 10.9. (patch by Ryan Schmidt) * 2395_, [OpenBSD]: pid_exists()_ erroneously return True if the argument is a thread ID (TID) instead of a PID (process ID). * 2412_, [macOS]: can't compile on macOS 10.4 PowerPC due to missing MNT_` constants. Markéta Machová 2024-07-17 14:24:09 +00:00
  • d1d4607a66 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
  • f6e7cc0050 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
  • 09602a573d 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
  • 0e7cd8bc4b 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
  • 80abc211b8 - 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
  • e94e8dd661 - 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
  • e46fa7793a 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
  • 62dc256a73 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
  • c3f6f9c0c9 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
  • dccc32a9ca 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
  • a8c877ed52 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
  • 4655439239 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
  • 2e857a6bb0 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
  • dc192e636f 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
  • d26b0467d4 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
  • 6bb43000e5 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
  • 12d00c1a82 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
  • d3aa4bf0ae - 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
  • 5fc743c85b 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
  • 44ef8b8665 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
  • ec6918519f 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
  • ae5a1e393a 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
  • a787048d45 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
  • 86da51118b 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
  • 54c206867c 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
  • c2d3c37aa6 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
  • 16a5ea5160 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
  • 4d88347830 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
  • 01a32c3652 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
  • de43d8af94 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
  • 9e1181a90b 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
  • 9986f7644d 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
  • 669aae4c3d 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
  • 14f6080f61 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
  • 6ab36c19a6 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
  • 720c663405 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