aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimo Fält <simo.falt@qt.io>2021-07-26 08:00:53 +0300
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-10-20 22:08:40 +0000
commit76b0e26e7a806347c21fa38f3728e57ea9eb42f7 (patch)
tree7ee4cfc6948784f1cad1e2a3cc99992b8ed8583c
parent309c6694df37c9c20388effa8073117b6ef135f7 (diff)
Provisioning: Update Python in macOS to 3.9.6
Change-Id: I092513727642b34cc71034dab96c78eaecfe72f1 Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit ea89779e220d552b71954c28816d32405eebff66) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rwxr-xr-xcoin/provisioning/common/macos/python3.sh18
1 files 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