From 2a3633487d7e4052ce9c340efee23fa8e8b217cb Mon Sep 17 00:00:00 2001 From: David Galloway Date: Wed, 20 Oct 2021 10:18:41 -0400 Subject: [PATCH] scripts: Set LC_ALL=en_US.UTF-8 again Signed-off-by: David Galloway --- scripts/build_utils.sh | 4 ++++ 1 file changed, 4 insertions(+) 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. -- 2.47.3