@@ -35,18 +35,18 @@ cat <<EOF > /usr/local/bin/manylinux-interpreters
3535
3636set -euo pipefail
3737
38- /opt/python/cp310-cp310 /bin/python $MY_DIR /manylinux-interpreters.py "\$ @"
38+ /opt/python/cp312-cp312 /bin/python $MY_DIR /manylinux-interpreters.py "\$ @"
3939EOF
4040chmod 755 /usr/local/bin/manylinux-interpreters
4141
4242MANYLINUX_INTERPRETERS_NO_CHECK=1 /usr/local/bin/manylinux-interpreters ensure " $@ "
4343
44- # Create venv for auditwheel & certifi
44+ # Create venv for certifi and pipx
4545TOOLS_PATH=/opt/_internal/tools
46- /opt/python/cp310-cp310 /bin/python -m venv --without-pip ${TOOLS_PATH}
46+ /opt/python/cp312-cp312 /bin/python -m venv --without-pip ${TOOLS_PATH}
4747
4848# Install certifi and pipx
49- /opt/python/cp310-cp310 /bin/python -m pip --python ${TOOLS_PATH} /bin/python install -U --require-hashes -r ${MY_DIR} /requirements-base-tools.txt
49+ /opt/python/cp312-cp312 /bin/python -m pip --python ${TOOLS_PATH} /bin/python install -U --require-hashes -r ${MY_DIR} /requirements-base-tools.txt
5050
5151# Make pipx available in PATH,
5252# Make sure when root installs apps, they're also in the PATH
@@ -74,7 +74,7 @@ export SSL_CERT_FILE=/opt/_internal/certs.pem
7474
7575# initialize shared library
7676# workaround https://github.com/pypa/pip/issues/9243
77- /opt/python/cp310-cp310 /bin/python -m pip download --dest /tmp/pinned-wheels --require-hashes -r /opt/_internal/build_scripts/requirements3.10 .txt
77+ /opt/python/cp312-cp312 /bin/python -m pip download --dest /tmp/pinned-wheels --require-hashes -r /opt/_internal/build_scripts/requirements3.12 .txt
7878pipx upgrade-shared --pip-args=" --no-index --find-links=/tmp/pinned-wheels"
7979
8080# install other tools with pipx
@@ -92,7 +92,7 @@ clean_pyc /opt/_internal
9292# remove cache
9393rm -rf /tmp/* || true
9494
95- hardlink -cv /opt/_internal
95+ hardlink -c /opt/_internal
9696
9797# update system packages
9898LC_ALL=C ${MY_DIR} /update-system-packages.sh
0 commit comments