From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#22437: Fixing package-with-python2 Date: Sun, 07 Feb 2016 21:42:26 +0100 Message-ID: <87r3gos159.fsf@gnu.org> References: <87vb68nkyb.fsf@gnu.org> <87twlqxjsc.fsf@gnu.org> <20160207101720.4a3be103@debian-netbook> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51286) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSWAj-0001IM-C8 for bug-guix@gnu.org; Sun, 07 Feb 2016 15:43:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSWAg-0001JU-5T for bug-guix@gnu.org; Sun, 07 Feb 2016 15:43:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:57209) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSWAg-0001JQ-1e for bug-guix@gnu.org; Sun, 07 Feb 2016 15:43:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aSWAf-0007uG-TW for bug-guix@gnu.org; Sun, 07 Feb 2016 15:43:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20160207101720.4a3be103@debian-netbook> (Efraim Flashner's message of "Sun, 7 Feb 2016 10:17:20 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Efraim Flashner Cc: guix-devel , 22437@debbugs.gnu.org Efraim Flashner skribis: > On Wed, 03 Feb 2016 09:47:15 +0100 > ludo@gnu.org (Ludovic Court=C3=A8s) wrote: [...] >> This will trigger rebuilds (but with an identical result) because in >> manually-written variants we would use =E2=80=9Cpython2-foo=E2=80=9D as = the label of >> inputs, whereas the automatic transformations keeps the original >> =E2=80=9Cpython-foo=E2=80=9D label. > > rebuilds python-foo and python2-foo, or just the python2- variants? The latter. >> What do people think? > > I like it. It keeps the logic in the build-system. In terms of a speed te= st > when figuring out the build/dependancy graph, how does it affect the time= of > `guix graph python2-scipy python2-matplotlib`? It might be slightly faster, but it=E2=80=99s already rather fast. :-) --8<---------------cut here---------------start------------->8--- $ time guix graph python2-scipy python2-matplotlib >/dev/null real 0m0.664s user 0m0.768s sys 0m0.056s --8<---------------cut here---------------end--------------->8--- [...] >> Does that make sense? Any takers? (This can be done incrementally.) > > It fits our "one change per commit" policy, and if we don't start at the = base > of the pyramid we'll be modifying and then removing the special variants.= I > don't mind doing the conversion process. OK. > Thinking aloud, I think for the time being we should keep the > python-setuptools that are already part of the python- variants where they > are and save that for another time. Agreed. Thanks for your feedback! Ludo=E2=80=99.