mirror of
https://github.com/CopterExpress/clover.git
synced 2026-05-26 11:43:25 +00:00
build-scripts: Disable system-wide upgrade for pip
Upgrading pip system-wide should be a task for the system package manager, and doing it through pip itself seems to be frowned upon (not to mention leaving the end user with a broken package installer and broken packages). It also seems to have some fun/nasty side effects (like setting pip up to install packages for python3 instead of python2, for which pip2 is used). Debian-packaged pip, while being older, doesn't seem to break stuff for now. End user should be able to upgrade to a newer pip locally (which seems like the right thing to do), but a possibility of having a more recent pip should be looked into nonetheless.
This commit is contained in:
@@ -106,11 +106,13 @@ monkey=1.6.9-1 \
|
||||
sed -i "s/updates_available//" /usr/share/byobu/status/status
|
||||
# sed -i "s/updates_available//" /home/pi/.byobu/status
|
||||
|
||||
echo_stamp "Upgrade pip"
|
||||
my_travis_retry pip install --upgrade pip
|
||||
my_travis_retry python3 -m pip install --upgrade pip
|
||||
#echo_stamp "Upgrade pip"
|
||||
#my_travis_retry pip install --upgrade pip
|
||||
#my_travis_retry pip3 install --upgrade pip
|
||||
|
||||
echo_stamp "Make sure both pip and pip3 are installed and upgraded"
|
||||
echo_stamp "Not upgrading system pip due to https://github.com/pypa/pip/issues/5599"
|
||||
|
||||
echo_stamp "Make sure both pip and pip3 are installed"
|
||||
pip --version
|
||||
pip3 --version
|
||||
|
||||
|
||||
Reference in New Issue
Block a user