Move to debian bookworm

Move to debian bookworm

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
2023-09-30 14:25:32 +02:00
parent 9eb419cf6b
commit 46b2600a3f
3 changed files with 6 additions and 4 deletions

View File

@ -23,10 +23,11 @@ cd /tmp
curl -# -LO https://bootstrap.pypa.io/pip/get-pip.py
# https://github.com/pypa/setuptools/issues/2993
export SETUPTOOLS_USE_DISTUTILS=stdlib
${PYTHON} get-pip.py --ignore-installed
# Add --break-system-packages to fix change since python 3.11: https://stackoverflow.com/a/75722775/10152334
${PYTHON} get-pip.py --ignore-installed --break-system-packages
rm get-pip.py
${PYTHON} -m pip install --upgrade --ignore-installed setuptools
${PYTHON} -m pip install --ignore-installed conan meson
${PYTHON} -m pip install --break-system-packages --upgrade --ignore-installed setuptools
${PYTHON} -m pip install --break-system-packages --ignore-installed conan meson
# Purge cache to save space: https://stackoverflow.com/questions/37513597/is-it-safe-to-delete-cache-pip-directory
${PYTHON} -m pip cache purge