diff --git a/docs/release_notes/next/dev-2330-PyInstaller-Qt-Bindings b/docs/release_notes/next/dev-2330-PyInstaller-Qt-Bindings new file mode 100644 index 00000000000..a59a0ee39a9 --- /dev/null +++ b/docs/release_notes/next/dev-2330-PyInstaller-Qt-Bindings @@ -0,0 +1 @@ +#2330: The PySide6 module is now excluded when building via PyInstaller due to hook clashes \ No newline at end of file diff --git a/packaging/PackageWithPyInstaller.py b/packaging/PackageWithPyInstaller.py index daf1b50cf13..80ba7b24cdd 100644 --- a/packaging/PackageWithPyInstaller.py +++ b/packaging/PackageWithPyInstaller.py @@ -89,7 +89,7 @@ def add_optional_arguments(run_options): def add_exclude_modules(run_options): - excludes = ['matplotlib', 'dask', 'pandas'] + excludes = ['matplotlib', 'dask', 'pandas', 'PySide6'] for exclude in excludes: run_options.extend(['--exclude-module', exclude])