Skip to content

Commit 9ea1079

Browse files
authored
Fix docker based tests by setting the unicode local. (#787)
1 parent c9b4bb0 commit 9ea1079

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile.qa

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ RUN python3 -m pip install --no-cache-dir --upgrade pip
2626
RUN python3 -m pip install --no-cache-dir -r requirements-dev.txt
2727

2828
ENV PYTHON_VERSION=$PYTHON_VERSION
29+
# Select language-agnostic "C" locale.
30+
# Unicode is necessary for some tools like "black" to work.
31+
ENV LC_ALL=C.UTF-8 LANG=C.UTF-8
2932

3033
CMD python3 -m pip install -e . && \
3134
make qa PYTHON_VERSION=$PYTHON_VERSION

0 commit comments

Comments
 (0)