update to python 3.12 (#224)

This commit is contained in:
Adeeb Shihadeh
2024-05-25 16:26:50 -07:00
committed by GitHub
parent 53a681a2df
commit 1370af97d8
4 changed files with 1209 additions and 1116 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ export QT_QPA_PLATFORM="wayland-egl"
# python setup
export PYTHONPATH="/data/pythonpath"
export PATH="/usr/local/pyenv/bin:$PATH"
export PYENV_VERSION="3.11.4"
export PYENV_VERSION="3.12.3"
export PYENV_ROOT="/usr/local/pyenv"
# output of "pyenv init - --no-rehash"
+3 -3
View File
@@ -8,14 +8,14 @@ curl https://pyenv.run | bash
export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
PYTHON_VERSION="3.11.4"
PYTHON_VERSION="3.12.3"
if [ "$(uname -p)" == "aarch64" ]; then
pyenv install --verbose $PYTHON_VERSION
else
MAKEFLAGS="-j1" MAKE_OPTS="-j1" taskset --cpu-list 0 pyenv install --verbose $PYTHON_VERSION
MAKEFLAGS="-j16" MAKE_OPTS="-j16" pyenv install --verbose $PYTHON_VERSION
fi
echo "Setting global python version"
pyenv global $PYTHON_VERSION
pip3 install --no-cache-dir --upgrade pip==22.3.1 poetry==1.2.2
pip3 install --no-cache-dir --upgrade pip poetry
+1204 -1111
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -5,7 +5,7 @@ authors = ["Vehicle Researcher <user@comma.ai>"]
description = ""
[tool.poetry.dependencies]
python = "~3.11"
python = "~3.12"
atomicwrites = "*"
cffi = "*"
crcmod = "*"