From 31b25db3a00da1aba79862799123ea127e051773 Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Mon, 29 Nov 2021 13:45:38 -0800 Subject: [PATCH] update python to 3.8.10 (#6) --- userspace/openpilot_python_dependencies.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/userspace/openpilot_python_dependencies.sh b/userspace/openpilot_python_dependencies.sh index 2bdb374..a725e34 100755 --- a/userspace/openpilot_python_dependencies.sh +++ b/userspace/openpilot_python_dependencies.sh @@ -8,11 +8,12 @@ curl https://pyenv.run | bash export PATH="$PYENV_ROOT/bin:$PATH" eval "$(pyenv init -)" +PYTHON_VERSION="3.8.10" if [ "$(uname -p)" == "aarch64" ]; then - pyenv install --verbose 3.8.5 + pyenv install --verbose $PYTHON_VERSION else - MAKEFLAGS="-j1" MAKE_OPTS="-j1" taskset --cpu-list 0 pyenv install --verbose 3.8.5 + MAKEFLAGS="-j1" MAKE_OPTS="-j1" taskset --cpu-list 0 pyenv install --verbose $PYTHON_VERSION fi echo "Setting global python version" -pyenv global 3.8.5 +pyenv global $PYTHON_VERSION