From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id F4046E00B05; Tue, 10 Nov 2015 22:35:13 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [192.55.52.88 listed in list.dnswl.org] Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 88F7AE00AEB for ; Tue, 10 Nov 2015 22:35:10 -0800 (PST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP; 10 Nov 2015 22:35:10 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,274,1444719600"; d="scan'208";a="847663518" Received: from wquesada-mobl.amr.corp.intel.com (HELO [10.252.249.39]) ([10.252.249.39]) by orsmga002.jf.intel.com with ESMTP; 10 Nov 2015 22:34:46 -0800 Message-ID: <5642E197.5000704@linux.intel.com> Date: Wed, 11 Nov 2015 00:35:03 -0600 From: Alejandro Hernandez User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Gary Thomas , Paul Eggleton References: <563B4DF9.5030206@mlbassoc.com> <3016549.FSiAq4gXjU@peggleto-mobl.ger.corp.intel.com> <563B66D9.1050808@mlbassoc.com> <5640C5B2.7010809@linux.intel.com> <5640C95B.2060205@mlbassoc.com> In-Reply-To: <5640C95B.2060205@mlbassoc.com> Cc: yocto@yoctoproject.org Subject: Re: Python pip X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Nov 2015 06:35:14 -0000 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit I am sending a patch to upgrade Python3 to 3.5, and I will include the pip3 change in it, currently pip3 is installed as pip, pip3 and pip3.5, so its just a matter of removing 'pip', to leave it available for pip2 and make it default when python2-pip is installed, it seems to be working correctly that way, just thought I'd let you know. Cheers, Alejandro On 09/11/15 10:27, Gary Thomas wrote: > On 2015-11-09 09:11, Alejandro Hernandez wrote: >> >> >> On 05/11/15 08:25, Gary Thomas wrote: >>> On 2015-11-05 07:14, Paul Eggleton wrote: >>>> Hi Gary, >>>> >>>> On Thursday 05 November 2015 05:39:21 Gary Thomas wrote: >>>>> Just curious, does anyone know why OE-core has python3-pip >>>>> but python-pip is relegated to meta-oe? >>>> >>>> I think it has to do with pip being supplied as part of the >>>> standard python 3 >>>> distribution from 3.4 onwards. I think for simplicity's sake it >>>> might be >>>> argued that python-pip could be in the same place though. >> Yes, in fact, python3-pip was included on oe-core after the upgrade >> to python3.4 since it's now a requirement, I agree, we probably >> should include python-pip on oe-core too >>> >>> Thanks, I'll consider sending a patch set for that. >>> >>> Sadly, at this point, both packages can't be installed at the >>> same time as they both call the result "/usr/bin/pip". Maybe >>> in keeping with the python/python3 naming, the python3 version >>> should be installed as pip3? >> >> python3-pip recipe had to be created to avoid an issue with the >> default pip installation by python3.4, its now handled by distutils3, >> if its only a matter of changing the binary >> name afterwards from pip to pip3 I see no problem doing this, I am >> hoping this solves it, but just mentioning that we already had some >> issues with this, because of the "defaults" >> python3 expects > > In that case, we could rename the Python2 pip as pip2. I think > they really need different names as they will be installing > packages into very different locations Python2 vs Python3. >