Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.4.1
-
None
-
-
34e8eb569b (pyside/pyside-setup/dev) 7f5f505a49 (pyside/pyside-setup/6.4) 7f5f505a49 (pyside/tqtc-pyside-setup/6.4) c4995ad3e0 (pyside/tqtc-pyside-setup/6.4) 59f159de51 (pyside/tqtc-pyside-setup/dev) 59f159de51 (pyside/tqtc-pyside-setup/tqtc/dev)
Description
pyside 6.4.1 fails to build with cmake, caused by commit f97461f7440add879ebdc0d57c4fd1e3f41d48a4
Specifically, the line
p = f"\n *** Python is at version {'.'.join(map(str, pyminver))} now."
breaks if pyminver=None, which is the case when building with cmake.
FAILED: sources/pyside6/PySide6/QtCore/CMakeFiles/QtCore_pyi /build/pyside6/src/build/sources/pyside6/PySide6/QtCore/CMakeFiles/QtCore_pyi cd /build/pyside6/src/build/sources/pyside6/PySide6/QtCore && /usr/bin/cmake -E env LD_LIBRARY_PATH=/build/pyside6/src/build/sources/pyside6/libpyside:/bu ild/pyside6/src/build/sources/pyside6/libpysideqml:/build/pyside6/src/build/sources/shiboken6/libshiboken /usr/bin/python /build/pyside6/src/pyside-setup- opensource-src-6.4.1/sources/pyside6/PySide6/QtCore/../support/generate_pyi.py QtCore --sys-path /build/pyside6/src/build/sources/pyside6 /build/pyside6/s rc/build/sources/shiboken6/shibokenmodule/.. Traceback (most recent call last): File "signature_bootstrap.py", line 62, in ensure_shibokensupport File "signature_bootstrap.py", line 76, in bootstrap File "<frozen importlib._bootstrap>", line 1027, in _find_and_load File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 688, in _load_unlocked File "signature_bootstrap.py", line 131, in exec_module File "shibokensupport/signature/loader.py", line 107, in <module> File "<frozen importlib._bootstrap>", line 1027, in _find_and_load File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 688, in _load_unlocked File "signature_bootstrap.py", line 131, in exec_module File "shibokensupport/signature/parser.py", line 91, in <module> File "shibokensupport/signature/parser.py", line 96, in EnumSelect File "shibokensupport/signature/parser.py", line 72, in _get_flag_enum_option TypeError: 'NoneType' object is not iterable Problem importing shibokensupport: TypeError: 'NoneType' object is not iterable
Attachments
Issue Links
- is duplicated by
-
PYSIDE-2128 shiboken UserWarning
- Closed