You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(smol): add gyp patch for Python 3 hashlib.md5() compatibility
Fixes TypeError: Strings must be encoded before hashing at
tools/gyp/pylib/gyp/generator/ninja.py:813
Python 3's hashlib.md5() requires bytes, not strings. The gyp code
was passing a string (file path) directly to hashlib.md5() when
generating unique_name for Windows builds.
This patch adds .encode() to convert the string to bytes before
hashing, fixing compatibility with all Python 3 versions.
0 commit comments