-
Notifications
You must be signed in to change notification settings - Fork 899
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
Dim uninstalled Python keys in uv python list
#9841
base: main
Are you sure you want to change the base?
Conversation
Perhaps if we dim these we should sort them after the installed versions? |
I like styling both columns in each line the same -- that strengthens the relationship. I think I like sorting available-but-not-yet-installed to the bottom, but that will be a "visually breaking change". This discussion is helping me focus on what my main root issue is with So, where does that leave the user installed versions, such as those handled by Which is a long winded way of saying that, on reflection, I think the "does uv consider this installed python managed or system" question is more important than "is this installed yet". Knowing that distinction is a requirement to choosing the correct Even more succinct, I would prefer addressing the (just opened) #9847 to this issue. (Sorry for the churn, but thanks for helping me think this through.) |
I wonder if the list has n table groups, where n is types of install status?
|
We've been intentionally avoiding tables here, they're harder to parse and I don't think the complexity is merited. It's tough to definitely tough the information density / simplicity right though. |
I like keeping them sorted as-is. I think it's easy to be disoriented if there are two different groups, each sorted, in the output. I don't mind using color to dim things that are uninstalled. From the screenshot, I wonder if the color here is a little too dim. But I like the idea. |
I like separate "installed" and "download available" sections, this would make it easier to skim what is actually installed and what's only in the list. We could also reduce some duplication, e.g. those are all one python interpreter on my machine:
For reference, that's what my list currently looks like: |
This is intentional though, like, you can use those versions automatically even if they're not explicitly installed yet. That's why they're listed in the first place. There's
This is also intentional, so you can see what each executable on your path refers to. If we collapsed these, you'd lose that |
Attempted to improve the experience in #9830 by dimming the key as well as the
<download available>
bit