New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle encodings properly in SyncWrite, fixes #2422 #2641
Conversation
for more information, see https://pre-commit.ci
This is unfortunately not enough to fix the issue on windows, only part way there. The encoding of the text stream that
tox.ini
Running |
What is very weird is that inside the tox process, |
Yeah need to understand this because our own GIthub Actions against Windows are working https://github.com/tox-dev/tox/actions/runs/3646508070/jobs/6157666644 🤔 |
The problem seems to be this:
|
Are you sure there is non-ascii output in one of the test cases? Where could I add one? |
See also: https://bugs.python.org/issue27179 |
Maybe tox should set |
This works:
|
Accepting #2646 instead for now. |
This pull requests adds the
encoding
parameter toSyncWrite
to hopefully fix #2422While I have not yet produced a minimal working example that reproduces the bug in 2422,
it is definitely wrong to always just assume utf-8.
Please, make sure you address all the checklists (for details on how see
development documentation)!
tox -e fix_lint
)docs/changelog
folder