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
{{ message }}
Repository navigation
Unpin python version used for Windows builds #13826
Python was pinned to version 3.11 to fix our Windows builds failing with error ModuleNotFoundError: No module named 'distutils'. See #13825 for more context.
Once this issue is resolved in node-gyp, we can unpin the Python version we're using for Windows. Alternatively, the workaround is to unpin the Python version immediately and install the package (packaging or setuptools) which will make the missing distutils package available.
To unpin the version from 3.11:
revert the commit (76e42fa) made on the rel-cherry-blossom branch
merge the rel-cherry-blossom forward through rel-mountain-hydrangea, rel-desert-sunflower and main in open source and pro.
[email protected] has been released and contains the fix to support Python 3.12 on Windows.
Based on our package-lock.json, node-gyp is a nested dependency via @electron-forge/cli, so we'll need to wait until they upgrade to [email protected] or otherwise we could manually pin node-gyp, but that may not interact well with our dependencies which might be on [email protected].
I don't think there's a huge rush to unpin our Python version, so I think we can wait on this.
Activity
sharon-wang commentedon Oct 31, 2023
[email protected]has been released and contains the fix to support Python 3.12 on Windows.Based on our
package-lock.json,node-gypis a nested dependency via@electron-forge/cli, so we'll need to wait until they upgrade to[email protected]or otherwise we could manually pinnode-gyp, but that may not interact well with our dependencies which might be on[email protected].I don't think there's a huge rush to unpin our Python version, so I think we can wait on this.