PyInstaller: List ignored building sub-modules explicitly for stubtest (#10845)

This prevents stubtest from ignoring errors in modules that are stubbed.
This commit is contained in:
Sebastian Rittau
2023-10-06 13:05:46 +02:00
committed by GitHub
parent ee6df10dcc
commit 54a8fd74a7

View File

@@ -9,15 +9,20 @@ PyInstaller.__main__.run_makespec
PyInstaller.utils.hooks.conda.lib_dir
# A mix of modules meant to be private, and shallow incomplete type references for other modules
PyInstaller\.building\.\w+?
PyInstaller.building.build_main.*
PyInstaller\.building\.build_main\..*
PyInstaller.building.datastruct.unique_name
PyInstaller.depend.analysis.*
PyInstaller.isolated._parent.*
PyInstaller\.depend\.analysis\..*
PyInstaller\.isolated\._parent\..*
PyInstaller\.lib\.modulegraph\.modulegraph\.\w+?
# Most modules are not meant to be used, yet are not marked as private
PyInstaller.archive.*
PyInstaller\.archive(\.\w+)*
PyInstaller.building.icon
PyInstaller.building.makespec
PyInstaller.building.osx
PyInstaller.building.splash_templates
PyInstaller.building.templates
PyInstaller.building.utils
PyInstaller.config
PyInstaller.configure
PyInstaller.depend.bindepend
@@ -26,11 +31,14 @@ PyInstaller.depend.dylib
PyInstaller.depend.imphook
PyInstaller.depend.utils
PyInstaller.exceptions
PyInstaller.hooks.*
PyInstaller\.lib\.modulegraph\.\w+?
PyInstaller.loader.*
PyInstaller\.hooks(\.[\w-]+)* # weird hyphens in runtime module names
PyInstaller.lib.modulegraph.__main__
PyInstaller.lib.modulegraph.find_modules
PyInstaller.lib.modulegraph.util
PyInstaller.lib.modulegraph.zipio
PyInstaller\.loader(\.\w+)*
PyInstaller.log
PyInstaller.utils.cliutils.*
PyInstaller\.utils\.cliutils(\.\w+)*
PyInstaller.utils.conftest
PyInstaller.utils.git
PyInstaller.utils.hooks.django
@@ -41,4 +49,10 @@ PyInstaller.utils.misc
PyInstaller.utils.osx
PyInstaller.utils.run_tests
PyInstaller.utils.tests
PyInstaller\.utils\.win32\.\w+?
PyInstaller.utils.win32.icon
PyInstaller.utils.win32.winmanifest
PyInstaller.utils.win32.winresource
PyInstaller.utils.win32.winutils
# Module can't be imported at runtime on non-win32 platforms
PyInstaller.utils.win32.versioninfo