Skip to content
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

Add update command #73

Closed
baszalmstra opened this issue Jun 12, 2023 · 8 comments · Fixed by #1431
Closed

Add update command #73

baszalmstra opened this issue Jun 12, 2023 · 8 comments · Fixed by #1431
Labels
needs-design Needs a design so it can be implemented 👩‍💻 cli Issue related to CLI

Comments

@baszalmstra
Copy link
Contributor

Add a command to update one or more dependencies in the pixi.lock file without updating the project file. If the lock file is missing, one will be created.

@ruben-arts
Copy link
Contributor

Yes very nice! I think it could really nice if it could accept package names (+ versions). Which would update a package and only its dependencies with it. So you can have minimal updates.

@baszalmstra
Copy link
Contributor Author

Yeah I think we'de have to implement minimal lock file updates for this to work anyways.

@beenje
Copy link
Contributor

beenje commented Aug 9, 2023

It would also be very nice to be able to update the global packages installed with pixi global install, like pipx upgrade and pipx upgrade-all.

@ruben-arts
Copy link
Contributor

He @beenje,
I think this could be helpful for the user as well.

Currently it is easiest for the user to run "pixi global install PACKAGE" again to just update to the latest version. or pixi global install "PACKAGE==1.2.3" if they want a specific version.

@dhirschfeld
Copy link
Contributor

It would also be very nice to be able to update the global packages installed with pixi global install, like pipx upgrade and pipx upgrade-all.

I came here exactly to ask for a pixi global update-all (or similar). Having to manually update each package individually would be quite painful.

@pavelzw
Copy link
Contributor

pavelzw commented Feb 5, 2024

It would be nice to have an option with --json that outputs the diff in JSON. This could maybe help with a dependabot/renovate implementation.

@ruben-arts ruben-arts added needs-design Needs a design so it can be implemented 👩‍💻 cli Issue related to CLI labels Feb 29, 2024
@pavelzw
Copy link
Contributor

pavelzw commented Mar 4, 2024

#909

And pixi upgrade

@baszalmstra
Copy link
Contributor Author

This requires #1320

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-design Needs a design so it can be implemented 👩‍💻 cli Issue related to CLI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants