Last active
May 10, 2018 15:56
-
-
Save jeremy-donson/402df557004556249bd00c4418f0eaf7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for n in $(pip3 list --outdated --format=freeze | cut -d '=' -f 1) | |
do | |
pip3 install $n --upgrade --force | |
done | |
# Ideally we would be testing each upgrade before we delete prior versions!! | |
# for those that fail, rerun with: | |
sudo -H pip3 install $n --upgrade --force |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment