mirror of
https://github.com/actions/runner-images.git
synced 2025-12-16 22:58:22 +00:00
[macos] enable python3 (and pipx) on macOS13 (#7599)
This commit is contained in:
@@ -3,14 +3,16 @@ source ~/utils/utils.sh
|
||||
|
||||
echo "Installing Python Tooling"
|
||||
|
||||
echo "Install latest Python 2"
|
||||
Python2Url="https://www.python.org/ftp/python/2.7.18/python-2.7.18-macosx10.9.pkg"
|
||||
download_with_retries $Python2Url "/tmp" "python2.pkg"
|
||||
sudo installer -pkg /tmp/python2.pkg -target /
|
||||
pip install --upgrade pip
|
||||
if ! is_Veertu; then
|
||||
echo "Install latest Python 2"
|
||||
Python2Url="https://www.python.org/ftp/python/2.7.18/python-2.7.18-macosx10.9.pkg"
|
||||
download_with_retries $Python2Url "/tmp" "python2.pkg"
|
||||
sudo installer -pkg /tmp/python2.pkg -target /
|
||||
pip install --upgrade pip
|
||||
|
||||
echo "Install Python2 certificates"
|
||||
bash -c "/Applications/Python\ 2.7/Install\ Certificates.command"
|
||||
echo "Install Python2 certificates"
|
||||
bash -c "/Applications/Python\ 2.7/Install\ Certificates.command"
|
||||
fi
|
||||
|
||||
# Close Finder window
|
||||
if is_Veertu; then
|
||||
|
||||
Reference in New Issue
Block a user