From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id uJPiHBtjiWQciwAASxT56A (envelope-from ) for ; Wed, 14 Jun 2023 08:50:03 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id MAs0HRtjiWSvPAAA9RJhRA (envelope-from ) for ; Wed, 14 Jun 2023 08:50:03 +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 1933938EE3 for ; Wed, 14 Jun 2023 08:50:03 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q9KJq-0001TN-C7; Wed, 14 Jun 2023 02:49:26 -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 1q9KJo-0001TE-On for guix-devel@gnu.org; Wed, 14 Jun 2023 02:49:24 -0400 Received: from sender11-op-o11.zoho.eu ([31.186.226.225]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q9KJm-0002D8-Sz for guix-devel@gnu.org; Wed, 14 Jun 2023 02:49:24 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1686725357; cv=none; d=zohomail.eu; s=zohoarc; b=gtvbVaGI5RPV2iytdW73Ng4o/Ff+rYwp4MIgeA+BiCUDI68YCJNhxy7pJhjplMON7w3nrC0imMDAfIRI3lsB84j9aKUyndTnyWhLk9Oy/PkD8WD1bz5qgTCWm+2VpEYoFTNg1f/DFDpSv67SEkTS0c77jy1ww91H2uZxXYMPObc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.eu; s=zohoarc; t=1686725357; h=Content-Type:Date:From:MIME-Version:Message-ID:Subject:To; bh=mqtEkb41r41jw9oe1f9JQTCd+BvOZiph4sS23pRDkTM=; b=hCzZUZqDvufWYHdBMOAnLTwZf3wXTBUYOp50PlLEQVaFR+VmZ4A/zd9obUwFcQ2ZTjx/FTGnTN6XPqNQi+g/CC9d4jABAU0z+Y1i+1l7BvCeDXw4ZAKfHIg3wc6prA3DvZROed+Q1I4ZfkUQwmRk9FI+gAVAfoz+VVFB/dHaEr4= ARC-Authentication-Results: i=1; mx.zohomail.eu; dkim=pass header.i=beaver-labs.com; spf=pass smtp.mailfrom=edk@beaver-labs.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1686725357; s=zoho; d=beaver-labs.com; i=edk@beaver-labs.com; h=From:From:To:To:Subject:Subject:Date:Date:Message-ID:MIME-Version:Content-Type:Message-Id:Reply-To:Cc; bh=mqtEkb41r41jw9oe1f9JQTCd+BvOZiph4sS23pRDkTM=; b=CIU2rjiz2fJBDUF4BdmDgfF7+GWN4kqt9VkoOcniR70g9N49JzyGMNQi7kkLIEvj H9mEWxbESCPVi2BYQZ1irqaKJ9T5IpwLX9sZOqP113VoVPdUbJGPplhxBAwJLbfsQJa zy1lLP98j8Z0VAPI9dOtOTLhHx1CA2sR6+171uW9IdOCAaQYcXCpEtsvrjqVF0WAUlB oQG8qmpD1aLOEvrR0XEhqSYLS0U0Spxy7eyM8ffq3/w4Cm0vi94u1wc8vQ07kcNKG7/ v5B38XtAEXZFRGGwmbWVMCpoV3UMtNYeCEd+WvTrrcBUJG/jhw/rcv6iiY1lT/PCzPh X+KH2f+Unw== Received: from schwarzy (lfbn-idf3-1-667-244.w86-252.abo.wanadoo.fr [86.252.237.244]) by mx.zoho.eu with SMTPS id 1686725355440999.0120745840234; Wed, 14 Jun 2023 08:49:15 +0200 (CEST) User-agent: mu4e 1.8.13; emacs 28.2 From: edk@beaver-labs.com To: guix-devel Subject: Guix's python has pip's user dir in its loadpath Date: Wed, 14 Jun 2023 08:42:56 +0200 Message-ID: <87edmey1wg.fsf@rdklein.fr> MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External Received-SPF: pass client-ip=31.186.226.225; envelope-from=edk@beaver-labs.com; helo=sender11-op-o11.zoho.eu 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, 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=2; s=key1; d=yhetil.org; t=1686725403; a=rsa-sha256; cv=pass; b=pE69bAj24KOE3dZ8MC1Rikc/Lv+HdolHl267jE4gOpESd5m9McHkQsO13Dj/nuMWsHSDCF hTpF0aQTtA8ONvX7ZAR2e1fde+SnlkgN/A5zlSaOgFHSVKTsPCAHQ6cPN3baBRTW8krss1 y8/r3ItjFQz8XSzC8YAoWxfvZqpJLvQiEdsYrMAk7jxOKW2/IwmI3RUDxk89nGD3KwiHJy HwM78c7Kf7C5wBN8Mm8L8TQJVcnRVwYaLocbwexphezY2uRBBt/X4ozXhblYoebHYCfwdo 8JFRNv6JFj2GjaCo3B9pPJiG+sxNlooiGkFAWOlw1bzNkUf2kAtgAhHrbxApOA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=beaver-labs.com header.s=zoho header.b=CIU2rjiz; dmarc=none; arc=pass ("zohomail.eu:s=zohoarc:i=1"); 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=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1686725403; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=mqtEkb41r41jw9oe1f9JQTCd+BvOZiph4sS23pRDkTM=; b=lVTKRblV1TLw77u6ih5Exe2PEoHHIABJG2XUU1ZNR9N46JgARaahIpIyerVKGXcmJCElOI HtMNEudJblY+uCz9LmRmXscILkBA/rMC5lg9s6QzOhd4jjQn3q4XUCzcWPpWw/qDLr8ufm 2FtYY1eEkql0eOnOuqCYeKyzUCY1npksvH7qtr2vksgWe/hDkGJA6vtl3Rq7A89sY1z3AH v24zt74W5o+08R3KI2aKobDyKf5ZUOiLBaSR9oMjXXBTZOnQKn/1+9fAYY0jeF8KEhkBR8 rwSBvacAK7cZiFerS5xkq1jyiPCdtSbCaFD5vZrmcnrPU0TWY6YgsijJ4y9o9A== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=beaver-labs.com header.s=zoho header.b=CIU2rjiz; dmarc=none; arc=pass ("zohomail.eu:s=zohoarc:i=1"); 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: -9.73 X-Spam-Score: -9.73 X-Migadu-Queue-Id: 1933938EE3 X-TUID: 45XxgamCfZcw Dear Guix devs, While working around this bug: https://issues.guix.gnu.org/63912 I found that guix's Python will load anything in .local/lib/python3.10/site-packages/ over any installed package in the current profile. This makes pip-installed package overshadow guix's. I'm not sure this is desirable behavior. What I was expecting was for the host system's python packages to be completely ignored. If I need to change that, I can explicitely change GUIX_PYTHONPATH. GUIX_PYTHONPATH is set to: /home/edouard/.guix-profile/lib/python3.10/site-packages /gnu/store/avgyacvy2n4x510dpwsf9dzadh7ldnd2-profile/lib/python3.10/site-packages /home/edouard/.guix-profile/lib/python3.10/site-packages /home/edouard/.guix-profile/lib/python3.9/site-packages /home/edouard/.guix-profile/lib/python3.9/site-packages /home/edouard/.guix-profile/lib/python3.9/site-packages /home/edouard/.guix-profile/lib/python3.9/site-packages Therefore loading packages from ~/.local/lib/python3.10/site-packages/ must be hardcoded in the interpreter. Any thoughts ? Maybe it is a known problem ? If so, my apologies for the noise. Cheers, Edouard.