New issue 254: Tox >= 2 fails with UnicodeDecodeError trying to read project's readme https://bitbucket.org/hpk42/tox/issue/254/tox-2-fails-with-unicodedecodeerror-trying
saaj: A CI build failed on a minor documentation update in py3 envs with new Tox installed. Tox < 2 is fine. Here's the stack trace: ``` Processing ./.tox/dist/HermesCache-0.5.2.zip Complete output from command python setup.py egg_info: Traceback (most recent call last): File "<string>", line 20, in <module> File "/tmp/pip-um4zde-build/setup.py", line 23, in <module> long_description = open('README.txt').read(), File "/home/ubuntu/src/bitbucket.org/saaj/hermes/.tox/py33-pylibmc/lib/python3.3/encodings/ascii.py", line 26, in decode return codecs.ascii_decode(input, self.errors)[0] UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 2413: ordinal not in range(128) ``` Here's CI build [link](https://drone.io/bitbucket.org/saaj/hermes/20). It's kind of strange, because I can open python3 in terminal and `open('README.txt').read()` is fine. Pip version is 7.0.3, and 1.4.1 on CI server. It seems the result is the same. According to the versions it's also likely a bug that download cache deprecation warning is shown disregarding installed version of pip. > DEPRECATION: --download-cache has been deprecated and will be removed in the > future. Pip now automatically uses and configures its cache. _______________________________________________ pytest-commit mailing list pytest-commit@python.org https://mail.python.org/mailman/listinfo/pytest-commit