diff options
author | Christian Tismer <tismer@stackless.com> | 2022-11-24 10:24:58 +0100 |
---|---|---|
committer | Christian Tismer <tismer@stackless.com> | 2022-11-24 14:24:49 +0100 |
commit | 59f159de51345d122638e16ad395cb00433c0d04 (patch) | |
tree | 5b456c27f970803ea703406ac5b2603b2906a6b6 | |
parent | 04c13d32ffb2c36e701bd843db349d4e1acfce77 (diff) |
Fix a cmake-only build, amended
pyminver was computed by cmake and evaluated by parser.py .
A recent refactoring extracted a computed string in a
wrong way.
Sorry, a tuple was needed as default.
Change-Id: Ib837af50f2cd525411a3a641e3ccc7fc99cf866a
Pick-to: 6.4
Fixes: PYSIDE-2127
Fixes: PYSIDE-2128
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
-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 66d79ad27..5d86b93a5 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 or 0))} 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! ***") |