From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id wDtpJ57xxF9ReQAA0tVLHw (envelope-from ) for ; Mon, 30 Nov 2020 13:20:30 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 4LY7I57xxF+NTAAAB5/wlQ (envelope-from ) for ; Mon, 30 Nov 2020 13:20:30 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1E8F2940340 for ; Mon, 30 Nov 2020 13:20:30 +0000 (UTC) Received: from localhost ([::1]:52232 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjj6R-0002X5-DZ for larch@yhetil.org; Mon, 30 Nov 2020 08:20:27 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60150) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjj1I-0007Rp-LC for help-guix@gnu.org; Mon, 30 Nov 2020 08:15:08 -0500 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]:36586) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kjj1H-0000Q7-2U for help-guix@gnu.org; Mon, 30 Nov 2020 08:15:08 -0500 Received: by mail-wr1-x42a.google.com with SMTP id z7so16153192wrn.3 for ; Mon, 30 Nov 2020 05:15:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version :content-transfer-encoding; bh=uWVilxu95KubcsYoZcesRJU3e1EtBTdvnvr7RNW0IXs=; b=DGneA1knD2dHsnnk7Xky/KDVpf2zlnbt9akHzYDx+av8AVPqL7NtsT8E5Ie3hVa7ps TO+u+djzX12WKtEaO4raxNT6z4r1jJi0KDTDX/tDxj9mr2QVVu/ejFgB6wDWUMeEYdrj LRMSP0SGTXy6XW0u8kEylfJMhh6vEHat0nNa75TZjvkw0qycmMBRU7M3jRPEyx0DXezm PA0vLX8IiVYe/JSRstUCN5zL/cAlUZ0/tKR93xRmhWH0pJliGxzLyAxH8OXS1Zo7Ruc8 DWGbiN3hbirhNE5qCwQC77rjvIVb1mNFMcKg5LUD6keZS2dfDv9LK5ZeHERUasEfmotR SQ7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=uWVilxu95KubcsYoZcesRJU3e1EtBTdvnvr7RNW0IXs=; b=j6kC+FyQW32Ka4K3PF1QQHQ3lwP/b/uZQZumL4hJV88k2xzrRvDyu+fP7V/hau6ygH iLdtqNDMMVlXO8GVf9fjN8r+YLvI9b8b3CwI1mliFcI8BmxSTSWEWI3cdSNkDAAV1cPK OLhAKAqdhx7e1CrBRab+bHdWniCAnZQZxFKm+JfaKnTCf7DlxuQciNu9VmMBjiBnBzMM voq4I9Jvzo0jN0lZVbe0iuP2pTXdfd1Kpli/0P/H+FRFLkwK5UN0YXslmCUFNTdaNTmp HTeol9pL0weesYNqCZtOdvC6Xa2ZF9sgNLr+5vYX7wcHCkg1Q0p4IJGmSIo/aS/6480m 9kwA== X-Gm-Message-State: AOAM531520n/E8Ye3Agfuvdjll9UfmWD8vjeFwwlI2ur2CeCk/7NHEnM ElrUZx20W99rmoaK1xQ/15RtmPORaUIGjg== X-Google-Smtp-Source: ABdhPJwx/ImlYMb9R8QqGpv5RirilE8Mn1TPziLxl/L+LBSCbWiQFxwcneCRRdzdVBsBNsBPEJQY9g== X-Received: by 2002:adf:ed02:: with SMTP id a2mr28190048wro.81.1606742105248; Mon, 30 Nov 2020 05:15:05 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id o203sm18607618wmb.0.2020.11.30.05.15.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Nov 2020 05:15:04 -0800 (PST) From: zimoun To: Phil , help-guix@gnu.org Subject: Re: Avoiding PYTHONPATH - latest? In-Reply-To: <85360rr8v5.fsf@beadling.co.uk> References: <85360rr8v5.fsf@beadling.co.uk> Date: Mon, 30 Nov 2020 14:05:58 +0100 Message-ID: <86pn3vvvt5.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::42a; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x42a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.98 X-Spam-Score: -1.98 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=DGneA1kn; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: E4fFQjefC+Ws Hi, I have not re-read all the discussion about PYTHONPATH and co. On Mon, 30 Nov 2020 at 00:22, Phil wrote: > But the current PYTHONPATH implementation immediately runs into problems > when you use venvs for development, via the cannonical "pip install -e > .". The use of PYTHONPATH means that venvs are not created pure, they > inherit Guix's python env which is the exact opposite to what any > non-Guix python developer would expect. Just to understand, is your point to be able to mix both =E2=80=9Cpip insta= ll=E2=80=9C and =E2=80=9Cguix install=E2=80=9D? If yes, it appears to me a bad idea, c= hoose one or the other. > I was wondering what the current thoughts were on how Guix could > workaround using PYTHONPATH to set base system paths? Well, I do not remember more than the attempt of GUIX_PYTHONPATH. All the best, simon