From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: [PATCH 0/2] Update Python to current versions Date: Wed, 27 Apr 2016 12:55:57 -0400 Message-ID: <20160427165557.GA13823@jasmine> References: <1461269926-7934-1-git-send-email-h.goebel@crazy-compilers.com> <57195E66.4010502@gmail.com> <5719C780.4050607@goebel-consult.de> <20160424001838.GB10040@jasmine> <571F34D5.9060805@crazy-compilers.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55461) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avSku-0006fg-1c for guix-devel@gnu.org; Wed, 27 Apr 2016 12:56:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1avSkq-0003Bz-Rn for guix-devel@gnu.org; Wed, 27 Apr 2016 12:56:03 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:53829) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avSkp-0003BV-Ml for guix-devel@gnu.org; Wed, 27 Apr 2016 12:56:00 -0400 Content-Disposition: inline In-Reply-To: <571F34D5.9060805@crazy-compilers.com> List-Id: "Development of GNU Guix and the GNU System distribution." 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" To: Hartmut Goebel Cc: guix-devel@gnu.org On Tue, Apr 26, 2016 at 11:28:53AM +0200, Hartmut Goebel wrote: > Am 24.04.2016 um 02:18 schrieb Leo Famulari: > > If we can successfully update to 3.5, that would be best. Otherwise, we > > should consider using 3.4.4. > > I disagree. > > While Python typically is backward-compatible (except for the big change > between Python 2 and Python 3), some minor incompatibilities are common > when upgrading from e.g. 3.4 to 3.5. E.g. in 3.5 some deprecated things > have been removed [1]. Okay. > I suggest: > > - Rename "python" (python@3.4.x) to "python-3.4" > - Add a new variable "python" as an alias for "python-3.4" > - Add "python-3.5" (@3.5.1) (for now independent from "python" It should be possible to do these 3 actions without causing any packages to be rebuilt. I think the first 2 steps should be in one commit, and the second step in a second commit. > - Update python-3.4 to 3.4.5 This will require every python-3 package to be rebuilt, so it should be done on a python-updates branch. That branch could also include python-3.5, updates to setuptools, sphinx [0], and other core Python packages. It would also be good to address these reproducibility bugs in Python's bytecode compiler: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22010 http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22533 What does everyone think of this plan? [0] We need to make Sphinx stop embedding build timestamps: https://wiki.debian.org/ReproducibleBuilds/TimestampsInManpagesGeneratedBySphinx