Commit Graph

89 Commits

Author SHA1 Message Date
renovate[bot] 8b31f2639e Update most test/lint dependencies (#15582) 2026-04-01 17:54:51 +02:00
Sebastian Rittau 8ffc43610f Update mypy to 1.20.0 (#15588) 2026-04-01 17:02:18 +02:00
Semyon Moroz c79275d92e [psutil] Update to 7.2.2 (#15337) 2026-01-29 16:54:04 +01:00
Semyon Moroz 6731a33cdb [psutil] Annotate Popen.__init__ method (#15186) 2026-01-15 11:24:48 +01:00
github-actions[bot] 3714af2b84 [stubsabot] Bump psutil to 7.2.1 (#15192)
Release: https://pypi.org/pypi/psutil/7.2.1
Homepage: https://github.com/giampaolo/psutil
Repository: https://github.com/giampaolo/psutil
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/psutil

If stubtest fails for this PR:
- Leave this PR open (as a reminder, and to prevent stubsabot from opening another PR)
- Fix stubtest failures in another PR, then close this PR

Note that you will need to close and re-open the PR in order to trigger CI

Co-authored-by: stubsabot <>
2025-12-30 09:51:15 +00:00
Semyon Moroz 35fa2c83c5 [psutil] Update to 7.2.0 (#15173) 2025-12-27 11:28:34 +01:00
Semyon Moroz fcc9ebccb5 [psutil] Use more strict pyright settings (#15109) 2025-12-10 23:21:00 +01:00
Michael R. Crusoe 8be6572486 [psutil] add overloads for cpu_affinity (#15112) 2025-12-09 23:05:04 +01:00
Semyon Moroz a1d94e7121 [psutil] Complete common POSIX logic (#15094) 2025-12-01 15:56:46 +01:00
Semyon Moroz e80d84d98a [psutil] Complete Linux (#15093) 2025-11-29 16:50:28 +01:00
Semyon Moroz 349431d92d [psutil] Complete BSD (#15090) 2025-11-28 23:11:13 +01:00
Semyon Moroz 6c8743a576 [psutil] Complete SunOS (#15089) 2025-11-27 12:22:25 +01:00
Semyon Moroz d38b648723 [psutil] Complete AIX (#15088) 2025-11-26 13:48:23 +01:00
Semyon Moroz e2c8d58a41 [psutil] Update to 7.1.3 (#15074) 2025-11-24 16:50:15 +01:00
lev-blit cc792321dd [psutil] Bump psutil to 7.1.1 (#14873) 2025-11-21 15:09:22 +01:00
Semyon Moroz b4b633020a [psutil] Annotate few common attributes (#15031) 2025-11-15 14:18:16 +01:00
Semyon Moroz 0d25c8c73c [psutil] Complete OSX stubs (#15030) 2025-11-15 14:17:07 +01:00
Semyon Moroz 23c65436f5 [psutil] Complete Windows stubs (#15015) 2025-11-14 21:53:46 +01:00
Semyon Moroz e2bc120079 [psutil] Use Incomplete instead of Any (#15010) 2025-11-10 08:58:36 +01:00
Emmanuel Ferdman 8845352c2e [psutil] Add cache_clear to psutil.process_iter typing (#14803) 2025-09-30 14:59:31 +02:00
Jelle Zijlstra ca44e4c45d Add __slots__ to third-party packages using stubdefaulter (#14619) 2025-08-21 15:38:13 -07:00
Jelle Zijlstra 573b57d8da Add missing defaults to third-party stubs (#14617) 2025-08-21 13:36:29 -07:00
Sebastian Rittau 3f08a4ed10 Split tool.stubtest.platforms metadata key (#13746)
Co-authored-by: Avasam <samuel.06@hotmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-07-31 12:07:20 -04:00
Harry 9b7b2bafab [psutil]: Add missing __dir__ method to psutil.Popen (#14207) 2025-05-31 16:21:13 +02:00
Sebastian Rittau 126768408a Replace Incomplete | None = None in third party stubs (#14063) 2025-05-15 21:37:43 +02:00
Semyon Moroz a3c8fce58d Add __all__ part 2 (#13719)
---------

Co-authored-by: Avasam <samuel.06@hotmail.com>
2025-03-31 18:27:19 -04:00
sobolevn a640e08986 Update psutil to 7.0.* (#13507) 2025-02-17 11:23:20 +01:00
Stephen Morton 097581ea47 Update to mypy 1.14 (#13272) 2024-12-20 17:29:38 -08:00
Vincent Meurisse 898cb55af3 Update type for psutil.cpu_count (#12941)
The function can return None:
https://github.com/giampaolo/psutil/blame/567438cd3eb4334486d88ba90aa14c65755b61cd/psutil/__init__.py#L1665-L1667
2024-11-01 07:50:03 -07:00
sobolevn 8b32739f13 Bump psutil to 6.1.* (#12868) 2024-10-21 17:22:44 +01:00
Cal Jacobson 3f04e4d65b update psutil.Process.parent() return type (#12767)
per `psutil.Process.parent()`'s docstring, it may return `None`.

https://github.com/giampaolo/psutil/blob/0a71d0e404ddaab32b5222351fd2292802e3b131/psutil/__init__.py#L574
2024-10-09 22:18:35 -07:00
Alan Du 23d867efb2 Fix types for psutil.cpu_* functions (#12602) 2024-08-31 13:03:42 +03:00
Nikita Sobolev 05b975a81f psutil: deprecate Process.connections (#12174) 2024-06-20 14:34:29 +02:00
Nikita Sobolev be50f8e433 Bump psutil to 6.0.* (#12167)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-06-20 10:13:10 +03:00
renovate[bot] 5fc866f9fd Update dependency pyright to v1.1.363 (#11919)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Alex Waygood <alex.waygood@gmail.com>
2024-05-15 21:11:21 -04:00
Kanishk Pachauri 120f01dcb3 stubs: change psutil's Process.wait timeout argument to float (#11883)
Fixes #11866
2024-05-09 19:25:00 -07:00
Eric Traut 17f1c4628a Add precise values for enum members where possible (#11299)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Alex Waygood <alex.waygood@gmail.com>
2024-04-22 15:10:59 +01:00
Matthew Hoffman 53443ac4d0 [psutil] add settable info property (#10275) 2024-03-15 10:16:06 +01:00
Shantanu 88fa182253 Use PEP 570 syntax in third party stubs (#11554) 2024-03-10 14:11:43 +01:00
Alex Waygood c49c84f319 A new shade of Black (#11362) 2024-02-04 16:38:55 -08:00
Sebastian Rittau b6eaadcfe5 Update typing_extensions imports in third-party stubs (#11245) 2024-01-05 15:40:13 +01:00
Jelle Zijlstra cb688d2577 psutil: updates (#10894) 2023-10-15 18:22:11 -07:00
Sebastian Rittau afe18e95a9 Add an upstream_repository field to METADATA.toml (#10487)
Closes: #10478
2023-07-20 16:45:41 +02:00
Denis Laxalde fce4fe7b88 psutil: import platform-specific 'pio' definitions (#10305) 2023-06-12 12:53:22 +02:00
Denis Laxalde 85a6dd14e1 psutil: declare return type of io_counters() (#10303) 2023-06-12 10:33:51 +02:00
Jungkook Park f6279c7122 [psutil] Fix cpu_percent return type when percpu is True (#10238) 2023-06-01 15:08:31 +02:00
Shantanu 143b9612f1 psutil: fix stubtest (#10065)
Fixes #10059
2023-04-19 20:58:49 -06:00
Alex Waygood 6fd7e36e80 Add default values for third-party stubs beginning with 'P' (#9957) 2023-03-27 18:58:53 +01:00
Jelle Zijlstra bff9d7a7df psutil: sconn.pid can be None (#9853)
Found out about this the hard way.

The code path that allows None is here: https://github.com/giampaolo/psutil/blob/2da99502238852f18f74db05304e67a01ee77005/psutil/_pslinux.py#L923
2023-03-07 22:07:54 +00:00
Avasam 52ec44fa58 Improve many __(a)exit__ annotations (#9696) 2023-02-25 21:50:30 +00:00