This repository was archived by the owner on Apr 29, 2021. It is now read-only.
correctly parse metadata/record files, with respect to unicode characters #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I'm working on building python 3.4.1 and setuptools 5.5.1 for EL6, using the Fedora RPMs as a guide. I get multiple failures during the test suite, all similar to below.
In setuptools 5.5.1, there is an é character on line 234 of the METADATA file. Fedora rawhide has setuptools 2.0, which does not have this character. I could be interpreting this wrong, but I believe that the failures I am seeing are due to the fact that rewheel is opening these files with a simple open(), instead of the recommended codecs.open(), which can be made unicode-safe.
http://stackoverflow.com/questions/147741/character-reading-from-file-in-python
Feel free to tell me I'm totally off-base on this one, but this patch should fix it.