Skip to content

Commit 6a51154

Browse files
committed
Add LC_ALL to implicit tox passenv
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: pypa/pip#10219
1 parent 8ded7b7 commit 6a51154

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

docs/changelog/2162.bugfix.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include ``LC_ALL`` to implicit list of passenv variables - by :user:`ssbarnea`

src/tox/config/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -770,6 +770,7 @@ def passenv(testenv_config, value):
770770
"CURL_CA_BUNDLE",
771771
"LANG",
772772
"LANGUAGE",
773+
"LC_ALL",
773774
"LD_LIBRARY_PATH",
774775
"PATH",
775776
"PIP_INDEX_URL",

0 commit comments

Comments
 (0)