1 From 34e8eb569b865259055558384f91b7eeb4e27958 Mon Sep 17 00:00:00 2001
2 From: Christian Tismer <tismer@stackless.com>
3 Date: Thu, 24 Nov 2022 10:24:58 +0100
4 Subject: Fix a cmake-only build
6 pyminver was computed by cmake and evaluated by parser.py .
7 A recent refactoring extracted a computed string in a
10 Change-Id: Ia8264294ad0e050863ea912a9fee15792bed8f10
14 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
16 .../shibokenmodule/files.dir/shibokensupport/signature/parser.py | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
19 diff --git a/sources/shiboken6/shibokenmodule/files.dir/shibokensupport/signature/parser.py b/sources/shiboken6/shibokenmodule/files.dir/shibokensupport/signature/parser.py
20 index be82a4f92..66d79ad27 100644
21 --- a/sources/shiboken6/shibokenmodule/files.dir/shibokensupport/signature/parser.py
22 +++ b/sources/shiboken6/shibokenmodule/files.dir/shibokensupport/signature/parser.py
23 @@ -69,7 +69,7 @@ def _get_flag_enum_option():
24 flag = getattr(sys, sysname)
25 if not isinstance(flag, int):
27 - p = f"\n *** Python is at version {'.'.join(map(str, pyminver))} now."
28 + p = f"\n *** Python is at version {'.'.join(map(str, pyminver or (0,)))} now."
29 # PYSIDE-1797: Emit a warning when we may remove pep384_issue33738.cpp
30 if pyminver and pyminver >= (3, 8):
31 warnings.warn(f"{p} The file pep384_issue33738.cpp should be removed ASAP! ***")