Skip to content

Commit c79275d

Browse files
authored
[psutil] Update to 7.2.2 (#15337)
1 parent 5fead6a commit c79275d

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

stubs/psutil/METADATA.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version = "7.2.1"
1+
version = "7.2.2"
22
upstream_repository = "https://github.com/giampaolo/psutil"
33

44
[tool.stubtest]

stubs/psutil/psutil/_psposix.pyi

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,21 @@ class Negsignal(enum.IntEnum):
5858
SIGSTKFLT = -16
5959

6060
def negsig_to_enum(num: int) -> int: ...
61-
def wait_pid(
61+
def convert_exit_code(status: int) -> int: ...
62+
def wait_pid_posix(
6263
pid: int,
6364
timeout: float | None = None,
64-
proc_name: str | None = None,
6565
_waitpid: Unused = ...,
6666
_timer: Callable[[], float] = ...,
6767
_min: Callable[..., Incomplete] = ...,
6868
_sleep: Callable[[float], None] = ...,
6969
_pid_exists: Callable[[int], bool] = ...,
7070
) -> int | None: ...
71+
def wait_pid_pidfd_open(pid: int, timeout: float | None = None) -> int | None: ...
72+
def wait_pid_kqueue(pid: int, timeout: float | None = None) -> int | None: ...
73+
def can_use_pidfd_open() -> bool: ...
74+
def can_use_kqueue() -> bool: ...
75+
def wait_pid(pid: int, timeout: float | None = None) -> int | None: ...
7176

7277
if sys.platform == "darwin":
7378
def disk_usage(path: StrOrBytesPath) -> ntp.sdiskusage: ...

0 commit comments

Comments
 (0)