From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: Re: Python 3 binaries Date: Sun, 1 Sep 2013 20:21:18 +0200 Message-ID: <20130901182118.GA4049@debian> References: <20130831153018.GA5442@debian> <5222282D.7000801@gmail.com> <20130901092817.GA19604@debian> <87d2osoczg.fsf@gnu.org> <20130901143907.GA23394@debian> <87k3j0igz8.fsf@gnu.org> <52237C02.1090301@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50024) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VGCHE-0006Rt-0u for guix-devel@gnu.org; Sun, 01 Sep 2013 14:21:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VGCH6-0002eo-K3 for guix-devel@gnu.org; Sun, 01 Sep 2013 14:21:31 -0400 Content-Disposition: inline In-Reply-To: <52237C02.1090301@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Cyril Roelandt Cc: guix-devel@gnu.org On Sun, Sep 01, 2013 at 07:40:18PM +0200, Cyril Roelandt wrote: > Packages usually exist in two different versions: python-foo and > python3-foo. > > I think this is quite a good way of packaging both Python 2 and 3. > One day, maybe nobody will use Python 2.x any more, and we'll just > use "python" instead of "python3", but until then, I'm really happy > to have "python" and "python3". I think it is not compatible with our policy of defaulting to always the latest version, if possible, while debian usually defaults to something old and very stable. (I notice that python-3.0 dates from 2008). So do I understand correctly that you would suggest two packages, python (containing version 2.x) and python3 (containing version 3.x), and the same for all modules? Otherwise, having python-2 and python-3, upgrading and installing without giving a version number would automatically switch to python-3, and then we would lose the "python" binary. With a package python (version 2) and a package python3, without a wrapper package, all our packages containing some #!/usr/bin/python would have to use Python version 2. Is that what we want? I think the suggestions with a wrapper package make it easier to switch to Python 3 wherever possible, while your suggestion, if I understand it correctly, seems to force us to stay with Python 2 until the last minute. Worse, if there are packages requiring Python 3 but containing #!/usr/bin/python (do such programs exist?), we would need to treat them on a case-by-case basis. Andreas