From owner-freebsd-ports@freebsd.org Tue Sep 11 14:58:02 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 82B1210936E1 for ; Tue, 11 Sep 2018 14:58:02 +0000 (UTC) (envelope-from cvs-src@yandex.ru) Received: from forward100j.mail.yandex.net (forward100j.mail.yandex.net [IPv6:2a02:6b8:0:801:2::100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C9E557A42D; Tue, 11 Sep 2018 14:58:01 +0000 (UTC) (envelope-from cvs-src@yandex.ru) Received: from mxback6g.mail.yandex.net (mxback6g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:167]) by forward100j.mail.yandex.net (Yandex) with ESMTP id 216155D825CA; Tue, 11 Sep 2018 17:57:59 +0300 (MSK) Received: from smtp4p.mail.yandex.net (smtp4p.mail.yandex.net [2a02:6b8:0:1402::15:6]) by mxback6g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id PG4XZraoXZ-vx8Gmoa2; Tue, 11 Sep 2018 17:57:59 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1536677879; bh=tvGL3H3XnuLmkrl1dCB5W2rDGbHKfheE993UnzhlLrQ=; h=Subject:To:Cc:References:From:Message-ID:Date:In-Reply-To; b=w+KaHujtGwaZ1qWWOXLODFNK99ugBmp3jo+qimv1NE+whBPjsoG1gulTj/4EDyE0v ctWJhfiMLH3MutOdP8ZKcVHg1nPMjWE/mtiuFBh0Jw7bqZ34w8tn/MZyCdXZ3G/mQq tJhXuRkXOduS/uPFc4VyhNT/mCzHOumnLDHB/ghk= Received: by smtp4p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id o63McEFQtL-vvnG23Kr; Tue, 11 Sep 2018 17:57:58 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1536677878; bh=tvGL3H3XnuLmkrl1dCB5W2rDGbHKfheE993UnzhlLrQ=; h=Subject:To:Cc:References:From:Message-ID:Date:In-Reply-To; b=vgjfjGpReGo1nD0kpLG80N3rnrtIXxY8nsHzUkHCqpC1CRE+gkA0G6KsVIEvJVK2B VaGNh0dCpcQZpCXVkRMo1nXPGcHC6T0GIQymyRPSATZtFMIcBpqsnWsZJ1B5RBxJAv Ce535N3SrqSTx4k1ui/PQps5Rjv7ccSQYJGXw0Ms= Authentication-Results: smtp4p.mail.yandex.net; dkim=pass header.i=@yandex.ru Subject: Re: how to enforce one version of python To: Baptiste Daroussin , tech-lists Cc: freebsd-ports@freebsd.org References: <20180911145151.zgyeaiobnvkuo2rg@ivaldir.net> From: Ruslan Makhmatkhanov Message-ID: <4cd79546-c301-4ab7-13eb-3233736953f5@yandex.ru> Date: Tue, 11 Sep 2018 17:54:07 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <20180911145151.zgyeaiobnvkuo2rg@ivaldir.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Sep 2018 14:58:02 -0000 Baptiste Daroussin wrote on 9/11/18 5:51 PM: > On Tue, Sep 11, 2018 at 03:28:15PM +0100, tech-lists wrote: >> Hi, >> >> There are a number of ports that seem to have their own preferential flavour >> of python, and some for example want to install python27 and python36 in the >> same place, and it's a pain when using portupgrade or similar tools. >> >> I have this in my /etc/make.conf: >> >> DEFAULT_VERSIONS+= python=2.7 >> >> Is this incorrect? I assume it must be, as for example devel/pylint >> (pylint-py27-1.9.2) wants to upgrade to pylint-py36-2.1.1 >> > That is because portupgrade is not flavor aware (or badly if it has been patched > to support flavors) > > Best regards, > Bapt No, it's because pylint2 as itself requires python > 3.4. User should switch to older devel/pylint1 if he needs to stick with 2.7. -- Regards, Ruslan T.O.S. Of Reality