pipx icon indicating copy to clipboard operation
pipx copied to clipboard

`pipx run`: reinstall the package if exceptions are raised

Open dukecat0 opened this issue 3 years ago • 1 comments

  • [x] I have added an entry to docs/changelog.md

Summary of changes

pipx run will now reinstall the package if exceptions are raised when trying to run the app (such as missing Python interpreter symlink).

Closes #449

Test plan

Tested by running

pipx run pycowsay

Then remove the symlink to the Python interpreter in the temporary venv of pycowsay.

And run pipx run pycowsay again. It will now fix the venv instead of raising error.

dukecat0 avatar Aug 27 '22 14:08 dukecat0

Makes sense, but it could be a pain to debug such a failure. Maybe a flag to stop the auto-reinstall would be a good idea?

uranusjr avatar Aug 28 '22 19:08 uranusjr

Seems stalled, closing until more contribution when we can reopen.

gaborbernat avatar Nov 30 '23 19:11 gaborbernat