-
-
Notifications
You must be signed in to change notification settings - Fork 523
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
[BUG] Failing on Python 2.7 + Travis CI with unicode error #1234
Comments
We're running into this too: https://travis-ci.org/beetbox/beets/jobs/513379693 The problem occurs with Tox 3.8.2 and 3.8.3 but not 3.8.1. Specifically, I believe this change introduced the bug: b5105b1#diff-57c0f90ac19d5a79d6495ab22fab6539R107 The code used to just do this: output = out_path.read() But now it does this: lines = out_path.read().split("\n")
output = "\n".join(lines[3:]) Because that file has I think the right fix is to use bytestrings for those |
To avoid a Python 2 bug introduced in tox 3.8.2 but not fixed yet: tox-dev/tox#1234
Excellent point, and yes, your fix is better. 👍 |
I ran tests a few days ago, prior to release of Tox 3.8, that were passing. Running test suite on basically identical software started failing with a Unicode Error in Tox,
https://travis-ci.org/LevN0/pds4_tools/jobs/513303961
Possibly connected to having unicode characters in a filename with-in the package.
Only fails on Python 2.7, succeeds on all Python 3 builds.
The text was updated successfully, but these errors were encountered: