pixi icon indicating copy to clipboard operation
pixi copied to clipboard

Add `update` command

Open baszalmstra opened this issue 2 years ago • 8 comments

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.

baszalmstra avatar Jun 12 '23 07:06 baszalmstra

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.

ruben-arts avatar Jun 12 '23 07:06 ruben-arts

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

  • https://github.com/prefix-dev/pixi/issues/4

baszalmstra avatar Jun 12 '23 07:06 baszalmstra

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.

beenje avatar Aug 09 '23 08:08 beenje

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.

ruben-arts avatar Aug 09 '23 11:08 ruben-arts

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.

dhirschfeld avatar Aug 17 '23 09:08 dhirschfeld

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.

pavelzw avatar Feb 05 '24 13:02 pavelzw

https://github.com/prefix-dev/pixi/issues/909

And pixi upgrade

pavelzw avatar Mar 04 '24 07:03 pavelzw

This requires https://github.com/prefix-dev/pixi/pull/1320

baszalmstra avatar May 03 '24 10:05 baszalmstra