From 76b0e26e7a806347c21fa38f3728e57ea9eb42f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simo=20F=C3=A4lt?= Date: Mon, 26 Jul 2021 08:00:53 +0300 Subject: Provisioning: Update Python in macOS to 3.9.6 Change-Id: I092513727642b34cc71034dab96c78eaecfe72f1 Reviewed-by: Dominik Holland (cherry picked from commit ea89779e220d552b71954c28816d32405eebff66) Reviewed-by: Qt Cherry-pick Bot --- coin/provisioning/common/macos/python3.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/coin/provisioning/common/macos/python3.sh b/coin/provisioning/common/macos/python3.sh index 185c3b01..1f240993 100755 --- a/coin/provisioning/common/macos/python3.sh +++ b/coin/provisioning/common/macos/python3.sh @@ -43,23 +43,23 @@ source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh" # shellcheck source=./pip.sh source "${BASH_SOURCE%/*}/pip.sh" -PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/mac/python-3.7.4-macosx10.9.pkg" -AltUrl="https://www.python.org/ftp/python/3.7.4/python-3.7.4-macosx10.9.pkg" -SHA1="ef8a6b1abba6a6e8553916a881af440705653fa8" +PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/mac/python-3.9.6-macos11.pkg" +AltUrl="https://www.python.org/ftp/python/3.9.6/python-3.9.6-macos11.pkg" +SHA1="2af5277c2e197719eb4b820430dee5d89e2577b6" DestDir="/" InstallPKGFromURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$DestDir" -InstallPip python3.7 +InstallPip python3.9 -/Library/Frameworks/Python.framework/Versions/3.7/bin/pip3 install virtualenv wheel +/Library/Frameworks/Python.framework/Versions/3.9/bin/pip3 install virtualenv wheel -SetEnvVar "PYTHON3_PATH" "/Library/Frameworks/Python.framework/Versions/3.7/bin" -SetEnvVar "PIP3_PATH" "/Library/Frameworks/Python.framework/Versions/3.7/bin" +SetEnvVar "PYTHON3_PATH" "/Library/Frameworks/Python.framework/Versions/3.9/bin" +SetEnvVar "PIP3_PATH" "/Library/Frameworks/Python.framework/Versions/3.9/bin" # Install all needed packages in a special wheel cache directory -/Library/Frameworks/Python.framework/Versions/3.7/bin/pip3 wheel --wheel-dir $HOME/python3-wheels -r ${BASH_SOURCE%/*}/../shared/requirements.txt +/Library/Frameworks/Python.framework/Versions/3.9/bin/pip3 wheel --wheel-dir $HOME/python3-wheels -r ${BASH_SOURCE%/*}/../shared/requirements.txt SetEnvVar "PYTHON3_WHEEL_CACHE" "$HOME/python3-wheels" -echo "python3 = 3.7.4" >> ~/versions.txt +echo "python3 = 3.9.6" >> ~/versions.txt -- cgit v1.2.3