mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
Bump pyinstaller to 5.7.* (#9343)
This commit is contained in:
@@ -32,7 +32,6 @@ PyInstaller.utils.git
|
||||
PyInstaller.utils.hooks.django
|
||||
PyInstaller.utils.hooks.gi
|
||||
PyInstaller.utils.hooks.qt
|
||||
PyInstaller.utils.hooks.subproc.*
|
||||
PyInstaller.utils.hooks.tcl_tk
|
||||
PyInstaller.utils.misc
|
||||
PyInstaller.utils.osx
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
version = "5.6.*"
|
||||
version = "5.7.*"
|
||||
requires = ["types-setuptools"]
|
||||
|
||||
[tool.stubtest]
|
||||
|
||||
@@ -7,6 +7,7 @@ from typing_extensions import Literal, TypeAlias
|
||||
|
||||
_OpenFile: TypeAlias = StrOrBytesPath | FileDescriptor
|
||||
|
||||
strict_collect_mode: bool
|
||||
is_64bits: bool
|
||||
is_py35: Literal[True]
|
||||
is_py36: Literal[True]
|
||||
|
||||
@@ -9,6 +9,7 @@ _R = TypeVar("_R")
|
||||
_P = ParamSpec("_P")
|
||||
|
||||
class Python:
|
||||
def __init__(self, strict_mode: bool | None = ...) -> None: ...
|
||||
def __enter__(self: Self) -> Self: ...
|
||||
def __exit__(
|
||||
self, exc_type: type[BaseException] | None, exc_val: BaseException | None, exc_tb: TracebackType | None
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
# https://pyinstaller.org/en/stable/hooks.html
|
||||
|
||||
from _typeshed import StrOrBytesPath, StrPath, SupportsKeysAndGetItem
|
||||
from collections.abc import Callable, Iterable, Mapping
|
||||
from _typeshed import StrOrBytesPath, StrPath
|
||||
from collections.abc import Callable, Iterable
|
||||
from typing import Any
|
||||
from typing_extensions import Literal, TypeAlias
|
||||
from typing_extensions import Literal
|
||||
|
||||
import pkg_resources
|
||||
from PyInstaller import HOMEPATH as HOMEPATH
|
||||
@@ -13,17 +13,12 @@ from PyInstaller.utils.hooks.win32 import get_pywin32_module_file_attribute as g
|
||||
|
||||
conda_support = conda
|
||||
|
||||
_Environ: TypeAlias = SupportsKeysAndGetItem[str, str] | Iterable[tuple[str, str]] | Mapping[str, str]
|
||||
|
||||
PY_IGNORE_EXTENSIONS: set[str]
|
||||
hook_variables: dict[str, str]
|
||||
|
||||
def exec_statement(statement: str) -> str | int: ...
|
||||
def exec_statement_rc(statement: str) -> str | int: ...
|
||||
def exec_script(script_filename: StrOrBytesPath, *args: str, env: _Environ | None = ...) -> str | int: ...
|
||||
def exec_script_rc(script_filename: StrOrBytesPath, *args: str, env: _Environ | None = ...) -> str | int: ...
|
||||
def eval_statement(statement: str) -> Any | Literal[""]: ...
|
||||
def eval_script(script_filename: StrOrBytesPath, *args: str, env: _Environ | None = ...) -> Any | Literal[""]: ...
|
||||
def get_pyextension_imports(module_name: str) -> list[str]: ...
|
||||
def get_homebrew_path(formula: str = ...) -> str | None: ...
|
||||
def remove_prefix(string: str, prefix: str) -> str: ...
|
||||
|
||||
Reference in New Issue
Block a user