revert python3.12 (#234)

* Revert "remove pprofile for now"

This reverts commit 78a2f3e778.

* Revert "update to python 3.12 (#224)"

This reverts commit 1370af97d8.

* unpin
This commit is contained in:
Adeeb Shihadeh
2024-07-05 15:01:07 -07:00
committed by GitHub
parent 4fc3c0adf8
commit ebc6887ddc
4 changed files with 1193 additions and 1280 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.12.3"
export PYENV_VERSION="3.11.4"
export PYENV_ROOT="/usr/local/pyenv"
# output of "pyenv init - --no-rehash"
+2 -2
View File
@@ -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"
+1188 -1275
View File
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -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 = "*"