@@ -35,18 +35,18 @@ cat <<EOF > /usr/local/bin/manylinux-interpreters
35
35
36
36
set -euo pipefail
37
37
38
- /opt/python/cp310-cp310 /bin/python $MY_DIR /manylinux-interpreters.py "\$ @"
38
+ /opt/python/cp312-cp312 /bin/python $MY_DIR /manylinux-interpreters.py "\$ @"
39
39
EOF
40
40
chmod 755 /usr/local/bin/manylinux-interpreters
41
41
42
42
MANYLINUX_INTERPRETERS_NO_CHECK=1 /usr/local/bin/manylinux-interpreters ensure " $@ "
43
43
44
- # Create venv for auditwheel & certifi
44
+ # Create venv for certifi and pipx
45
45
TOOLS_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}
47
47
48
48
# 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
50
50
51
51
# Make pipx available in PATH,
52
52
# Make sure when root installs apps, they're also in the PATH
@@ -74,7 +74,7 @@ export SSL_CERT_FILE=/opt/_internal/certs.pem
74
74
75
75
# initialize shared library
76
76
# 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
78
78
pipx upgrade-shared --pip-args=" --no-index --find-links=/tmp/pinned-wheels"
79
79
80
80
# install other tools with pipx
@@ -92,7 +92,7 @@ clean_pyc /opt/_internal
92
92
# remove cache
93
93
rm -rf /tmp/* || true
94
94
95
- hardlink -cv /opt/_internal
95
+ hardlink -c /opt/_internal
96
96
97
97
# update system packages
98
98
LC_ALL=C ${MY_DIR} /update-system-packages.sh
0 commit comments