From owner-freebsd-python@freebsd.org Mon Oct 17 17:00:15 2016 Return-Path: Delivered-To: freebsd-python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 074A1C150CF for ; Mon, 17 Oct 2016 17:00:15 +0000 (UTC) (envelope-from schmidt@ze.tum.de) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id D91A7BF for ; Mon, 17 Oct 2016 17:00:14 +0000 (UTC) (envelope-from schmidt@ze.tum.de) Received: by mailman.ysv.freebsd.org (Postfix) id D5B38C150CE; Mon, 17 Oct 2016 17:00:14 +0000 (UTC) Delivered-To: python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D5605C150CD for ; Mon, 17 Oct 2016 17:00:14 +0000 (UTC) (envelope-from schmidt@ze.tum.de) Received: from inga.augusta.de (smtp-relay.augusta.de [IPv6:2a04:29c7:1420::1:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp-relay.augusta.de", Issuer "RapidSSL CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5B835BC; Mon, 17 Oct 2016 17:00:14 +0000 (UTC) (envelope-from schmidt@ze.tum.de) Received: from inga.augusta.de (localhost [127.0.0.1]) by inga.augusta.de (8.15.2/8.15.2) with ESMTPS id u9HH094B076102 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 17 Oct 2016 19:00:10 +0200 (CEST) (envelope-from schmidt@ze.tum.de) Received: (from uucp@localhost) by inga.augusta.de (8.15.2/8.15.2/Submit) with UUCP id u9HH0735076101; Mon, 17 Oct 2016 19:00:07 +0200 (CEST) (envelope-from schmidt@ze.tum.de) Received: from [192.168.71.66] (wanderer.starbox.augusta.de [192.168.71.66]) by gatekeeper.starbox.augusta.de (8.15.2/8.15.2) with ESMTP id u9HGu1hR068022; Mon, 17 Oct 2016 18:56:01 +0200 (CEST) (envelope-from schmidt@ze.tum.de) Subject: Re: Introducing python3 into user system To: Ruslan Makhmatkhanov , python@FreeBSD.org References: <5893aa6d-5e29-81b5-9685-a04ab8260bcb@ze.tum.de> <60f3bedb-8f57-2703-7ee9-736fc26ff9d0@yandex.ru> <0bd51f3b-e03b-2ea8-5c7b-1d108e78f2da@FreeBSD.org> From: Gerhard Schmidt Message-ID: <6a089da3-d5df-fe5e-39b5-511abe5dc636@ze.tum.de> Date: Mon, 17 Oct 2016 18:55:56 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: <0bd51f3b-e03b-2ea8-5c7b-1d108e78f2da@FreeBSD.org> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Xdv2rtQgcBjkL7rn7gMPNFSHj6k97rdqo" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (inga.augusta.de [127.0.0.1]); Mon, 17 Oct 2016 19:00:10 +0200 (CEST) X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Oct 2016 17:00:15 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Xdv2rtQgcBjkL7rn7gMPNFSHj6k97rdqo Content-Type: multipart/mixed; boundary="aMViqxWLVBoNoLfx29p8FFG4uJxTolRVn" From: Gerhard Schmidt To: Ruslan Makhmatkhanov , python@FreeBSD.org Message-ID: <6a089da3-d5df-fe5e-39b5-511abe5dc636@ze.tum.de> Subject: Re: Introducing python3 into user system References: <5893aa6d-5e29-81b5-9685-a04ab8260bcb@ze.tum.de> <60f3bedb-8f57-2703-7ee9-736fc26ff9d0@yandex.ru> <0bd51f3b-e03b-2ea8-5c7b-1d108e78f2da@FreeBSD.org> In-Reply-To: <0bd51f3b-e03b-2ea8-5c7b-1d108e78f2da@FreeBSD.org> --aMViqxWLVBoNoLfx29p8FFG4uJxTolRVn Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Am 17.10.2016 um 13:46 schrieb Ruslan Makhmatkhanov: > 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 bo= th >>>>> with python2 and python3, force it to build with python3 >>>>> - if some standalone application can be running both with python2 a= nd >>>>> 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=3Dpython3.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. >=20 > 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. Not everybody what's python3.x on his system. So way force 3.5 when it's not needed. Why should I install python 3.5 when i already have python2.7 installed and all the dependencies there. There is no sense in installing packages twice! As I said. Make python 3.5 the default if python 2.7 is not installed but don't force 3.x when there is no real reason. Just getting more installations isn't a valid reason to risk break it for someone. Regards Estartu --aMViqxWLVBoNoLfx29p8FFG4uJxTolRVn-- --Xdv2rtQgcBjkL7rn7gMPNFSHj6k97rdqo Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIvBAEBCAAZBQJYBQKcEhxzY2htaWR0QHplLnR1bS5kZQAKCRB00kPMRXANo9Kz D/9Je82UDqfKVaj1uviYyoIuPr5lqR2cfcfCAbyCvrTSv3EBsfPF1XBvfdlDSSxT AaAOufGNLJgaw7UyNEm0WwsZBTAjr8XoNBm4cvqNpXNXDpvrFep3bH5AO6ongfNM wINnwwEMywq1SvCGYtAFgYS/n4pOEdDfSrLLyAo/xHefsEXpV2Vz274iKBd2Btrq ndE6asS3JG0I0wU0XMXster/rG+6+JKSu7CVnzbvSyaEpXnnGbyawWw/0kbFS0Lt /Bv1/y98hQ0g0h7CoLLrruDwP4BvcrFWyZdqPS4kN2OE+LE93tjYpX03ArXqLTfK dHA3/7SecaXU+liiWufdnrzCRbKPRxDZ0S1as9FgdeFZKALDMsTZiD50oH1CgPnU DElKU8hWXN65N73TUCaQq7gh/0yphnYNrZrJ7P5nq/YBmZITanDMvk/ZzuTFsa0L gNHL904pZrD5geiLqnkBC5Q0Y57xjz4Gu9LwUSOTjXZTiY8bGYW5IhhrllPKttiB XL8q9U9oEaD2ZZUwhvmtoyOLF5zraEyrt1TT9CPK8Y7zZ8EwB8rCcg0xh9D/N4w1 d3j1NyA9SVZIULdz3Zds+6qlrQ3rSYVKyb8yyd9o0BnbkdMM6DFRpIne2H4tuUO1 pJplkYsPLQ91wSJlDimgGuLo7QS1cdVZ0YBJANqtEPofag== =Z96O -----END PGP SIGNATURE----- --Xdv2rtQgcBjkL7rn7gMPNFSHj6k97rdqo--