From patchwork Wed Dec 18 15:53:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Timothy Redaelli X-Patchwork-Id: 1212543 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.b="QzY71wFc"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47dKKx0kvHz9sSF for ; Thu, 19 Dec 2019 02:53:24 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 2B7F086A98; Wed, 18 Dec 2019 15:53:23 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Yjkfyw8iLm49; Wed, 18 Dec 2019 15:53:22 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by fraxinus.osuosl.org (Postfix) with ESMTP id 704E5869E2; Wed, 18 Dec 2019 15:53:22 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 5E8C0C1AE8; Wed, 18 Dec 2019 15:53:22 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by lists.linuxfoundation.org (Postfix) with ESMTP id 383DFC077D for ; Wed, 18 Dec 2019 15:53:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 2F296884DB for ; Wed, 18 Dec 2019 15:53:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jDKdVxmzPNP7 for ; Wed, 18 Dec 2019 15:53:20 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by hemlock.osuosl.org (Postfix) with ESMTPS id 921858833F for ; Wed, 18 Dec 2019 15:53:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1576684399; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ZWt/LpSGI4L64zG69nFz0fRn0dSuRJIId5zC4RgbpuM=; b=QzY71wFc0A+DMv7GHNTdwTnIxNnFv3FBI+10H9Z/II+NL60TL8A/iv5gqwackvAdoyoARt AGtOFsVm5Bsx/AeglkwEdSi0MN0b6/3qYNrnoaSmv38xPEWLbeWjUDY0Bo3AskY1tGSL4l vv9rp4iiAPceYcwHDshqC6pqGfre3tM= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-372-hm1fjMiBMimLXcz7u34iGw-1; Wed, 18 Dec 2019 10:53:15 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 860D48B95A0; Wed, 18 Dec 2019 15:53:14 +0000 (UTC) Received: from aldebaran.drizzt.lan (dhcp19-189-71.ntdv.lab.eng.bos.redhat.com [10.19.189.71]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6F96F6887E; Wed, 18 Dec 2019 15:53:13 +0000 (UTC) From: Timothy Redaelli To: dev@openvswitch.org Date: Wed, 18 Dec 2019 16:53:10 +0100 Message-Id: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-MC-Unique: hm1fjMiBMimLXcz7u34iGw-1 X-Mimecast-Spam-Score: 0 Subject: [ovs-dev] [PATCH] travis: Use pip3 to install the python packages on linux X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ovs-dev-bounces@openvswitch.org Sender: "dev" 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: blp@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.