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
+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