You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Upgrading packages that were installed with pipx install --pip-args '\--pre' <pkg> fails to upgrade to a newer pre-release without also specifying pipx upgrade --pip-args '\--pre' <pkg>.
It'd be nice if pipx recognized the current version of the package was a pre-release version and automatically upgraded it with --pre so that pipx upgrade-all would work. Right now I need to manually upgrade the package and pass --pip-args.
The package I've been upgrading is poetry.
The text was updated successfully, but these errors were encountered:
mmerickel
changed the title
upgrade and upgrade-all doesn't work with pre-release package versions
upgrade and upgrade-all don't work with pre-release package versions
Dec 1, 2019
Auto-inferring pre-releases has a lot of pit-falls (which is why pip chose this current behaviour), and the suggestion would probably dissatisfy another group of people.
With the merge of #222 pipx currently remembers the options used for install when later executing other pipx commands like upgrade-all and reinstall-all. This hasn't been released yet to pypi but if you grab the latest pipx from github (and consider it beta) it should do what you want.
pipx version 0.14.0.0
Describe the bug
Upgrading packages that were installed with
pipx install --pip-args '\--pre' <pkg>
fails to upgrade to a newer pre-release without also specifyingpipx upgrade --pip-args '\--pre' <pkg>
.It'd be nice if pipx recognized the current version of the package was a pre-release version and automatically upgraded it with
--pre
so thatpipx upgrade-all
would work. Right now I need to manually upgrade the package and pass--pip-args
.The package I've been upgrading is poetry.
The text was updated successfully, but these errors were encountered: