summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSorin Sbarnea <ssbarnea@redhat.com>2021-08-18 12:25:47 +0100
committerGitHub <noreply@github.com>2021-08-18 12:25:47 +0100
commitbb609f5acfc580588925367b00533bf808e9d4c1 (patch)
treee5b6edd2aa6f35a438620fb666cf8c7b15ab15b5
parent8ded7b72cb7dbb8da3a3eccfe6f9a099edbcde5f (diff)
downloadtox-git-bb609f5acfc580588925367b00533bf808e9d4c1.tar.gz
Add LC_ALL to implicit tox passenv (#2162)
This is needed because LANG by itself is not enough to help newer pip from failing on py36. Forcing tox users to manually alter not only their system configuration but also their tox.ini files to avoid that bug is not quite desired. As we already pass `LANG` and `LANGUAGE` I see not reason why we should not do the same for `LC_ALL` too. Related: https://github.com/pypa/pip/issues/10219
-rw-r--r--docs/changelog/2162.bugfix.rst1
-rw-r--r--src/tox/config/__init__.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/docs/changelog/2162.bugfix.rst b/docs/changelog/2162.bugfix.rst
new file mode 100644
index 00000000..2aeba217
--- /dev/null
+++ b/docs/changelog/2162.bugfix.rst
@@ -0,0 +1 @@
+include ``LC_ALL`` to implicit list of passenv variables - by :user:`ssbarnea`
diff --git a/src/tox/config/__init__.py b/src/tox/config/__init__.py
index 9c699cbd..54dbf0bd 100644
--- a/src/tox/config/__init__.py
+++ b/src/tox/config/__init__.py
@@ -770,6 +770,7 @@ def tox_addoption(parser):
"CURL_CA_BUNDLE",
"LANG",
"LANGUAGE",
+ "LC_ALL",
"LD_LIBRARY_PATH",
"PATH",
"PIP_INDEX_URL",