Skip to content

Commit 1366528

Browse files
authored
fix: remove setuptools when setting-up GraalPy (#1836)
1 parent cc845d0 commit 1366528

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docker/build_scripts/finalize-one.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ export PIP_NO_WARN_SCRIPT_LOCATION=0
2626
if [ "${PY_IMPL}" == "graalpy" ]; then
2727
# GraalPy doesn't update pip/setuptools because it uses a patched version of pip/setuptools
2828
"${PREFIX}/bin/python" -m ensurepip --default-pip
29+
case ${PY_VER} in
30+
3.11) "${PREFIX}/bin/python" -m pip uninstall -y setuptools;;
31+
esac
2932
"${PREFIX}/bin/python" -m pip install -U --require-hashes -r "${MY_DIR}/requirements${PY_VER}.txt"
3033
elif [ -f "/usr/local/bin/cpython${PY_VER}" ]; then
3134
# Use the already installed cpython pip to bootstrap pip if available

0 commit comments

Comments
 (0)