From owner-freebsd-ports@freebsd.org Wed Sep 12 08:54:26 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 8BF0F108C428 for ; Wed, 12 Sep 2018 08:54:26 +0000 (UTC) (envelope-from cvs-src@yandex.ru) Received: from forward100p.mail.yandex.net (forward100p.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7: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 B1E1179425; Wed, 12 Sep 2018 08:54:25 +0000 (UTC) (envelope-from cvs-src@yandex.ru) Received: from mxback13j.mail.yandex.net (mxback13j.mail.yandex.net [IPv6:2a02:6b8:0:1619::88]) by forward100p.mail.yandex.net (Yandex) with ESMTP id BA5255102CFD; Wed, 12 Sep 2018 11:54:17 +0300 (MSK) Received: from smtp3p.mail.yandex.net (smtp3p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:8]) by mxback13j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id eGezJncLNR-sHSGCau3; Wed, 12 Sep 2018 11:54:17 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1536742457; bh=kjrgU3zs9WWuJl/dTcQZbqXmwfLQvewM23FeOQKGy64=; h=Subject:To:Cc:References:From:Message-ID:Date:In-Reply-To; b=uNrNyCgs/ERBtSWsoZbH+HHW7yByIKwweMkss7SIMSQN7YsDAjWugj4MT9iW64fyd 4Qe47zOcdgUer2U6EL6gdt/6wn0zvtMejWLXLqkR/C5VSg+rkzhdxXG/NMu1pxm+N/ 8xZdfmcAohJTbMUnEpwAobHI3zIjfALwKaUi8CQ4= Received: by smtp3p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id BKtLMaorV2-sGQCLb7D; Wed, 12 Sep 2018 11:54:16 +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=1536742456; bh=kjrgU3zs9WWuJl/dTcQZbqXmwfLQvewM23FeOQKGy64=; h=Subject:To:Cc:References:From:Message-ID:Date:In-Reply-To; b=Z8DAKDqLSp/qsiDw+4hQIMt4ofJaf9Cwd5vUGSf8AO0OXon7Y5sxE1bpsuC3Kn9Hk SyM6r5ymSOjYEC/Dc5InUFpFgzCOYdLPDc/H/e4wP2OyLpA1BPiUHNHmJ1Fxs7HHTd Qt/9/tpZrxR4LLJEgXC2rhfSqayy1u2POVsuuMRs= Authentication-Results: smtp3p.mail.yandex.net; dkim=pass header.i=@yandex.ru Subject: Re: how to enforce one version of python To: tech-lists , Baptiste Daroussin Cc: freebsd-ports@freebsd.org References: <20180911145151.zgyeaiobnvkuo2rg@ivaldir.net> <4cd79546-c301-4ab7-13eb-3233736953f5@yandex.ru> From: Ruslan Makhmatkhanov Message-ID: <287384aa-360d-683c-e6a6-cfe07b5a1838@yandex.ru> Date: Wed, 12 Sep 2018 11:50:24 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: 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: Wed, 12 Sep 2018 08:54:26 -0000 tech-lists wrote on 9/12/18 11:09 AM: > Hello, > > On 11/09/2018 15:54, Ruslan Makhmatkhanov wrote: > >> 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. >> > > But I'm not upgrading pylint2: > > >>> (pylint-py27-1.9.2) wants to upgrade to pylint-py36-2.1.1 You upgrading to pylint mainline version (2.1), that was switched to python 3.x by upstream developers. Since version 2.0 pylint doesn't work with python 2. See: https://github.com/PyCQA/pylint/blob/master/doc/whatsnew/2.0.rst If you need pylint version (1.9.3) that works (and depends upon) python2.7, you need to manually remove your current pylint package and install devel/pylint1 instead. > Maybe I need to stop using portupgrade. What is the best replacement? I see no reason to not use stock pkg :). If you absolutely need to make the packages with your customizations, it's better to build them with poudriere and then install/update with pkg. > qt4 and qt5 has similar issues to python2 and python3. These are > installed as either build or runtime dependencies of other programs I > want to run. I just want a version to be picked and stuck with. > > thanks, It's essential process. qt4 is deprecated and no more supported, so application developers switching to the next supported qt branch, and so the corresponding changes landing in FreeBSD ports tree. The same with python - python applications moving to python3 because python2 is deprecated and will not be supported after year 2020: https://pythonclock.org/ so developers tend to move forward to python3 and there is no issue with FreeBSD package repository - it simply adjusts to upstream requirements. The only question I have there - why we still don't switched to python3 by default?) -- Regards, Ruslan T.O.S. Of Reality