Pass through LANG environment variable by default

Issue #247 on hold
Anthony Sottile created an issue

This renders io.open() and py3 open() pretty useless without it on linux at least (as they will use ASCII instead of the platform's default encoding)

Comments (8)

  1. Jochen Kupperschmidt

    I stumbled across this as well.

    A package (Arrow, in my case; see https://github.com/crsmithdev/arrow/issues/224 for my bug report against the project) won't install on my CI because tox doesn't pass LANG along to pip.

    Explicitly specifying environment variables in the tox configuration file seems to be a workaround, but I'd prefer to be able to change the locale tox (and its subprocesses) uses right from the command line.

  2. Log in to comment