[psutil] Bump psutil to 7.1.1 (#14873)

This commit is contained in:
lev-blit
2025-11-21 16:09:22 +02:00
committed by GitHub
parent 3e1b90bb2d
commit cc792321dd
9 changed files with 21 additions and 16 deletions
@@ -2,3 +2,7 @@ psutil._pslinux
psutil._psutil_linux
psutil._psutil_windows
psutil._pswindows
# not always available on ARM64, but we test there
psutil.cpu_freq
psutil._psosx.cpu_freq
+1 -1
View File
@@ -1,4 +1,4 @@
version = "7.0.*"
version = "7.1.1"
upstream_repository = "https://github.com/giampaolo/psutil"
[tool.stubtest]
+5 -4
View File
@@ -21,10 +21,7 @@ PROC_STATUSES: Incomplete
TCP_STATUSES: Incomplete
PAGESIZE: Incomplete
AF_LINK: Incomplete
HAS_PER_CPU_TIMES: Incomplete
HAS_PROC_NUM_THREADS: Incomplete
HAS_PROC_OPEN_FILES: Incomplete
HAS_PROC_NUM_FDS: Incomplete
kinfo_proc_map: Incomplete
class svmem(NamedTuple):
@@ -108,6 +105,10 @@ def sensors_temperatures(): ...
def cpu_freq(): ...
def boot_time(): ...
def users(): ...
INIT_BOOT_TIME: float
def adjust_proc_create_time(ctime: float) -> float: ...
def pids(): ...
def pid_exists(pid): ...
def is_zombie(pid): ...
@@ -132,7 +133,7 @@ class Process:
def cpu_num(self): ...
def memory_info(self): ...
memory_full_info: Incomplete
def create_time(self): ...
def create_time(self, monotonic: bool = False) -> float: ...
def num_threads(self): ...
def num_ctx_switches(self): ...
def threads(self): ...
+2 -2
View File
@@ -24,8 +24,8 @@ HAS_PROC_IO_PRIORITY: Incomplete
HAS_CPU_AFFINITY: Incomplete
CLOCK_TICKS: Incomplete
PAGESIZE: Incomplete
BOOT_TIME: Incomplete
LITTLE_ENDIAN: Incomplete
UNSET: object
DISK_SECTOR_SIZE: int
AF_LINK: Incomplete
AddressFamily: Incomplete
@@ -213,7 +213,7 @@ class Process:
def cpu_times(self): ...
def cpu_num(self): ...
def wait(self, timeout: Incomplete | None = ...): ...
def create_time(self): ...
def create_time(self, monotonic: bool = False) -> float: ...
def memory_info(self): ...
def memory_full_info(self): ...
def memory_maps(self): ...
+5 -6
View File
@@ -11,6 +11,7 @@ if sys.platform == "darwin":
ZombieProcess as ZombieProcess,
conn_tmap as conn_tmap,
conn_to_ntuple as conn_to_ntuple,
debug as debug,
isfile_strict as isfile_strict,
memoize_when_activated as memoize_when_activated,
parse_environ_block as parse_environ_block,
@@ -70,23 +71,21 @@ if sys.platform == "darwin":
disk_usage = _psposix.disk_usage
disk_io_counters = _psutil_osx.disk_io_counters
def disk_partitions(all: bool = False) -> list[_common.sdiskpart]: ...
def sensors_battery() -> _common.sbattery | None: ...
net_io_counters = _psutil_osx.net_io_counters
net_if_addrs = _psutil_posix.net_if_addrs
def net_connections(kind: str = "inet") -> list[_common.sconn]: ...
def net_if_stats() -> dict[str, _common.snicstats]: ...
def boot_time() -> float: ...
INIT_BOOT_TIME: float
def adjust_proc_create_time(ctime: float) -> float: ...
def users() -> list[_common.suser]: ...
def pids() -> list[int]: ...
pid_exists = _psposix.pid_exists
def is_zombie(pid: int) -> bool: ...
def wrap_exceptions(fun: Callable[_P, _R]) -> Callable[_P, _R]: ...
def is_zombie(pid: int) -> bool: ...
class Process:
__slots__ = ["_cache", "_name", "_ppid", "pid"]
@@ -106,7 +105,7 @@ if sys.platform == "darwin":
def memory_info(self) -> pmem: ...
def memory_full_info(self) -> pfullmem: ...
def cpu_times(self) -> _common.pcputimes: ...
def create_time(self) -> float: ...
def create_time(self, monotonic: bool = False) -> float: ...
def num_ctx_switches(self) -> _common.pctxsw: ...
def num_threads(self) -> int: ...
def open_files(self) -> list[_common.popenfile]: ...
-1
View File
@@ -12,4 +12,3 @@ def proc_cpu_affinity_set(*args, **kwargs): ...
def proc_ioprio_get(*args, **kwargs): ...
def proc_ioprio_set(*args, **kwargs): ...
def set_debug(*args, **kwargs): ...
def users(*args, **kwargs): ...
+1 -1
View File
@@ -53,12 +53,12 @@ if sys.platform == "darwin":
def disk_io_counters() -> dict[str, tuple[int, int, int, int, int, int]]: ...
def disk_partitions() -> list[tuple[str, str, str, str]]: ...
def disk_usage_used(mount_point: StrOrBytesPath, default: _T, /) -> int | _T: ...
def has_cpu_freq() -> bool: ...
def net_io_counters() -> dict[str, tuple[int, int, int, int, int, int, int, int]]: ...
def per_cpu_times() -> list[tuple[float, float, float, float]]: ...
def pids() -> list[int]: ...
def sensors_battery() -> tuple[int, int, int]: ...
def swap_mem() -> tuple[int, int, int, int, int]: ...
def users() -> list[tuple[str, str, str, float, int]]: ...
def virtual_mem() -> tuple[int, int, int, int, int, int]: ...
def check_pid_range(pid: int, /) -> None: ...
def set_debug(value: bool, /) -> None: ...
+2
View File
@@ -1,4 +1,5 @@
import sys
from _typeshed import Incomplete
from typing import Final
if sys.platform == "linux":
@@ -31,4 +32,5 @@ if sys.platform == "darwin":
AF_LINK: Final[int]
def net_if_duplex_speed(nic_name: str, /) -> list[int]: ...
def users() -> list[tuple[Incomplete, ...]]: ...
def setpriority(pid: int, priority: int, /) -> None: ...
+1 -1
View File
@@ -66,7 +66,7 @@ if sys.platform == "win32":
def proc_info(
pid: int, /
) -> tuple[int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int]: ...
def boot_time() -> float: ...
def uptime() -> float: ...
def cpu_count_cores() -> int | None: ...
def cpu_count_logical() -> int | None: ...
def cpu_freq() -> tuple[int, int]: ...