Skip to content

Commit

Permalink
Set PYTHONIOENCODING to utf-8 before invoking poerty env info -p (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
privet-kitty authored and nat-n committed Dec 26, 2022
1 parent f32aace commit e1c3e79
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions poethepoet/executor/poetry.py
Expand Up @@ -64,6 +64,7 @@ def _get_poetry_virtualenv(self, force: bool = True):
# currently active
clean_env = dict(environ)
clean_env.pop("VIRTUAL_ENV", None)
clean_env["PYTHONIOENCODING"] = "utf-8"

exec_cache["poetry_virtualenv"] = (
Popen(
Expand Down

0 comments on commit e1c3e79

Please sign in to comment.