From da963fa5dfc20895f47c9876b74f907e5a1aaa95 Mon Sep 17 00:00:00 2001 From: ANSHUL SINGH <72524975+ekanshul@users.noreply.github.com> Date: Sun, 16 Aug 2026 14:02:01 +0530 Subject: [PATCH 1/2] [pyinstaller] Add missing compat.is_netbsd PyInstaller.compat defines is_netbsd alongside the other platform flags, but the stub is missing it, so the daily stubtest run fails with: error: PyInstaller.compat.is_netbsd is not present in stub Placed between is_openbsd and is_hpux to match the order upstream. Co-Authored-By: Claude Opus 5 (1M context) --- stubs/pyinstaller/PyInstaller/compat.pyi | 1 + 1 file changed, 1 insertion(+) diff --git a/stubs/pyinstaller/PyInstaller/compat.pyi b/stubs/pyinstaller/PyInstaller/compat.pyi index 02a3113ffe6f..dd51f4aeb530 100644 --- a/stubs/pyinstaller/PyInstaller/compat.pyi +++ b/stubs/pyinstaller/PyInstaller/compat.pyi @@ -29,6 +29,7 @@ is_solar: Final[bool] is_aix: Final[bool] is_freebsd: Final[bool] is_openbsd: Final[bool] +is_netbsd: Final[bool] is_hpux: Final[bool] is_unix: Final[bool] is_musl: Final[bool] From bb36e04df9a8f24d402124b3ca4bec77336123a2 Mon Sep 17 00:00:00 2001 From: ANSHUL SINGH <72524975+ekanshul@users.noreply.github.com> Date: Wed, 19 Aug 2026 20:12:48 +0530 Subject: [PATCH 2/2] Bump pyinstaller to ~=6.22.1 is_netbsd was added in 6.22.1, so pin the minimum patch version. Co-Authored-By: Claude Opus 5 (1M context) --- stubs/pyinstaller/METADATA.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stubs/pyinstaller/METADATA.toml b/stubs/pyinstaller/METADATA.toml index 719dd6fcddc9..d1de5cab055d 100644 --- a/stubs/pyinstaller/METADATA.toml +++ b/stubs/pyinstaller/METADATA.toml @@ -1,3 +1,3 @@ -version = "6.22.*" +version = "~=6.22.1" upstream-repository = "https://github.com/pyinstaller/pyinstaller" partial-stub = true