From owner-freebsd-python@freebsd.org Mon Oct 17 07:48:53 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 5D199C154AB for ; Mon, 17 Oct 2016 07:48:53 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 37AF3174F for ; Mon, 17 Oct 2016 07:48:53 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 36F96C154AA; Mon, 17 Oct 2016 07:48:53 +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 369FCC154A9 for ; Mon, 17 Oct 2016 07:48:53 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mail-pf0-x236.google.com (mail-pf0-x236.google.com [IPv6:2607:f8b0:400e:c00::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 03FE7174E; Mon, 17 Oct 2016 07:48:53 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by mail-pf0-x236.google.com with SMTP id e6so76078481pfk.3; Mon, 17 Oct 2016 00:48:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:reply-to:subject:to:references:from:cc:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=B+rOw4qcfsgWDMkoXiGjkukh3vDFazxMSOTG5NHoIl4=; b=TlgavWtdyKLFyhywe1ixJKYAkeIz/PZxhN5eP4+k/9I04QsoHg93M76xk3r5PTp0df QJ7M7G0PiRy5CDYejPxLKKQQUaqdI4HuaU5I0KUXHQPjRJ+rragZdc59kPNgGhifDnxW i7++z1JUb9FnTgEZ330BWpjaMGRMY+qAaBOJxnE4HcKPmcmU7eDbSGCgCkI6bZJh6qnQ Rc3KBrPKz4gQIwaBsaLPOrTQVfLT87rskAeyh0Z1PZoCPHW0kJa92vbsXxIjO3OUgT0c MdVhiaIBBLYL+HE5EY79mslTdaGM0bFPX6hW5xg5kBGG9ECEUSOUvwQAWhV2+Q0dCEL4 aX0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:reply-to:subject:to:references:from:cc :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=B+rOw4qcfsgWDMkoXiGjkukh3vDFazxMSOTG5NHoIl4=; b=ga8+3JMFgg/gBBbXP1Mdn0yQK43rUieS1/GC79I4DabEF7uL7+5rWyjKjR6sGF1W1+ MyY4QuMNiHrxaybed5g/n4tsJeX9KjPbUy1ygdQhC5+68oPJ0ge/HwnhZyyqJ99r36se fmS3XmJ92qMYzJcN1dmuDBG+99vXfNIFUa8JuNu46Wcgi9EIXSW64JlNedGWjNiBqz18 k0fh1cGrDXIzJgIO3gUOZNXLKybMmQu8jNNPqQZK9EyGS4Q5OUtMCXwgnd11VyfzHOQ9 Bk8+YEWZGxMvGnYUmzpJGcOC36lO7zakPOCLyCsJi4h0izQXeBjpvx/zfN8/Z/nCuxVC 4OrA== X-Gm-Message-State: AA6/9Rnx/4X+4Q0t0+CXCDqkBfK2jbuOsfNrHZQDhx0cQhXIFBtzwjL+a6uKl0ZbammlrA== X-Received: by 10.98.135.131 with SMTP id i125mr35843621pfe.139.1476690532554; Mon, 17 Oct 2016 00:48:52 -0700 (PDT) Received: from ?IPv6:2001:44b8:31ae:7b01:1c1a:5103:265d:bfaf? (2001-44b8-31ae-7b01-1c1a-5103-265d-bfaf.static.ipv6.internode.on.net. [2001:44b8:31ae:7b01:1c1a:5103:265d:bfaf]) by smtp.gmail.com with ESMTPSA id e74sm44560205pfk.13.2016.10.17.00.48.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Oct 2016 00:48:52 -0700 (PDT) Sender: Kubilay Kocak Reply-To: koobs@FreeBSD.org Subject: Re: Introducing python3 into user system To: Ruslan Makhmatkhanov References: From: Kubilay Kocak Cc: python , Vladimir Krstulja Message-ID: <883cfb37-3946-aa2c-21d2-73a21ea3e365@FreeBSD.org> Date: Mon, 17 Oct 2016 18:47:50 +1100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:51.0) Gecko/20100101 Thunderbird/51.0a2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-AU Content-Transfer-Encoding: 7bit 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 07:48:53 -0000 On 17/10/2016 6:22 AM, Ruslan Makhmatkhanov wrote: > Hi, > > Python 2.7 will have no upstream support after 2020, and right now it > no more getting new features. So I'd want to start poisoning^W > introducing python3 into user system via ports tree and here is what > I suggest to start to do right now: > > - 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 > > We also need to explicitly mark python2-only ports to simplify > switching to python3 as default at some point of time. > > What you guys think about? If there is general consensus, we may > enforce this via Porters Handbook. > I suggest we document something like a 'Road to Python 3 as Default' page in the Python/ wiki outlining the goal (with timelines), motivation, potential problems and possible alternative methods. Kind of like a Python PEP. I know quite a few other people have discussed at various times and in various levels of detail what & how FreeBSD might move to Python 3 by default, including some potential pitfalls that may need to be addressed. Vlad (cc'd) for example has been running an ongoing experimental Python 3 poudriere build to identify problematic ports for a while now. It would be good to bring all of that pre-existing discussion together. ./koobs