-
Notifications
You must be signed in to change notification settings - Fork 404
feat(update): adding --interactive option for pixi update
#5216
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
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Pradyot Ranjan <[email protected]>
Signed-off-by: Pradyot Ranjan <[email protected]>
Signed-off-by: Pradyot Ranjan <[email protected]>
|
@ruben-arts This PR includes a very basic prototype of the update menu. Currently, it displays all packages across all platforms and envs hence the list is long.
We can extend this to only show specific packages, for example, pixi update --interactive --platform osx-arm64 shows only osx specific packages to select from. It also currently misses out on the final and current package info in the menu. |
|
Hmm, this is a bit long. A few ideas to improve this:
I'm not sure how much it's worth the maintenance, as this could also be an extension, perhaps. |
I really like that idea and would be willing to work on it. Should I move this work + the suggestions into a |
I like your work, so if you do another iteration in pixi itself maybe I would be convinced to take on the ownership of the code. As I also like the idea 👍 |
Signed-off-by: Pradyot Ranjan <[email protected]>
|
@ruben-arts With the current commit, it also prints the current version (it doesn't look pretty yet). For the latest or the max upgradable version, will we have to run an update dry-run? That would be time-consuming. Are there any more ways? |
|
I don't think the solve is mendatory, you could match the spec with the repodata to get the > pixi update --interactive
package current target latest
-------- ------- ------ ------
python 3.12.1 3.12.9 3.14.2 |

Description
Adds an interactive menu option when pixi update.
Fixes #4734
How Has This Been Tested?
Running' pixi update --interactive shows the interactive menu.
AI Disclosure
Tools: GitHub Copilot (used for generating the interactive menu using dialouger)
Checklist:
schema/model.py.