Skip to content

Add WinPython support to the System Python manager#1369

Merged
eleanorjboyd merged 2 commits intomainfrom
copilot/add-support-for-winpython-environments
Mar 19, 2026
Merged

Add WinPython support to the System Python manager#1369
eleanorjboyd merged 2 commits intomainfrom
copilot/add-support-for-winpython-environments

Conversation

Copy link
Contributor

Copilot AI commented Mar 18, 2026

fixes: #1251

PET can discover WinPython environments, but the extension was silently dropping them because WinPython was not a recognized NativePythonEnvironmentKind. WinPython is a portable Windows Python distribution that belongs under the existing System Python manager alongside WindowsRegistry, WindowsStore, and GlobalPaths.

Changes

  • nativePythonFinder.ts — Add winpython = 'WinPython' to the NativePythonEnvironmentKind enum to match the value emitted by PET's pet-winpython crate.
  • managers/builtin/utils.ts — Add NativePythonEnvironmentKind.winpython to the refreshPythons allowlist so WinPython environments surface through the System Python manager.

WinPython falls through to the default branch in getKindName(), so it displays as Python <version> — consistent with other undecorated system Pythons.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/graphql
    • Triggering command: /usr/bin/gh gh issue list --state open --limit 5 --json number,title,labels (http block)

If you need me to access, download, or install something from one of these locations, you can either:


📱 Kick off Copilot coding agent tasks wherever you are with GitHub Mobile, available on iOS and Android.

Co-authored-by: eleanorjboyd <26030610+eleanorjboyd@users.noreply.github.com>
Copilot AI changed the title [WIP] Add support for WinPython environments via System Python manager Add WinPython support to the System Python manager Mar 18, 2026
Copilot AI requested a review from eleanorjboyd March 18, 2026 23:15
@eleanorjboyd eleanorjboyd marked this pull request as ready for review March 18, 2026 23:18
@eleanorjboyd eleanorjboyd added the bug Issue identified by VS Code Team member as probable bug label Mar 18, 2026
@vs-code-engineering vs-code-engineering bot added this to the 1.113.0 milestone Mar 18, 2026
@eleanorjboyd eleanorjboyd merged commit b613cf9 into main Mar 19, 2026
161 of 164 checks passed
@eleanorjboyd eleanorjboyd deleted the copilot/add-support-for-winpython-environments branch March 19, 2026 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Issue identified by VS Code Team member as probable bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for WinPython environments via System Python manager

3 participants