mirror of
https://github.com/commaai/agnos-builder.git
synced 2026-08-06 16:55:45 +08:00
revert python3.12 (#234)
* Revert "remove pprofile for now" This reverts commit78a2f3e778. * Revert "update to python 3.12 (#224)" This reverts commit1370af97d8. * unpin
This commit is contained in:
@@ -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.12.3"
|
||||
export PYENV_VERSION="3.11.4"
|
||||
export PYENV_ROOT="/usr/local/pyenv"
|
||||
|
||||
# output of "pyenv init - --no-rehash"
|
||||
|
||||
@@ -8,11 +8,11 @@ curl https://pyenv.run | bash
|
||||
export PATH="$PYENV_ROOT/bin:$PATH"
|
||||
eval "$(pyenv init -)"
|
||||
|
||||
PYTHON_VERSION="3.12.3"
|
||||
PYTHON_VERSION="3.11.4"
|
||||
if [ "$(uname -p)" == "aarch64" ]; then
|
||||
pyenv install --verbose $PYTHON_VERSION
|
||||
else
|
||||
MAKEFLAGS="-j16" MAKE_OPTS="-j16" pyenv install --verbose $PYTHON_VERSION
|
||||
MAKEFLAGS="-j1" MAKE_OPTS="-j1" taskset --cpu-list 0 pyenv install --verbose $PYTHON_VERSION
|
||||
fi
|
||||
|
||||
echo "Setting global python version"
|
||||
|
||||
Generated
+1188
-1275
File diff suppressed because it is too large
Load Diff
@@ -5,7 +5,7 @@ authors = ["Vehicle Researcher <user@comma.ai>"]
|
||||
description = ""
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = "~3.12"
|
||||
python = "~3.11"
|
||||
atomicwrites = "*"
|
||||
cffi = "*"
|
||||
crcmod = "*"
|
||||
@@ -90,7 +90,7 @@ aenum = "*"
|
||||
coverage = "*"
|
||||
paramiko = "*"
|
||||
lru-dict = "*"
|
||||
#pprofile = "*" # broken on 3.12
|
||||
pprofile = "*"
|
||||
pyprof2calltree = "*"
|
||||
pre-commit = "*"
|
||||
mypy = "*"
|
||||
|
||||
Reference in New Issue
Block a user