Skip to content

'-dev' version suffix should prefer non-prerelease versions #180

@gamer191

Description

@gamer191

Install source and version

  • Installed from the Windows Store
  • Installed with the MSIX from python.org
  • Installed with the MSI from python.org
  • Installed with winget install 9NQ7512CXL7T

Version: 25.0b15

Describe the bug
Py install default still installs Python 3.14.0rc3, even though Python 3.14.0 has been released. The logs reveal that it filters https://www.python.org/ftp/python/index-windows.json by 3-dev-64, which doesn't match the final release of 3.14.0.

To Reproduce
The quickest and easiest way is to run py install default --dry-run

Expected behavior
Python 3.14.0 should be installed

Additional context

>> Writing logs to C:\Users\username\AppData\Local\Temp\python_install_20251008174021_35868.log
>> Python installation manager 25.0b15
Copyright (c) Python Software Foundation. All Rights Reserved.

BEGIN install_command.execute: ['default']
Replacing 'default' with '3-dev'
Reading installs from C:\Users\username\AppData\Local\Python
Found 1 install
Calculating default install
Filtering installs by tag = 3
tag '3' matched 1 install
- 1 core install(s) by prefix
default_platform '-64' matched 1 install
Default install will be pythoncore-3.13-64
Searching https://www.python.org/ftp/python/index-windows.json
>> Searching for Python matching 3-dev
Selecting package with tag=3-dev and platform=-64
Fetching: https://www.python.org/ftp/python/index-windows.json
winhttp_urlopen: https://www.python.org/ftp/python/index-windows.json
Finding ['3-dev-64'] to install
Finding ['3-dev-64'] to install
>  Installing Python 3.14.0rc3.
>> Tag: PythonCore\3.14-dev-64
>  Skipping rest of install due to --dry-run
>  Skipping shortcut refresh due to --dry-run
END install_command.execute

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions