diff options
author | Christian Tismer <tismer@stackless.com> | 2022-11-24 10:24:58 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-11-24 11:40:43 +0000 |
commit | c4995ad3e0b3c089e033391e73e3b944de49263a (patch) | |
tree | 76c88a6ca50c20eef5ac1fef0ba4a7f129c1c2c2 | |
parent | 22bba4418b8922ef2747608455a1326e15b51639 (diff) |
Fix a cmake-only build
pyminver was computed by cmake and evaluated by parser.py .
A recent refactoring extracted a computed string in a
wrong way.
Change-Id: Ia8264294ad0e050863ea912a9fee15792bed8f10
Fixes: PYSIDE-2127
Fixes: PYSIDE-2128
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
(cherry picked from commit 34e8eb569b865259055558384f91b7eeb4e27958)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | sources/shiboken6/shibokenmodule/files.dir/shibokensupport/signature/parser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken6/shibokenmodule/files.dir/shibokensupport/signature/parser.py b/sources/shiboken6/shibokenmodule/files.dir/shibokensupport/signature/parser.py index be82a4f92..66d79ad27 100644 --- a/sources/shiboken6/shibokenmodule/files.dir/shibokensupport/signature/parser.py +++ b/sources/shiboken6/shibokenmodule/files.dir/shibokensupport/signature/parser.py @@ -69,7 +69,7 @@ def _get_flag_enum_option(): flag = getattr(sys, sysname) if not isinstance(flag, int): flag = True - p = f"\n *** Python is at version {'.'.join(map(str, pyminver))} now." + p = f"\n *** Python is at version {'.'.join(map(str, pyminver or 0))} now." # PYSIDE-1797: Emit a warning when we may remove pep384_issue33738.cpp if pyminver and pyminver >= (3, 8): warnings.warn(f"{p} The file pep384_issue33738.cpp should be removed ASAP! ***") |