diff options
author | Cristian Maureira-Fredes <Cristian.Maureira-Fredes@qt.io> | 2021-01-04 11:55:13 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-01-05 10:19:31 +0000 |
commit | e48867871d787f278e6151819658b7e3433a3d84 (patch) | |
tree | 3e6f3605f514fc590e39c8eab98053b75ea63bf2 | |
parent | ac07f3f6ec396243f63a3a604613fe805cf190e2 (diff) |
build_scripts: fix get_config_var for Big Sur
get_config_var(...) returns an integer so the split
fails.
Fixes: PYSIDE-1469
Change-Id: Iadf76c523dfca78c8b8d85511d06dc366de6273f
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit 3f6c13dc7b4241c924b0b4366e3cbc94572737b7)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | build_scripts/wheel_utils.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build_scripts/wheel_utils.py b/build_scripts/wheel_utils.py index a976e2bce..cea45b107 100644 --- a/build_scripts/wheel_utils.py +++ b/build_scripts/wheel_utils.py @@ -124,7 +124,8 @@ def macos_pyside_min_deployment_target(): qt_target_split = [int(x) for x in qt_target.split('.')] if python_target: - python_target_split = [int(x) for x in python_target.split('.')] + # macOS Big Sur returns a number not a string + python_target_split = [int(x) for x in str(python_target).split('.')] if setup_target: setup_target_split = [int(x) for x in setup_target.split('.')] |