Skip to content

[Package Issue]: winget suggests upgrading Python.Launcher to 3.12 when Python 3.11 is installed #122168

Open
@tsunamistate

Description

@tsunamistate

Please confirm these before moving forward

  • I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
  • I have not been informed if the issue is resolved in a preview version of the winget client.

Category of the issue

Other

Brief description of your issue

I currently have Python 3.11.6 installed, and don't want to upgrade yet

However, winget suggests upgrading Python.Launcher package to 3.12
image

Attempting to upgrade gets the following error:
2023-10-08_15-35-19

Question: why does Python.Launcher have a separate manifest? AFAIK, Python launcher is an optional feature invoked from Python installer, its version matches the version of Python installed, and it doesn't have a separate update mechanism

Steps to reproduce

  1. Have Python 3.11 with "py launcher" feature installed
  2. Execute winget upgrade from CMD or PowerShell prompt

Actual behavior

winget suggests upgrading Python.Launcher to 3.12

Expected behavior

winget doesn't suggest upgrading Python.Launcher to 3.12 since Python 3.11 is installed

Environment

Windows Package Manager v1.6.2771
Windows: Windows.Desktop v10.0.22621.2361
Package: Microsoft.DesktopAppInstaller v1.21.2771.0

Screenshots and Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-MatchingIssue-BugIt either shouldn't be doing this or needs an investigation.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions