From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id GEjDDonLyF9OagAA0tVLHw (envelope-from ) for ; Thu, 03 Dec 2020 11:27:05 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id IFySConLyF8qFwAA1q6Kng (envelope-from ) for ; Thu, 03 Dec 2020 11:27:05 +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 9C63D9408EE for ; Thu, 3 Dec 2020 11:27:04 +0000 (UTC) Received: from localhost ([::1]:45714 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kkmlK-0005Jt-Fv for larch@yhetil.org; Thu, 03 Dec 2020 06:27:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53788) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kkmgF-00020t-3j for help-guix@gnu.org; Thu, 03 Dec 2020 06:21:47 -0500 Received: from mail-oln040092255019.outbound.protection.outlook.com ([40.92.255.19]:31552 helo=APC01-HK2-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kkmgC-0002oG-N1 for help-guix@gnu.org; Thu, 03 Dec 2020 06:21:46 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GAjiXAr5m3dy6daJ9tv6ApVEolSHbfzBzjyQglOFQal8NRDbQsKOMg0y3P63DQZqeF1gQqEj0ZzIf+QAdI4cVJn+aKGwPDtHwRqCY2foTwsnWbzdi12C6UaI6T3q8jUclBNZ+CbQI8kiP20Wqq9F/KRyLnsWDf/rH+a+jC6RJicVuGq5zPtRSoqDXzCAx7+tMScjAPK0y0KXlQbEm+MM4sIlA5+X62DASIghI9T/TKtP0UQzsn1xYyLGyVGK91Di9okQ+qf+Di3M4jJWOHHHQnb7ttCLTzVzsmb4Iaixf+qAXBK1kx9afuiHzvpjixk2ucf/sGWZCFUg5mko9Pqk2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WI9j06mZ1VzIMcfDhWKXVnw32s+qTwF5P01l91SySp8=; b=dEzmrYEJTddXuD+aGEpCP31pL5ElC9X+nCvrdMoZoCYjBYIpgEdnqkQNbTisec/aVIhhL983xOT1DEDZ7HT0GUmnj88sI2FsGMusvbMw6Eho8AKKAGmtrMSXUePH6m5ro/XfMwJW2wV7ZyhlMzOSJSLK4sTqE87sj7+HCrQvd9Seiz4AonKOis73BLgRBTO41X7HEol3BitksL2Gfx04qknPh3hNuBEtyTmA1fRvyBCoVoWKBQJHTv2X9gtg/7iEBGTffDuS0t2OmSBCHhS4gtZOJg4DwICeEKetFJi8NsvJA4DK5PsrUhY6J5YamGRvdzK+REMVaEH9tdQuQqQGNg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WI9j06mZ1VzIMcfDhWKXVnw32s+qTwF5P01l91SySp8=; b=i+9TdxxxyUrEaTmgPQsvkIzwXKNsdw4p/shh/FWZoO8NTCU5cNf7o2HYdH84kTPG11rkTsXCs6azOsd75HQg9tiZAanbcQp5ybqlu8MC2tDcFqJaiLTw0OjUfXymz3Xxv42vSLlrdkcyYDx2aCb7j8/kEHJLZyfxGkU8F7DOfj6lxhN2lS5E4CkAJ8rCns59jv968yw/BulNOefCByIXvuFlFkaaDnZBkAfri4x9MqmNJc1FHV2GVFINt7CmkZWJfOroBr+f6QJdBN8JKAmpFQzVxBYmRnbvxP6Wsa8Cgeo+BObxn/ERhB5dOL+pJhtbHEU6lvL3Nil7u6xF53VIpg== Received: from HK2APC01FT055.eop-APC01.prod.protection.outlook.com (2a01:111:e400:7ebc::40) by HK2APC01HT092.eop-APC01.prod.protection.outlook.com (2a01:111:e400:7ebc::382) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17; Thu, 3 Dec 2020 11:06:32 +0000 Received: from TYAP286MB0185.JPNP286.PROD.OUTLOOK.COM (2a01:111:e400:7ebc::42) by HK2APC01FT055.mail.protection.outlook.com (2a01:111:e400:7ebc::304) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17 via Frontend Transport; Thu, 3 Dec 2020 11:06:32 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:B24E67ADB3F5E1B67CA8F46EC1F776197E6CED958C4C2931564CC4CC43D76541; UpperCasedChecksum:CAE827AC684513D1093A71831C400F513FAAAE89734A37301B112E455C79A65A; SizeAsReceived:8688; Count:47 Received: from TYAP286MB0185.JPNP286.PROD.OUTLOOK.COM ([fe80::d802:80c9:f6bd:1fbb]) by TYAP286MB0185.JPNP286.PROD.OUTLOOK.COM ([fe80::d802:80c9:f6bd:1fbb%8]) with mapi id 15.20.3632.017; Thu, 3 Dec 2020 11:06:32 +0000 From: =?utf-8?B?5a6L5paH5q2m?= To: Phil Subject: Re: Avoiding PYTHONPATH - latest? References: <85360rr8v5.fsf@beadling.co.uk> <851rgbqizp.fsf@beadling.co.uk> Date: Thu, 03 Dec 2020 19:06:57 +0800 In-Reply-To: <851rgbqizp.fsf@beadling.co.uk> (phil@beadling.co.uk's message of "Mon, 30 Nov 2020 09:41:46 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-TMN: [7q0MpnPvw6wqu1iY3uN6S3JEwDSvSGAY+CLKxV9gDwt+CxgGG1N12J24uIVYrasS] X-ClientProxiedBy: AM0PR07CA0006.eurprd07.prod.outlook.com (2603:10a6:208:ac::19) To TYAP286MB0185.JPNP286.PROD.OUTLOOK.COM (2603:1096:404:8038::14) X-Microsoft-Original-Message-ID: <877dpzcfn2.fsf@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost (2409:8a62:37c:2f0:2f1:f5ff:fe18:6bb) by AM0PR07CA0006.eurprd07.prod.outlook.com (2603:10a6:208:ac::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.7 via Frontend Transport; Thu, 3 Dec 2020 11:06:29 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 47 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: f1f24757-4982-4933-ae1c-08d8977b7d3a X-MS-TrafficTypeDiagnostic: HK2APC01HT092: X-MS-Exchange-MinimumUrlDomainAge: gnu.org#9141 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 11VkFIq9PdZAWLrzwAdIItAnjaL58WNEUM5iy/UldLy+eJLxVqm0EIGzkXR39/XHL61Sfbiurmd2TMst18r5qGqY3ZNPMKBt8E96LH6pYL/rA6f69q1aHT+0KGn2Xtv1f0lVThBdiU3+d+5j7rRUsfPko6BLIxoyu9p7V5H8xahKz0BEBjVmFhjedvxE+LdjUvGn8J97atku4XdEcnQ5fCUf6zPnXBo2EhCmDrIMY9qAhGEx8qyNbUu1vUAr0hKj X-MS-Exchange-AntiSpam-MessageData: MG2yMYIqN1xR58jtE1h411HGYhP6Cg9KnZJYg99JJiXUj2PZE+vdL9PssqnXOluSbzM2FxHnWp6rvnG+2GJ+UV+/xED1EM1+eRkYhbJEE4V6yeGnL0Nwu33rbRah2YIIqB70kqVmAM/5cUekrBR0WQvexwy2R7mOGwKnuuMQyJIQjzyGf19TQP804IXTzqJNLLPo3qoKxI4R+cTqziWpJg== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f1f24757-4982-4933-ae1c-08d8977b7d3a X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Dec 2020 11:06:32.7530 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: HK2APC01FT055.eop-APC01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HK2APC01HT092 Received-SPF: pass client-ip=40.92.255.19; envelope-from=iyzsong@outlook.com; helo=APC01-HK2-obe.outbound.protection.outlook.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, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 03 Dec 2020 06:26:43 -0500 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: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.98 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=i+9Tdxxx; arc=pass (microsoft.com:s=arcselector9901:i=1); dmarc=pass (policy=none) header.from=outlook.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-Queue-Id: 9C63D9408EE X-Spam-Score: -2.98 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: HBpX1q0hUDnx Hello! Phil writes: >> I've been having an argument with myself over the last 4 days about if >> Guix's use of PYTHONPATH is a necessary evil or avoidable on a foreign O= S. >> >> I've found references to a similar discussion last year, and reference >> to using a 'fake virtual environment' (does anyone have a reference to >> the other thread referenced where fake venvs are demonstrated as not >> working): I remembered did that too, I think it works in most cases. >> >> https://lists.gnu.org/archive/html/guix-devel/2019-06/msg00204.html >> https://lists.gnu.org/archive/html/guix-devel/2019-06/msg00221.html >> >> I had what I think is a similar idea over the weekend and tried it out. >> >> Reading the mechanics of venvs as per PEP: >> https://www.python.org/dev/peps/pep-0405 >> >> I decided to see if I added a fake pyvenv.cfg to the python.scm package >> could allow for us to drop the use of PYTHONPATH completely. I had came up with adding another environment variable =E2=80=98GUIX_PYTHON_X_Y_SITE_PACKAGES=E2=80=99: But didn=E2=80=99t made it in, feel free take it if useful, thanks!