Skip to content

Commit

Permalink
Add LC_ALL to implicit tox passenv (#2162)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
ssbarnea committed Aug 18, 2021
1 parent 8ded7b7 commit bb609f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/changelog/2162.bugfix.rst
@@ -0,0 +1 @@
include ``LC_ALL`` to implicit list of passenv variables - by :user:`ssbarnea`
1 change: 1 addition & 0 deletions src/tox/config/__init__.py
Expand Up @@ -770,6 +770,7 @@ def passenv(testenv_config, value):
"CURL_CA_BUNDLE",
"LANG",
"LANGUAGE",
"LC_ALL",
"LD_LIBRARY_PATH",
"PATH",
"PIP_INDEX_URL",
Expand Down

0 comments on commit bb609f5

Please sign in to comment.