|
|
|
@ -67,7 +67,7 @@ then |
|
|
|
|
time git clone --depth 1 https://github.com/CocoaPods/Specs.git ~/.cocoapods/repos/master |
|
|
|
|
|
|
|
|
|
# Needed for ios-binary-size |
|
|
|
|
time pip install --user pyyaml pyjwt cryptography requests |
|
|
|
|
time pip install --user pyyaml pyjwt pyOpenSSL cryptography requests |
|
|
|
|
|
|
|
|
|
# Store intermediate build files of ObjC tests into /tmpfs |
|
|
|
|
# TODO(jtattermusch): this has likely been done to avoid running |
|
|
|
@ -85,7 +85,7 @@ if [ "${PREPARE_BUILD_INSTALL_DEPS_PYTHON}" == "true" ] |
|
|
|
|
then |
|
|
|
|
# python |
|
|
|
|
time pip install --user virtualenv |
|
|
|
|
time pip install --user --upgrade Mako tox setuptools==44.1.1 twisted pyyaml pyjwt cryptography requests |
|
|
|
|
time pip install --user --upgrade Mako tox setuptools==44.1.1 twisted pyyaml pyjwt pyOpenSSL cryptography requests |
|
|
|
|
|
|
|
|
|
# Install Python 3.7 if it doesn't exist |
|
|
|
|
if [ ! -f "/usr/local/bin/python3.7" ]; then |
|
|
|
@ -94,7 +94,6 @@ then |
|
|
|
|
shasum -c /tmp/python_installer_checksum.sha256 |
|
|
|
|
time sudo installer -pkg ./python-3.7.0-macosx10.9.pkg -target / |
|
|
|
|
fi |
|
|
|
|
python3.7 -m pip install -U pyOpenSSL==20.0.0 |
|
|
|
|
|
|
|
|
|
# Install Python 3.8 if it doesn't exist |
|
|
|
|
if [ ! -f "/usr/local/bin/python3.8" ]; then |
|
|
|
@ -103,7 +102,6 @@ then |
|
|
|
|
shasum -c /tmp/python_installer_checksum.sha256 |
|
|
|
|
time sudo installer -pkg ./python-3.8.0-macosx10.9.pkg -target / |
|
|
|
|
fi |
|
|
|
|
python3.8 -m pip install -U pyOpenSSL==20.0.0 |
|
|
|
|
|
|
|
|
|
# Install Python 3.9 if it doesn't exist |
|
|
|
|
if [ ! -f "/usr/local/bin/python3.9" ]; then |
|
|
|
@ -112,7 +110,6 @@ then |
|
|
|
|
shasum -c /tmp/python_installer_checksum.sha256 |
|
|
|
|
time sudo installer -pkg ./python-3.9.0-macosx10.9.pkg -target / |
|
|
|
|
fi |
|
|
|
|
python3.9 -m pip install -U pyOpenSSL==20.0.0 |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
if [ "${PREPARE_BUILD_INSTALL_DEPS_CSHARP}" == "true" ] |
|
|
|
|