-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
test_lockfile_from_pipfile_meta and test_hash_from_hash due to string case #8
Comments
Confirming that on this platform, hashlib is giving uppercase python2 -c 'import hashlib; print(hashlib.md5(b"foo").name)'
MD5 Randomly searching, I find https://aecilius.cecs.anu.edu.au/mu/mu-client-pypy/commit/1812ddb62ec35bffe0c1f65118d41a3d232e851f?view=parallel It is supposed to always be lower case, but wasnt formally specified until 3.4. Is this a deal breaker for plette? Will the name case cause other problems? |
Normalisation is reasonable. The key is eventually passed to the Simple API, where it should always be lowercase anyway. Patch welcome! |
With that said, I’m a little surprised Python does not do it automatically. Maybe this is worth raising as a bug in CPython as well? |
Ah, found it. https://hg.python.org/cpython/rev/9a4949f5d15c |
Nice find. |
I'm packaging this for openSUSE, and ran into these two errors only on openSUSE Leap 42.3 's Python 2.7, which is 2.7.13 .. it looks like it might even be that the Python hashlib is giving uppercase.
The text was updated successfully, but these errors were encountered: