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
User story: I am a Pythonista with multiple packages installed via pipsi. I want to upgrade all my packages at once, so that I don't forget any of them and don't have to type them out one-by-one.
Current method:
pipsi list # lists all packages
pipsi upgrade package1
pipsi upgrade package2
...
so, my current work around failed horribly… because of the way the path is determined:
cd ~/.local/venvs
for pkg in*
pipsi upgrade $pkgend
Usage: pipsi upgrade [OPTIONS] PACKAGE
Error: asciinema does not appear to be a local Python package.
this, however, works:
cd ~
for pkg in ~/.local/venvs/*
pipsi upgrade (basename$pkg)
end
simlun
added a commit
to simlun/pipsi
that referenced
this issue
Oct 6, 2018
I recently started a project called pipx that combines pipsi's functionality with npx's. It has the command pipx upgrade-all. Would love to hear what you think! https://github.com/cs01/pipx
User story: I am a Pythonista with multiple packages installed via pipsi. I want to upgrade all my packages at once, so that I don't forget any of them and don't have to type them out one-by-one.
Current method:
Suggested solution:
A new command
pipsi upgrade --all
Workaround:
pipsi list | grep 'Package ' | cut -d\" -f2 | xargs -n1 pipsi upgrade
(Separating this out from #16 which includes additional feature requests and queries. This feature request is simply to replace one-by-one upgrades.)
The text was updated successfully, but these errors were encountered: