Uh oh!
There was an error while loading. Please reload this page.
[CI][Docker] set environment variables for UTF-8, to prevent errors when running black - #8089
Conversation
…hen running `black` * Sets environment shell encoding to UTF-8 * This prevents the black formatting tool to exit with the following error: "RuntimeError: Click will abort further execution because Python was configured to use ASCII as encoding for the environment"
leandron
commented
May 20, 2021
leandron
commented
May 20, 2021
@areusch if you have a minute, can you review? |
areusch
commented
May 20, 2021
@leandron if it's ok, i'd like to hold this change until we finish #7995. i think it's likely not going to affect it, but we have a few CUDA changes to make in order to make any progress on updating the images and i'd like to not mix future changes. that said, if it's pressing, i don't think this one will affect much. |
leandron
commented
May 20, 2021
It would be good to merge as it is very low impact - if possible, so that I can keep validating the images overnight. In case you want to keep this to organise #7995 - I also support it -, I’ll manage with some local change on my CI jobs. Let me know. |
areusch
commented
May 20, 2021
@tkonolige wdyt? i'm holding most changes, but this one a) only affects ci-lint and b) is pretty low-impact |
tkonolige
commented
May 20, 2021
This should be an easy rebuild. Let's merge. |
…hen running `black` (apache#8089) * Sets environment shell encoding to UTF-8 * This prevents the black formatting tool to exit with the following error: "RuntimeError: Click will abort further execution because Python was configured to use ASCII as encoding for the environment"
…hen running `black` (apache#8089) * Sets environment shell encoding to UTF-8 * This prevents the black formatting tool to exit with the following error: "RuntimeError: Click will abort further execution because Python was configured to use ASCII as encoding for the environment"
Updates ci_lint image to use UTF-8 encoding.
Sets environment shell encoding to UTF-8
This prevents the black formatting tool to exit with the following error:
"RuntimeError: Click will abort further execution because Python was
configured to use ASCII as encoding for the environment"