Bump psutil to 6.0.* (#12167)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Nikita Sobolev
2024-06-20 10:13:10 +03:00
committed by GitHub
parent 852946f759
commit be50f8e433
11 changed files with 10 additions and 12 deletions

View File

@@ -1,4 +1,4 @@
version = "5.9.*"
version = "6.0.*"
upstream_repository = "https://github.com/giampaolo/psutil"
[tool.stubtest]

View File

@@ -223,6 +223,7 @@ class Process:
def terminate(self) -> None: ...
def kill(self) -> None: ...
def wait(self, timeout: float | None = None) -> int: ...
def net_connections(self, kind: str = "inet") -> list[pconn]: ...
class Popen(Process):
def __init__(self, *args, **kwargs) -> None: ...

View File

@@ -89,8 +89,6 @@ class sdiskpart(NamedTuple):
mountpoint: str
fstype: str
opts: str
maxfile: int
maxpath: int
class snetio(NamedTuple):
bytes_sent: int

View File

@@ -20,7 +20,6 @@ xrange = range
unicode = str
basestring = str
def u(s): ...
def b(s): ...
SubprocessTimeoutExpired = TimeoutExpired

View File

@@ -85,7 +85,7 @@ class Process:
def create_time(self): ...
def num_threads(self): ...
def threads(self): ...
def connections(self, kind: str = ...): ...
def net_connections(self, kind: str = ...): ...
def nice_get(self): ...
def nice_set(self, value): ...
def ppid(self): ...

View File

@@ -136,7 +136,7 @@ class Process:
def num_threads(self): ...
def num_ctx_switches(self): ...
def threads(self): ...
def connections(self, kind: str = ...): ...
def net_connections(self, kind: str = ...): ...
def wait(self, timeout: Incomplete | None = ...): ...
def nice_get(self): ...
def nice_set(self, value): ...

View File

@@ -148,7 +148,7 @@ net_if_addrs: Any
class _Ipv6UnsupportedError(Exception): ...
class Connections:
class NetConnections:
tmap: Any
def __init__(self) -> None: ...
def get_proc_inodes(self, pid): ...
@@ -220,7 +220,7 @@ class Process:
def rlimit(self, resource_, limits: Incomplete | None = ...): ...
def status(self): ...
def open_files(self): ...
def connections(self, kind: str = ...): ...
def net_connections(self, kind: str = ...): ...
def num_fds(self): ...
def ppid(self): ...
def uids(self, _uids_re=...): ...

View File

@@ -99,7 +99,7 @@ class Process:
def num_ctx_switches(self): ...
def num_threads(self): ...
def open_files(self): ...
def connections(self, kind: str = ...): ...
def net_connections(self, kind: str = ...): ...
def num_fds(self): ...
def wait(self, timeout: Incomplete | None = ...): ...
def nice_get(self): ...

View File

@@ -114,7 +114,7 @@ class Process:
def status(self): ...
def threads(self): ...
def open_files(self): ...
def connections(self, kind: str = ...): ...
def net_connections(self, kind: str = ...): ...
class nt_mmap_grouped(NamedTuple):
path: Incomplete

View File

@@ -33,7 +33,7 @@ def net_io_counters(*args, **kwargs) -> Any: ...
def per_cpu_times(*args, **kwargs) -> Any: ...
def pids(*args, **kwargs) -> Any: ...
def proc_cmdline(*args, **kwargs) -> Any: ...
def proc_connections(*args, **kwargs) -> Any: ...
def proc_net_connections(*args, **kwargs) -> Any: ...
def proc_cwd(*args, **kwargs) -> Any: ...
def proc_environ(*args, **kwargs) -> Any: ...
def proc_exe(*args, **kwargs) -> Any: ...

View File

@@ -190,7 +190,7 @@ class Process:
def resume(self) -> None: ...
def cwd(self): ...
def open_files(self): ...
def connections(self, kind: str = "inet"): ...
def net_connections(self, kind: str = "inet"): ...
def nice_get(self): ...
def nice_set(self, value): ...
def ionice_get(self): ...