diff --git a/plugins/python-build/bin/python-build b/plugins/python-build/bin/python-build index 20b17342..531d8eb3 100755 --- a/plugins/python-build/bin/python-build +++ b/plugins/python-build/bin/python-build @@ -2025,7 +2025,7 @@ build_package_ensurepip() { ensurepip_opts="--altinstall" fi # FIXME: `--altinstall` with `get-pip.py` - "$PYTHON_BIN" -s -m ensurepip ${ensurepip_opts} 1>/dev/null 2>&1 || build_package_get_pip "$@" || return 1 + "$PYTHON_BIN" -I -m ensurepip ${ensurepip_opts} 1>/dev/null 2>&1 || build_package_get_pip "$@" || return 1 build_package_symlink_version_suffix } diff --git a/plugins/python-build/test/pyenv_ext.bats b/plugins/python-build/test/pyenv_ext.bats index a2b73f61..ccf6f4c6 100644 --- a/plugins/python-build/test/pyenv_ext.bats +++ b/plugins/python-build/test/pyenv_ext.bats @@ -200,7 +200,7 @@ OUT assert_success assert_build_log <