From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id UCgzIl02/Wa7NwEAe85BDQ:P1 (envelope-from ) for ; Wed, 02 Oct 2024 12:02:37 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id UCgzIl02/Wa7NwEAe85BDQ (envelope-from ) for ; Wed, 02 Oct 2024 14:02:37 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Q9a9dU+Z; dkim=fail ("headers rsa verify failed") header.d=fastmail.net header.s=fm2 header.b="hc1f/Ngp"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=mtK5MmXp; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=fastmail.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1727870557; 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:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=GtfV64DKaxnBrE4K5fvh44QSSCjvi+0JVKDp2L7Q9uk=; b=U5g3Qe8dpAjyGnk7RVvw2UXzteJBcVqBre2ZS2UqwoGJn2eD4xMgm6mUiJCIz+lDya1QSS h8v2kk1IDLxuo0lxuOCytFCmibuOn6U1D/Rp0Xxmh/dn4axtfz5TNIKOTfIiwoK3FUgKd9 b3d1M+04emWy9RDIjMv5iSMNP4hcJJoYGPlYQUhbl/7SnoR/bRtHZvuhH9+Z2bWX6KOr2b QCv0xTVlErNzFTHjnSTUBoRbmde+YHT6YImxkf9bKrQ0SFxkz++jO8yiUC94rZ92yEOlEV 9IAPQxoJZqynXX4EJheTYYJtuhwmjUtCKkzP4lYgouGumH6DE1w+z6kvNbxjPg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Q9a9dU+Z; dkim=fail ("headers rsa verify failed") header.d=fastmail.net header.s=fm2 header.b="hc1f/Ngp"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=mtK5MmXp; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=fastmail.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1727870557; a=rsa-sha256; cv=none; b=tawRS9ZWeoeFmDnAkVPY+bi798qulW7msV7YVxPa+vvvDkAdCN/hhnRtrjNC70J5/aVcKv t0mCRwsnd+gye8kq0TcnsNbwRsmQDTf5MwXX56IhcU6VuhIZsAXwMy/vzHKeZN7D75BJyS RnWb+hblBplE4qbySzfb8sOTgZwxu+ZoJoLDBti+JZ1fXp2l5DD21j9Zvsw+uSdaOgXuDX y/+KtMiMpG7mBVGv0eu22V+501GLw2sdVYrDT2ceVuVAfAbhQnJSSv6OcxRN9Sp6QwWmgy kZssD3OTSJgz/yyMV9VgmkyfqoBGnww3tDyxEXCQDMMe9jIcyHulF+bvx6St8w== 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 1486C40434 for ; Wed, 02 Oct 2024 14:02:36 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1svy3C-00019u-Gx; Wed, 02 Oct 2024 08:01:50 -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 1svy2R-00011z-9B for bug-guix@gnu.org; Wed, 02 Oct 2024 08:01:05 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1svy2P-0003Rw-VR for bug-guix@gnu.org; Wed, 02 Oct 2024 08:01:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=GtfV64DKaxnBrE4K5fvh44QSSCjvi+0JVKDp2L7Q9uk=; b=Q9a9dU+ZgWvexdftI0J5JXXO0QRn+Y5GfJuNYxCuPBm7rVtG2kaQ4j8Vn/xDgkYTA54b0pP/KHFvD3oBJPzfxSKOpVfw2SGovs2j5UfLU6N/EY11u9l74ouTfnnXNbF0+tZ/uh6jDhDT/hw0uiC8n3GhN21TT7hiB/Ll67OapyTwLV+MYftTvAlgy3U5aqkelfEW/Hl9nrYLR8NclKmnLRarTB6HGXLdFay93EuHD2jDOG01L4Acz82toaeVVGIzx010isrrQ2zN+IJM8F9OA7Ak7VDjc1cvV9KfY3XCek867N6INKlTIu0Lv0pYpKupX6x7/mnIwnlewK6fHlKu5A==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1svy2Q-0003yL-9m for bug-guix@gnu.org; Wed, 02 Oct 2024 08:01:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#73304: Python in relocatable guix pack leads to wrong sys.path Resent-From: Konrad Hinsen Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 02 Oct 2024 12:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73304 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Rutherther Cc: 73304@debbugs.gnu.org, Josselin Poiret , Maxim Cournoyer Received: via spool by 73304-submit@debbugs.gnu.org id=B73304.172787041014914 (code B ref 73304); Wed, 02 Oct 2024 12:01:02 +0000 Received: (at 73304) by debbugs.gnu.org; 2 Oct 2024 12:00:10 +0000 Received: from localhost ([127.0.0.1]:56815 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1svy1Y-0003qS-3u for submit@debbugs.gnu.org; Wed, 02 Oct 2024 08:00:10 -0400 Received: from fout-a1-smtp.messagingengine.com ([103.168.172.144]:37533) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1svy1V-0003mK-7x for 73304@debbugs.gnu.org; Wed, 02 Oct 2024 08:00:06 -0400 Received: from phl-compute-12.internal (phl-compute-12.phl.internal [10.202.2.52]) by mailfout.phl.internal (Postfix) with ESMTP id A001513802E1; Wed, 2 Oct 2024 07:59:59 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-12.internal (MEProxy); Wed, 02 Oct 2024 07:59:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.net; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1727870399; x=1727956799; bh=GtfV64DKax nBrE4K5fvh44QSSCjvi+0JVKDp2L7Q9uk=; b=hc1f/NgpqTIbvQn82asfvBpwsQ A2sFGU8x2kBeF8D8Ysy/4rdjTAXcfyxjIqfB9+ZOM7dTGrcdV4Ne/GUkpaKFEAXH n36eeciI52ihhA9oPigtiFQa19LV53WKNFyzjWZ32gyd2+a2RrsyDlGnWOdAhz2I OkDgMgQPr6wZNAZQkuL39X+BSuA05JcE8n4IAHKm0Wjw1erZlsaSqfPWhk+LeHmn n4vZaUTjlzvdTTj0Aj2UQaVYy01P8ZwEZXWDxOqP9DpcMQ3UA2+wSeWOhOtHqI97 WqS5uBm0ywQE3cEUXLMbeYDL7M2pyuD4XOv3MuniMgWSG7GhjJHnjVIjGN/g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1727870399; x=1727956799; bh=GtfV64DKaxnBrE4K5fvh44QSSCjv i+0JVKDp2L7Q9uk=; b=mtK5MmXpjK37Mlz/9rSCruTirnjeX+Z1CzmYLpPIYJTq /HNBvWhN2M0jgbcGC/U/HNTnXwxUw5AJluuUydDp6e6BcZEoelSzcOBWG/xd/xhc H1Hu1gKwHT2+h6d+mGVrR7a1xipp2igJfc+pisMaWCpY1WZEX2G7ge9vHlcFZDvC kM5m7vt9xe8bbSqMRALrrGhtoKp7UqFsw/WF8NtcOP3TLifnE2dFWM05iPegAlR+ FQkOUlEyl/Emb05bxIU3YPLvVeRegp8YYpXvZem+lVfHRTxGS1i2LoiZF91m1jVG 6ozmkZ0C5bS68okIqunExPZhaSQJZTALB0XRWQXjyA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdduledggeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhephffvvefujghffffkgggtsehttdertddttddtnecu hfhrohhmpefmohhnrhgrugcujfhinhhsvghnuceokhhonhhrrggurdhhihhnshgvnhesfh grshhtmhgrihhlrdhnvghtqeenucggtffrrghtthgvrhhnpeffgefffefgveejkeduveek udffffduleelgfegtdeufeejleefjedthfeiffeiveenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehkohhnrhgrugdrhhhinhhsvghnsehfrghs thhmrghilhdrnhgvthdpnhgspghrtghpthhtohepjedpmhhouggvpehsmhhtphhouhhtpd hrtghpthhtohepsggttgeskhhhihhnshgvnhdrfhgrshhtmhgrihhlrdhnvghtpdhrtghp thhtohepuggvvhesjhhpohhirhgvthdrgiihiidprhgtphhtthhopehmrgigihhmrdgtoh hurhhnohihvghrsehgmhgrihhlrdgtohhmpdhrtghpthhtohepjeeffedtgeesuggvsggs uhhgshdrghhnuhdrohhrghdprhgtphhtthhopehruhhthhgvrhhthhgvrhesphhrohhtoh hnmhgrihhlrdgtohhmpdhrtghpthhtoheplhhuughosehgnhhurdhorhhg X-ME-Proxy: Feedback-ID: i184641e2:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 2 Oct 2024 07:59:57 -0400 (EDT) From: Konrad Hinsen In-Reply-To: References: <87ed5j1jzd.fsf@protonmail.com> <87zfno3l4i.fsf@gnu.org> Date: Wed, 02 Oct 2024 13:59:56 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: 4.42 X-Spam-Score: 4.42 X-Migadu-Queue-Id: 1486C40434 X-TUID: 7M/XBWnYcrlA Konrad Hinsen writes: > This problem clearly looks like it's caused by our sitecustomize.py. > One indicator is "When I add both python and a python package": if there > is no additional package, only python by itself, our sitecustomize > doesn't do anything. I have changed my mind. In the sys.path outputs shown, there are no paths from add-on packages. It's just the Python standard library. Maybe our sitecustomize.py is not run at all, but if it is, it didn't do anything to sys.path. There must be a bug somewhere else. Cheers, Konrad.