Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
None
-
6.8.1, 6.8.0.2
-
None
Description
When pyside6-deploy meets a line like this:
from . import whatever
it fails with an error like this:
Traceback (most recent call last): File "${PROJECT_DIR}/.venv/lib/python3.12/site-packages/PySide6/scripts/deploy_lib/dependency_util.py", line 146, in pyside_module_imports if main_mod_name.startswith("PySide6"): ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'startswith'
The check is clearly missing from there. The line 146 should be like this:
if main_mod_name is not None main_mod_name.startswith("PySide6"):