]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
scripts: Set LC_ALL=en_US.UTF-8 again 1921/head
authorDavid Galloway <dgallowa@redhat.com>
Wed, 20 Oct 2021 14:18:41 +0000 (10:18 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Wed, 20 Oct 2021 14:19:15 +0000 (10:19 -0400)
Signed-off-by: David Galloway <dgallowa@redhat.com>
scripts/build_utils.sh

index bc9f60eb1bf3d54b09badc2c0e9598052d8e4b5b..ec41f97cd82f1045dfb68502e28616792f493f45 100644 (file)
@@ -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.