Skip to content

Consistent sorting in PythonInstallationKey by adjusting variant position#12934

Closed
j178 wants to merge 1 commit intoastral-sh:mainfrom
j178:list-order
Closed

Consistent sorting in PythonInstallationKey by adjusting variant position#12934
j178 wants to merge 1 commit intoastral-sh:mainfrom
j178:list-order

Conversation

@j178
Copy link
Contributor

@j178 j178 commented Apr 17, 2025

Summary

This PR shifts the variant to sit right after the version in PythonInstallationKey. For a key like cpython-3.13.3+freethreaded-windows-x86_64-none, the variant is essentially part of the version. This change helps make the sorting in the uv python list more logical and consistent.

Depends on #12931

@konstin konstin requested a review from zanieb April 17, 2025 09:42
@j178 j178 marked this pull request as draft April 17, 2025 10:43
@zanieb zanieb self-assigned this Apr 17, 2025
@j178 j178 force-pushed the list-order branch 3 times, most recently from 2dc25c0 to 1482194 Compare April 17, 2025 21:25
…tion

This PR shifts the variant to sit right after the version in PythonInstallationKey. For a key like `cpython-3.13.3+freethreaded-windows-x86_64-none`, the variant is essentially part of the version. This change helps make the sorting in the uv python list more logical and consistent.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants