From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: installing python 2 and python 3 in the same profile Date: Mon, 12 Mar 2018 09:37:25 +0100 Message-ID: <87y3ixsn96.fsf@elephly.net> References: <87y3j4l3xj.fsf@mdc-berlin.de> <20180310083421.GA26219@thebird.nl> <87ina2uaum.fsf@elephly.net> 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]:43459) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evIxu-0005lz-5t for guix-devel@gnu.org; Mon, 12 Mar 2018 04:37:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1evIxq-00034z-1S for guix-devel@gnu.org; Mon, 12 Mar 2018 04:37:54 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21053) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1evIxp-000326-MZ for guix-devel@gnu.org; Mon, 12 Mar 2018 04:37:49 -0400 In-reply-to: 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: Konrad Hinsen Cc: Guix-devel , Ricardo Wurmus Konrad Hinsen writes: > Ricardo Wurmus writes: > >> It is an unnecessary restriction to *prevent* users from installing >> Python 2 and 3 interpreters into the same profile. Any errors we see > > I agree. But the current question is not if we should allow people to > shoot themselves into the foot, but how much effort we should invest to > make this possible. It hasn=E2=80=99t always been like this. We added a feature to anticipate conflicts that would happen at the time a profile is built. This feature now prevents you from installing variants of the same package into the same profile =E2=80=94 this is what we want. Python 2 and 3 are n= ot variants of the same package, so preventing their installation into the same profile is a bug introduced by that new feature. My proposal would require very little effort to implement. It is just a question of whether there is a more elegant approach. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net