-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Labels
BugIssues where something has happened which was not expected or intended.Issues where something has happened which was not expected or intended.
Description
Checklist
- I confirm there are no unresolved issues reported on the Chocolatey Status page.
- I have verified this is the correct repository for opening this issue.
- I have verified no other issues exist related to my problem.
- I have verified this is not an issue for a specific package.
- I have verified this issue is not security related.
- I confirm I am using official, and not unofficial, or modified, Chocolatey products.
What You Are Seeing?
When testing automatic updates, streams are sorted lexicographically descending. This means that Python 3.9 is tested instead of Python 3.14. The same is most likely true of many packages.
What is Expected?
Python 3.14.0-a2 should be the recipient of the test install.
How Did You Get This To Happen?
- I created a PR against chocolatey-packages.
- AppVeyor shows Python 3.9 as the recipient of the test install.
System Details
- Operating System: Windows 11
- Windows PowerShell version: 7.4.6
- Chocolatey CLI Version: v2.4.1
- Chocolatey Licensed Extension version: N/A
- Chocolatey License type: Free
- Terminal/Emulator: Terminal
Installed Packages
I'm not sure, this is the hosted environment used for testing.Output Log
https://ci.appveyor.com/project/chocolateycommunity/chocolatey-packages/builds/51144306Additional Context
The problem is here. I'm not enough of a PowerShell guru to know how to test this, but I believe the fix is:
if ($res.Streams -is [HashTable]) { $streams = $streams | Sort-Object { [System.Version]::Parse($_) } -Descending }Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BugIssues where something has happened which was not expected or intended.Issues where something has happened which was not expected or intended.