We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 55a0acb + 59b5156 commit 2e5c2f8Copy full SHA for 2e5c2f8
CHANGELOG.rst
@@ -44,6 +44,7 @@ bugfixes
44
45
* fix #883: use HeadersParser to ensure only mime metadata in headers is used
46
* fix #884: parse calver dates from versions with the v prefix
47
+* don't use a C locale without UTF-8 support, when running commands.
48
49
v7.1.0
50
======
src/setuptools_scm/_run_cmd.py
@@ -142,8 +142,8 @@ def run(
142
env=dict(
143
avoid_pip_isolation(no_git_env(os.environ)),
144
# os.environ,
145
- # try to disable i18n
146
- LC_ALL="C",
+ # try to disable i18n, but still allow UTF-8 encoded text.
+ LC_ALL="C.UTF-8",
147
LANGUAGE="",
148
HGPLAIN="1",
149
),
0 commit comments