Re: [ovs-dev] [PATCH] travis: Use pip3 to install the python packages on linux

2019-12-19 Thread Ben Pfaff
On Thu, Dec 19, 2019 at 11:59:00AM +0100, Timothy Redaelli wrote:
> On Wed, 18 Dec 2019 16:50:05 -0800
> Ben Pfaff  wrote:
> 
> > On Wed, Dec 18, 2019 at 04:53:10PM +0100, Timothy Redaelli wrote:
> > > Currently pip is used to install the python packages on linux by travis,
> > > but pip3 should be used since pip is a symlink of pip2.
> > > 
> > > Fixes: 1ca0323e7c29 ("Require Python 3 and remove support for Python 2.")
> > > Cc: b...@ovn.org
> > > Signed-off-by: Timothy Redaelli 
> > 
> > Does it pass on Travis?  If so, I'll apply it.
> 
> Sure,
> https://travis-ci.org/drizzt/ovs/builds/626747307

Thanks.  Applied.
___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev


Re: [ovs-dev] [PATCH] travis: Use pip3 to install the python packages on linux

2019-12-19 Thread Timothy Redaelli
On Wed, 18 Dec 2019 16:50:05 -0800
Ben Pfaff  wrote:

> On Wed, Dec 18, 2019 at 04:53:10PM +0100, Timothy Redaelli wrote:
> > Currently pip is used to install the python packages on linux by travis,
> > but pip3 should be used since pip is a symlink of pip2.
> > 
> > Fixes: 1ca0323e7c29 ("Require Python 3 and remove support for Python 2.")
> > Cc: b...@ovn.org
> > Signed-off-by: Timothy Redaelli 
> 
> Does it pass on Travis?  If so, I'll apply it.

Sure,
https://travis-ci.org/drizzt/ovs/builds/626747307

Thank you

___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev


Re: [ovs-dev] [PATCH] travis: Use pip3 to install the python packages on linux

2019-12-18 Thread Ben Pfaff
On Wed, Dec 18, 2019 at 04:53:10PM +0100, Timothy Redaelli wrote:
> Currently pip is used to install the python packages on linux by travis,
> but pip3 should be used since pip is a symlink of pip2.
> 
> Fixes: 1ca0323e7c29 ("Require Python 3 and remove support for Python 2.")
> Cc: b...@ovn.org
> Signed-off-by: Timothy Redaelli 

Does it pass on Travis?  If so, I'll apply it.
___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev


[ovs-dev] [PATCH] travis: Use pip3 to install the python packages on linux

2019-12-18 Thread Timothy Redaelli
Currently pip is used to install the python packages on linux by travis,
but pip3 should be used since pip is a symlink of pip2.

Fixes: 1ca0323e7c29 ("Require Python 3 and remove support for Python 2.")
Cc: b...@ovn.org
Signed-off-by: Timothy Redaelli 
---
 .travis.yml  | 1 +
 .travis/linux-prepare.sh | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 2dc4d436b..abd2a9117 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -21,6 +21,7 @@ addons:
   - libnuma-dev
   - libpcap-dev
   - python3-openssl
+  - python3-pip
   - python3-sphinx
   - libelf-dev
   - selinux-policy-dev
diff --git a/.travis/linux-prepare.sh b/.travis/linux-prepare.sh
index 2e57945f5..13390afc0 100755
--- a/.travis/linux-prepare.sh
+++ b/.travis/linux-prepare.sh
@@ -12,8 +12,8 @@ cd sparse
 make -j4 HAVE_LLVM= install
 cd ..
 
-pip install --disable-pip-version-check --user six flake8 hacking
-pip install --user --upgrade docutils
+pip3 install --disable-pip-version-check --user six flake8 hacking
+pip3 install --user --upgrade docutils
 
 if [ "$M32" ]; then
 # Installing 32-bit libraries.
-- 
2.23.0

___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev