From bf03f9b63aaa15bd95435973dfba52fb09c541d9 Mon Sep 17 00:00:00 2001 From: Avasam Date: Tue, 25 Jun 2024 06:27:35 -0400 Subject: [PATCH] Bump pyinstaller to 6.8.* (#12198) --- stubs/pyinstaller/METADATA.toml | 2 +- stubs/pyinstaller/PyInstaller/__main__.pyi | 1 + stubs/pyinstaller/PyInstaller/building/splash.pyi | 2 -- stubs/pyinstaller/PyInstaller/compat.pyi | 5 ++--- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/stubs/pyinstaller/METADATA.toml b/stubs/pyinstaller/METADATA.toml index f39bc8b31..e024779a5 100644 --- a/stubs/pyinstaller/METADATA.toml +++ b/stubs/pyinstaller/METADATA.toml @@ -1,4 +1,4 @@ -version = "6.6.*" +version = "6.8.*" upstream_repository = "https://github.com/pyinstaller/pyinstaller" requires = ["types-setuptools"] diff --git a/stubs/pyinstaller/PyInstaller/__main__.pyi b/stubs/pyinstaller/PyInstaller/__main__.pyi index 87e980344..8b295520d 100644 --- a/stubs/pyinstaller/PyInstaller/__main__.pyi +++ b/stubs/pyinstaller/PyInstaller/__main__.pyi @@ -9,3 +9,4 @@ _PyIConfig: TypeAlias = ( # https://pyinstaller.org/en/stable/usage.html#running-pyinstaller-from-python-code def run(pyi_args: Iterable[str] | None = None, pyi_config: _PyIConfig | None = None) -> None: ... +def check_unsafe_privileges() -> None: ... diff --git a/stubs/pyinstaller/PyInstaller/building/splash.pyi b/stubs/pyinstaller/PyInstaller/building/splash.pyi index a6dd06f71..da76b1162 100644 --- a/stubs/pyinstaller/PyInstaller/building/splash.pyi +++ b/stubs/pyinstaller/PyInstaller/building/splash.pyi @@ -12,7 +12,6 @@ class Splash(Target): name: Incomplete script_name: Incomplete minify_script: Incomplete - rundir: Incomplete max_img_size: Incomplete text_pos: Incomplete text_size: Incomplete @@ -37,7 +36,6 @@ class Splash(Target): text_default: str = "Initializing", full_tk: bool = False, minify_script: bool = True, - rundir: str = "__splash", name: str = ..., script_name: str = ..., max_img_size: tuple[int, int] | None = (760, 480), diff --git a/stubs/pyinstaller/PyInstaller/compat.pyi b/stubs/pyinstaller/PyInstaller/compat.pyi index 8b5fae0da..72e3d48b0 100644 --- a/stubs/pyinstaller/PyInstaller/compat.pyi +++ b/stubs/pyinstaller/PyInstaller/compat.pyi @@ -1,8 +1,8 @@ # https://pyinstaller.org/en/stable/hooks.html#module-PyInstaller.compat -from _typeshed import FileDescriptorOrPath, GenericPath +from _typeshed import FileDescriptorOrPath from collections.abc import Iterable from types import ModuleType -from typing import AnyStr, Final, Literal, overload +from typing import Final, Literal, overload strict_collect_mode: bool is_64bits: Final[bool] @@ -65,7 +65,6 @@ def exec_command_all( ) -> tuple[int, str, str]: ... def exec_python(*args: str, **kwargs: str | None) -> str: ... def exec_python_rc(*args: str, **kwargs: str | None) -> int: ... -def expand_path(path: GenericPath[AnyStr]) -> AnyStr: ... def getsitepackages(prefixes: Iterable[str] | None = None) -> list[str]: ... def importlib_load_source(name: str, pathname: str) -> ModuleType: ...