Skip to content

Unpin python version used for Windows builds #13826

Open

Description

@sharon-wang

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:

  1. revert the commit (76e42fa) made on the rel-cherry-blossom branch
  2. merge the rel-cherry-blossom forward through rel-mountain-hydrangea, rel-desert-sunflower and main in open source and pro.

Activity

  1. added this to the Tech Debt milestone on Oct 31, 2023
  2. sharon-wang commented on Oct 31, 2023

    @sharon-wang
    MemberAuthor

    [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.

  3. added
    tech debt
    on Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildstech debtwindows

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions