From b9fd082cf7ff12f30c3678bef7bb1bc7ef0abb0d Mon Sep 17 00:00:00 2001 From: Avasam Date: Sun, 14 Apr 2024 13:33:06 -0400 Subject: [PATCH] Bump pyinstaller to 6.6.* (#11764) --- stubs/pyinstaller/METADATA.toml | 2 +- stubs/pyinstaller/PyInstaller/building/build_main.pyi | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/stubs/pyinstaller/METADATA.toml b/stubs/pyinstaller/METADATA.toml index 03b3c8c70..f39bc8b31 100644 --- a/stubs/pyinstaller/METADATA.toml +++ b/stubs/pyinstaller/METADATA.toml @@ -1,4 +1,4 @@ -version = "6.5.*" +version = "6.6.*" upstream_repository = "https://github.com/pyinstaller/pyinstaller" requires = ["types-setuptools"] diff --git a/stubs/pyinstaller/PyInstaller/building/build_main.pyi b/stubs/pyinstaller/PyInstaller/building/build_main.pyi index 914585926..ebd3831be 100644 --- a/stubs/pyinstaller/PyInstaller/building/build_main.pyi +++ b/stubs/pyinstaller/PyInstaller/building/build_main.pyi @@ -1,6 +1,6 @@ from _typeshed import Incomplete, StrPath from collections.abc import Iterable -from typing import Any +from typing import Any, Literal from PyInstaller.building import _PyiBlockCipher from PyInstaller.building.datastruct import Target, _TOCTuple @@ -39,4 +39,5 @@ class Analysis(Target): win_private_assemblies: bool = False, noarchive: bool = False, module_collection_mode: Incomplete | None = None, + optimize: Literal[-1, 0, 1, 2] | None = -1, ) -> None: ...