pipx icon indicating copy to clipboard operation
pipx copied to clipboard

Upgrade after installing via vcs?

Open arozans opened this issue 3 years ago • 4 comments

This is not a feature request but rather a question.

Is it possible to detect that there is newer app version available on the upstream branch, after installing it from a git repo?

arozans avatar Dec 25 '21 22:12 arozans

I don't believe so at the moment.

gaborbernat avatar Dec 26 '21 09:12 gaborbernat

Is should work roughly the same as with pip. Does pip let you do that (maybe you know @gaborbernat or @uranusjr)?

cs01 avatar Dec 26 '21 15:12 cs01

The recommended way to do this in pip right now is to uninstall/reinstall. There’s work on making -U work for this, but the implementation is not yet ready. https://github.com/pypa/pip/pull/10564

In terms of pipx I think we can simply implement pipx upgrade foo to uninstall foo and reinstall the same URL again.

uranusjr avatar Apr 12 '22 22:04 uranusjr

In terms of pipx I think we can simply implement pipx upgrade foo to uninstall foo and reinstall the same URL again.

PR welcome.

gaborbernat avatar Dec 02 '23 17:12 gaborbernat

Seems this feature is already implemented. Pipx will detect the version and install the latest one. Any specific scenario we should cover?

huxuan avatar Apr 09 '24 11:04 huxuan