[COMMIT osv master] release published: make sure pip installed for python3

5 views
Skip to first unread message

Commit Bot

unread,
Dec 13, 2021, 10:48:18 AM12/13/21
to osv...@googlegroups.com, Waldemar Kozaczuk
From: Waldemar Kozaczuk <jwkoz...@gmail.com>
Committer: Waldemar Kozaczuk <jwkoz...@gmail.com>
Branch: master

release published: make sure pip installed for python3

Signed-off-by: Waldemar Kozaczuk <jwkoz...@gmail.com>

---
diff --git a/.travis.yml b/.travis.yml
--- a/.travis.yml
+++ b/.travis.yml
@@ -17,6 +17,7 @@ addons:
- qemu-kvm
- virtinst
- ubuntu-vm-builder
+ - python3-pip
before_install:
# Set up KVM
- sudo adduser $USER libvirt
diff --git a/.travis/cirp/install.sh b/.travis/cirp/install.sh
--- a/.travis/cirp/install.sh
+++ b/.travis/cirp/install.sh
@@ -67,10 +67,10 @@ elif [ "$TRAVIS_OS_NAME" == "linux" ]; then
pyenv global $(pyenv versions | grep -o ' 3\.[5-99]\.[1-99]' | tail -n1)
fi

-pip install --upgrade pip
+python3 -m pip install --upgrade pip

# Don't install again if already installed.
# OSX keeps re-installing it tough, as it uses a temp per-script virtualenv.
-if ! pip list --format=columns | grep '^ci-release-publisher '; then
+if ! python3 -m pip list --format=columns | grep '^ci-release-publisher '; then
python3 -m pip install https://files.pythonhosted.org/packages/49/20/2631e993daa85b35c8390e8124570b0321825e6a77e566492b4637566983/ci_release_publisher-0.3.0.tar.gz
fi
Reply all
Reply to author
Forward
0 new messages