From: David Galloway Date: Wed, 20 Oct 2021 14:18:41 +0000 (-0400) Subject: scripts: Set LC_ALL=en_US.UTF-8 again X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2a3633487d7e4052ce9c340efee23fa8e8b217cb;p=ceph-build.git scripts: Set LC_ALL=en_US.UTF-8 again Signed-off-by: David Galloway --- diff --git a/scripts/build_utils.sh b/scripts/build_utils.sh index bc9f60eb..ec41f97c 100644 --- a/scripts/build_utils.sh +++ b/scripts/build_utils.sh @@ -202,6 +202,10 @@ install_python_packages () { PIP_SDIST_INDEX="$HOME/.cache/pip" mkdir -p $PIP_SDIST_INDEX + # Avoid UnicodeErrors when installing packages. + # See https://github.com/ceph/ceph/pull/42811 + export LC_ALL=en_US.UTF-8 + # We started pinning pip to 10.0.0 as the default to prevent mismatching # versions on non-ephemeral slaves. Some jobs require different or latest # pip though so these if statements allow for that.