-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Fix manifest writing in python3 #22139
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like the tests/test_wpt.py
unit tests are failing with TypeErrors, please take a look at those (appears to be different sites between linux and windows)
Taking a look now. They appear only when there is no previous |
I've filled a bug in virtualenv for the remaining issue pypa/virtualenv#1710. I think I'll add an xfail for py3 && Windows as well for the |
The main problem is that the json module cannot process binary data. That was not a problem in python2 where binary==str but it was causing issues in python3. The data causing issues were the file hashes. From now on the hashes are converted to
str
when converting data to json.