From 513af7962de9e917db786114bcf4e6392f250e84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simo=20F=C3=A4lt?= Date: Tue, 9 Sep 2025 10:34:29 +0300 Subject: [PATCH] Provisioning: Update python 3.9 to 3.13 for macOS packaging config After swapping the packaging node from x86_64 to arm64 the default python got downgraded from 3.11 to 3.9. Change-Id: Iea65e3c3d959c22e1a12d2a4f12ba466de4dbf24 Reviewed-by: Alexandru Croitor (cherry picked from commit e8106d5615b2136096cb7de250638c55a4a51677) Reviewed-by: Qt Cherry-pick Bot --- coin/provisioning/qtci-macos-15-arm/25-python.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/coin/provisioning/qtci-macos-15-arm/25-python.sh b/coin/provisioning/qtci-macos-15-arm/25-python.sh index 3a97f70c..0d611fae 100755 --- a/coin/provisioning/qtci-macos-15-arm/25-python.sh +++ b/coin/provisioning/qtci-macos-15-arm/25-python.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Copyright (C) 2021 The Qt Company Ltd. +# Copyright (C) 2025 The Qt Company Ltd. # Copyright (C) 2017 Pelagicore AG # SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only @@ -8,13 +8,13 @@ # shellcheck source=../common/unix/SetEnvVar.sh source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh" -pyenv install 3.9.7 +pyenv install 3.13.7 -/Users/qt/.pyenv/versions/3.9.7/bin/pip3 install --user virtualenv wheel html5lib -/Users/qt/.pyenv/versions/3.9.7/bin/pip3 install --user -r ${BASH_SOURCE%/*}/../common/shared/requirements.txt +/Users/qt/.pyenv/versions/3.13.7/bin/pip3 install --user virtualenv wheel html5lib +/Users/qt/.pyenv/versions/3.13.7/bin/pip3 install --user -r ${BASH_SOURCE%/*}/../common/shared/requirements.txt -SetEnvVar "PYTHON3_PATH" "/Users/qt/.pyenv/versions/3.9.7/bin/" -SetEnvVar "PIP3_PATH" "/Users/qt/.pyenv/versions/3.9.7/bin/" +SetEnvVar "PYTHON3_PATH" "/Users/qt/.pyenv/versions/3.13.7/bin/" +SetEnvVar "PIP3_PATH" "/Users/qt/.pyenv/versions/3.13.7/bin/" # Use 3.9 as a default python SetEnvVar "PATH" "\$PYTHON3_PATH:\$PATH" @@ -23,4 +23,4 @@ SetEnvVar "PATH" "\$PYTHON3_PATH:\$PATH" # hence the explicit assignment to SBOM_PYTHON_APPS_PATH. SetEnvVar "SBOM_PYTHON_APPS_PATH" "/Users/qt/.local/bin" -echo "python3 = 3.9.7" >> ~/versions.txt +echo "python3 = 3.13.7" >> ~/versions.txt