Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Oct 2016 14:46:46 +0300
From:      Ruslan Makhmatkhanov <rm@FreeBSD.org>
To:        Gerhard Schmidt <schmidt@ze.tum.de>, python@FreeBSD.org
Cc:        Ruslan Makhmatkhanov <rm@freebsd.org>
Subject:   Re: Introducing python3 into user system
Message-ID:  <0bd51f3b-e03b-2ea8-5c7b-1d108e78f2da@FreeBSD.org>
In-Reply-To: <a785c1ad-345e-8074-4f5a-3fc8af85f494@ze.tum.de>
References:  <c7c2d8eb-e512-b118-c432-25ca3ee094db@FreeBSD.org> <5893aa6d-5e29-81b5-9685-a04ab8260bcb@ze.tum.de> <60f3bedb-8f57-2703-7ee9-736fc26ff9d0@yandex.ru> <a785c1ad-345e-8074-4f5a-3fc8af85f494@ze.tum.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Gerhard Schmidt wrote on 10/17/2016 14:27:
> Am 17.10.2016 um 12:39 schrieb Ruslan Makhmatkhanov:
>> Gerhard Schmidt wrote on 10/17/2016 11:07:
>>> Am 16.10.2016 um 21:22 schrieb Ruslan Makhmatkhanov:
>>>> - if port has a build dependency upon python and it can be built both
>>>> with python2 and python3, force it to build with python3
>>>> - if some standalone application can be running both with python2 and
>>>> python3 and it have equivalent python3 dependencies, force it to be run
>>>> with python3
>>>
>>> What do you mean by "force it"?.
>>
>> I mean set USES=python3.3+ for such ports.
>
> This will install python3.5 on this system regardless if there is a
> working python2.x installation, which is exactly what is wrong. I am a
> software developer who runs legacy systems on python2.7. Forcing ports
> that are able to run with python2.7 to install python3.5 will most
> probably break my systems. USES should always represent the minimum
> requirement not something so feel is something it should use.

I'm not sure how it will break anything if conditions, listed in my 
initial message are complied. Would you please elaborate on that and 
provide an example of such a breakage? python3.5 and python2.7 can 
co-exist. And I just want to remind that we are talking only about 
standalone applications now, with no external dependencies, and also 
about ports that use python only at build phase.

>
> Please do not break systems without a really good reason. This we can
> discus in 4 years when support for python2 will end, but not until than.
>
> Not everyone has the freedom to run only shine new software on shine new
> systems.
>
> Regards
>   Estartu


As far I understand, we should do some preliminary work to make it 
happen. We can't turn 26k of ports to using python3 in one day at 1st of 
January 2020.


-- 
Regards,
Ruslan

T.O.S. Of Reality



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0bd51f3b-e03b-2ea8-5c7b-1d108e78f2da>