-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The wrong Python version is tested when testing automatic updates #73
Comments
The names of steams are not necessarily versions, for example some packages have streams based on the release type (e.g "alpha", "beta" and "stable" steams). So it would not be appropriate to blindly try to parse the steam names as versions. |
This isn't blind parsing. It's Microsoft's implementation of semantic versioning. |
@TheCakeIsNaOH is right, it was implemented that way for this exact reason. If the streams order matters, then the Note that you can use the |
Forgive me for asking the obvious question @Thilas @TheCakeIsNaOH - when is the version we test against not important? Doesn't the streams order always matter? What's the point in running a test when we update a package against an outdated version of the package that we already tested? |
I would rather agree on that, the streams order does always matter to me. But to avoid unnecessary breaking change at the time, it was decided to sort keys alphabetically when passing a My point is that you don't need to change |
Checklist
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?
System Details
Installed Packages
I'm not sure, this is the hosted environment used for testing.
Output Log
Additional 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:
The text was updated successfully, but these errors were encountered: