From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 6N3gITEUqGTZSQEASxT56A (envelope-from ) for ; Fri, 07 Jul 2023 15:33:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id YJeqITEUqGRGHAAA9RJhRA (envelope-from ) for ; Fri, 07 Jul 2023 15:33:37 +0200 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 5054953D4 for ; Fri, 7 Jul 2023 15:33:37 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qHlZm-0005f6-J1; Fri, 07 Jul 2023 09:32:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qHlZl-0005da-4n for guix-devel@gnu.org; Fri, 07 Jul 2023 09:32:45 -0400 Received: from mail-qv1-xf34.google.com ([2607:f8b0:4864:20::f34]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qHlZj-0003B1-3L for guix-devel@gnu.org; Fri, 07 Jul 2023 09:32:44 -0400 Received: by mail-qv1-xf34.google.com with SMTP id 6a1803df08f44-635e3ceb152so11265776d6.2 for ; Fri, 07 Jul 2023 06:32:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688736761; x=1691328761; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=e7td8FMeQcXEuRQHmihcv9mqmedbCKCB/+hAytHu+78=; b=XpliKIg+ExSDQKcUXqwy5hvEWs6ApLliUC64t7cMPjdopw32d7V+sRSQefgPWHLlDp vHyBubScXa+agoENl1Guevf/UfidgG1SQRQ+nawskzVgxd1nCYhuOcdHg8XNRjWXd7tr erlzNcdUaEv1ng5Ob6fj90fp3PnXmG5gQFQcE+pYhoz4D4Om0KKwZMrEDHMPMYU7fwmI dS6dzRNWNASbFFewVubyp9C62p+l8pKcAjhi5p8xnM2b0qt+hNsEX8MgfZnFs5lPWSMV 6UJeb9CC09nF6ZD5SyKOEdSCpKb8E3a9ZOBmhxZ/XB9mXmfgwIIxgoEOE2gewcoyJvjH cGhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688736761; x=1691328761; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=e7td8FMeQcXEuRQHmihcv9mqmedbCKCB/+hAytHu+78=; b=itSeLX0rSFKjcbjiuB78QuXSr2COOl56RKQhTSzSPmBfJnGCjVue0l0BqrF+VlQkrm 1ULpN8colh2E8f1UsMtKbKXLwyxT6I7F26+Xy/fJFhUmE2oAUXklUDAqDpHig88xH6U9 noHiPBlwzbV2wHDuGJ5BeTMJdMQkLkkqP/vkuxzg/djBed7YcZrQygNcNK9Vwx1ioxPE V1EoRICYTQ1bAGXvJBtCQCb39vhdMkUp+DH+DGYkeGpURM0n4BVKQJ5ZuO6Fgxyk1tKK 5RRp+PriVpXmd1LfzWYUJe4gT54qJ+QF3dBWdarj2bIMVzyE70WxcD0Mm1rTjTuiOPzq X7fw== X-Gm-Message-State: ABy/qLbd1EKhgkeQzbnAOURK9T3A99wuP5fo/FPl+SjZzQElx1t2DToW TifO00ggG/E79+iJ7/UEIJjqZs3IlJ4= X-Google-Smtp-Source: APBJJlFAlGueBMpF1RBvKsmC2YaKQzorIhyXtWXlR1uPg1/5ULHJEc/RX59kdkkTUEU10sN3cPhvyg== X-Received: by 2002:a0c:f501:0:b0:635:df71:1fac with SMTP id j1-20020a0cf501000000b00635df711facmr4124674qvm.21.1688736761294; Fri, 07 Jul 2023 06:32:41 -0700 (PDT) Received: from hurd (dsl-205-236-230-179.b2b2c.ca. [205.236.230.179]) by smtp.gmail.com with ESMTPSA id p6-20020a0ce186000000b005fdbcab3065sm2078079qvl.72.2023.07.07.06.32.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jul 2023 06:32:40 -0700 (PDT) From: Maxim Cournoyer To: Wojtek Kosior Cc: John Kehayias , =?utf-8?B?5a6L5paH5q2m?= , edk@beaver-labs.com, guix-devel@gnu.org Subject: Re: Guix's python has pip's user dir in its loadpath References: <87edmey1wg.fsf@rdklein.fr> <877crma7qe.fsf@envs.net> <87edls1fyk.fsf@gmail.com> <20230701133257.6ada1e94.koszko@koszko.org> <871qhr1v6y.fsf@gmail.com> <87cz16kspd.fsf@protonmail.com> <87o7kpyrws.fsf@gmail.com> <20230706232835.343c6cfe.koszko@koszko.org> Date: Fri, 07 Jul 2023 09:32:39 -0400 In-Reply-To: <20230706232835.343c6cfe.koszko@koszko.org> (Wojtek Kosior's message of "Thu, 6 Jul 2023 23:28:35 +0200") Message-ID: <87bkgnzw20.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::f34; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qv1-xf34.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list 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+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1688736817; a=rsa-sha256; cv=none; b=pnQ4ug944M4X13xMqpHo3r2fl0lBL7fFUmQJ5h/V0qfxFWGFtOTmC//6FpRV2vfbja6Rzk 537UIFqFXnqNNbgeNiXzHjlYS+Lz0X2QgFO1a9I2R14isdQYHNHiPPybChj8zQ6dROh8sj 9CKGsutwjdQXfO/9cVdQu/LH3lZt+PnjIHhOeigWLeYi1buSbGMfsymabRtQaljGA1KeHp AGV06M22VyXafU+34V8wGWkBgKzNdekcx3yZf+Z96nPf3KbrX8x9MkotdWL6pAXfZAqLY5 rpqlNjN8UXPfBbekw8NPExrenMbVqc9Z5ZAkY3+F1jbEY8sbkqH7uBYSv0F3Ig== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=XpliKIg+; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1688736817; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=e7td8FMeQcXEuRQHmihcv9mqmedbCKCB/+hAytHu+78=; b=ZqzFzW78jpKvgoY+4+2WM8qnoV7phqh0AWZEyfSeo/BIVZTW/yATUaP2yLtdB1W5kOUySt WjqlYn/0yE0HMoaYGSHXV0oDttL01rDfcQRYVFXpcHxRnTk3hfFkdDwWIpgb4HojREZF7O IWzzzNjoYoQHXXqlxwxZJfFXGvXfBSWueQxz97Kf4gT3nPmbn6tH8t+GOYi3C9djULZ4lz QnJGtR3IT8m0zSFDffQAjvcw90yq/izegicom48jXsoJ6o3jFB+MyKrJcILhxidHNBtUDA b6bAAVBvo8QVfzMcddlePqYV9LoOL3TmsPpTeUYmTRZwxuZN/UvBaCY6F/jk5A== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=XpliKIg+; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -10.44 X-Spam-Score: -10.44 X-Migadu-Queue-Id: 5054953D4 X-TUID: 49qpuh+9yzZR Hi Wojtek, Wojtek Kosior writes: >> > But we'll be rebuilding the Python world anyway, so now is a chance to >> > try out some changes like that, though maybe it is a bit much with >> > what we are trying already. See >> >> It's a simple change, I guess we could try it at the same time, if >> someone volunteers to do it! > > I just saw this message and hurried myself up to test the patch to > python-build-system that I made. Unfortunately, it turns out the > "PYTHONNOUSERSITE=1" env var breaks pip which tries to install wheels to > the system site directory and fails due to a read-only filesystem. I'm not sure I follow; why would PYTHONNOUSERSITE affect pip? I thought it should only appear in wrappers of Python executables, not be set in a profile's environment (thus not affecting pip) ? Could you share the diff of the patch you tried so far? -- Thanks, Maxim