pytorch / builder

Continuous builder and binary build scripts for pytorch
BSD 2-Clause "Simplified" License
323 stars 213 forks source link

Fix locale can not change warning #1909

Closed chuanqi129 closed 2 days ago

chuanqi129 commented 4 days ago

Currently the docker images built from Docker_2_28 have locale can't set warning, and this issue will cause the xpu 3.8 manylinux wheel build job failed on numpy 1.15 installation phase, please refer https://github.com/pytorch/pytorch/actions/runs/9707728985/job/26809022850

Before fix:

bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)