From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: PYTHONPATH issue analysis - part 3 Date: Tue, 13 Mar 2018 22:23:08 +0100 Message-ID: <871sgn1xhf.fsf@gnu.org> References: <87371tqbyb.fsf@elephly.net> <20180223165953.GA6088@thebird.nl> 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]:37076) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evrO8-0005Wu-I3 for guix-devel@gnu.org; Tue, 13 Mar 2018 17:23:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1evrO4-000373-IV for guix-devel@gnu.org; Tue, 13 Mar 2018 17:23:16 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:40460) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1evrO4-00036M-Bi for guix-devel@gnu.org; Tue, 13 Mar 2018 17:23:12 -0400 In-Reply-To: (Hartmut Goebel's message of "Sun, 11 Mar 2018 22:47:17 +0100") 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 Hello, Hartmut Goebel skribis: > Result > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > We can avoid all of the problems related to how Guix is using PYTHONPATH > quite simple. This will work for virtual environments, too. I may well have missed something (sorry about that!), but what are =E2=80= =9Cthe problems related to how Guix is using PYTHONPATH=E2=80=9D? My first reaction is that Guix is not doing anything special with PYTHONPATH, and only defining it as documented by upstream. For example: > Preliminary Proposal > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > To be able to install different minor versions of Python in the same > profile, any environment variable should contain the minor version, too. > E.g. =E2=80=A6-3.5. If you=E2=80=99re suggesting to have a =E2=80=98PYTHONPATH3-5=E2=80=99 envi= ronment variable instead of =E2=80=98PYTHONPATH=E2=80=99, I agree it could be helpful if we = are to install different versions of Python in one profile. However, it=E2=80=99s= a choice for upstream to make, and upstream did not make that choice. There=E2=80=99s one case where we went our way instead of following upstrea= m, and that is =E2=80=98GUIX_LOCPATH=E2=80=99. There are strong justification= s, though. Thanks, Ludo=E2=80=99.