Skip to content

Commit 307dd08

Browse files
authored
Bump pyinstaller to 5.7.* (#9343)
1 parent 40bfc26 commit 307dd08

File tree

5 files changed

+6
-10
lines changed

5 files changed

+6
-10
lines changed

stubs/pyinstaller/@tests/stubtest_allowlist.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ PyInstaller.utils.git
3232
PyInstaller.utils.hooks.django
3333
PyInstaller.utils.hooks.gi
3434
PyInstaller.utils.hooks.qt
35-
PyInstaller.utils.hooks.subproc.*
3635
PyInstaller.utils.hooks.tcl_tk
3736
PyInstaller.utils.misc
3837
PyInstaller.utils.osx

stubs/pyinstaller/METADATA.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version = "5.6.*"
1+
version = "5.7.*"
22
requires = ["types-setuptools"]
33

44
[tool.stubtest]

stubs/pyinstaller/PyInstaller/compat.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ from typing_extensions import Literal, TypeAlias
77

88
_OpenFile: TypeAlias = StrOrBytesPath | FileDescriptor
99

10+
strict_collect_mode: bool
1011
is_64bits: bool
1112
is_py35: Literal[True]
1213
is_py36: Literal[True]

stubs/pyinstaller/PyInstaller/isolated/_parent.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ _R = TypeVar("_R")
99
_P = ParamSpec("_P")
1010

1111
class Python:
12+
def __init__(self, strict_mode: bool | None = ...) -> None: ...
1213
def __enter__(self: Self) -> Self: ...
1314
def __exit__(
1415
self, exc_type: type[BaseException] | None, exc_val: BaseException | None, exc_tb: TracebackType | None

stubs/pyinstaller/PyInstaller/utils/hooks/__init__.pyi

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# https://pyinstaller.org/en/stable/hooks.html
22

3-
from _typeshed import StrOrBytesPath, StrPath, SupportsKeysAndGetItem
4-
from collections.abc import Callable, Iterable, Mapping
3+
from _typeshed import StrOrBytesPath, StrPath
4+
from collections.abc import Callable, Iterable
55
from typing import Any
6-
from typing_extensions import Literal, TypeAlias
6+
from typing_extensions import Literal
77

88
import pkg_resources
99
from PyInstaller import HOMEPATH as HOMEPATH
@@ -13,17 +13,12 @@ from PyInstaller.utils.hooks.win32 import get_pywin32_module_file_attribute as g
1313

1414
conda_support = conda
1515

16-
_Environ: TypeAlias = SupportsKeysAndGetItem[str, str] | Iterable[tuple[str, str]] | Mapping[str, str]
17-
1816
PY_IGNORE_EXTENSIONS: set[str]
1917
hook_variables: dict[str, str]
2018

2119
def exec_statement(statement: str) -> str | int: ...
2220
def exec_statement_rc(statement: str) -> str | int: ...
23-
def exec_script(script_filename: StrOrBytesPath, *args: str, env: _Environ | None = ...) -> str | int: ...
24-
def exec_script_rc(script_filename: StrOrBytesPath, *args: str, env: _Environ | None = ...) -> str | int: ...
2521
def eval_statement(statement: str) -> Any | Literal[""]: ...
26-
def eval_script(script_filename: StrOrBytesPath, *args: str, env: _Environ | None = ...) -> Any | Literal[""]: ...
2722
def get_pyextension_imports(module_name: str) -> list[str]: ...
2823
def get_homebrew_path(formula: str = ...) -> str | None: ...
2924
def remove_prefix(string: str, prefix: str) -> str: ...

0 commit comments

Comments
 (0)