From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id SF6PAbHGZGfRCgAAe85BDQ:P1 (envelope-from ) for ; Fri, 20 Dec 2024 01:21:53 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id SF6PAbHGZGfRCgAAe85BDQ (envelope-from ) for ; Fri, 20 Dec 2024 02:21:53 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=michzappa.com header.s=fm2 header.b=Z97vxusQ; dkim=fail ("body hash did not verify") header.d=messagingengine.com header.s=fm1 header.b="b u1k6ve"; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734657712; 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: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=nz1OQJSwdRAq8LUFxUxhZokLp85yZqNhkUaNZLAkN8I=; b=ZT3oK55qs+G2fT4Yy2uskadq58N8pMu2dxSwiCJ4Q0BGJMCJ6QW8lH40XCJ0SJHCOPb8Ry j9Eulqt/ryzI7rO/MOTRBKkFbtJ0f/o6zVYB7QPRyql2iiwqpyZS8UH4O2n+veBuT5BKEQ NDXCiejvJJ/TISOvw87fOjOp+4i+4M2bbREqAJQpKxj4Hy+DJnoRtKAXBxkX05522cjWvD eAcBKdR8ru85IJ1xEyGtUOUZJolcHoSmvXUMQ13IgshS2AGgm5S3OGjWQDTXGa0EY4MVtX EGQw/nbRgBT3jFi7ZilLfXpOykK2l3tfd1SYx306a2ZBzuRVEzLt2q/VPzUW8A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=michzappa.com header.s=fm2 header.b=Z97vxusQ; dkim=fail ("body hash did not verify") header.d=messagingengine.com header.s=fm1 header.b="b u1k6ve"; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734657712; a=rsa-sha256; cv=none; b=SrBGjW1qwMl7psAr+31wF9jcleBU80hijLELTdXKoN7OQavsdvQHMnB7CpvWa5wa7FefWy 64YxBWD+iM1GNvFxKMQZq3nTU4yBQLnnHRRSnwTEVznvRhqncUInuSpqdkfhiBtEEPiI08 p/7Kgu7+cItWICwQt7R4vOercwvh464su6SiPV4BRmkVJyxeuMQj6oxPQmUZVxMFJBGvYB U/zJorLsQriQv9i4jo+gsKYUpxnNeiDnOuoYJNArIXY1bqusxxmHxuKLXEmawb4qr++Fo6 Y7nQqXp3r/HftOWB6OSDwnwFy8g54FA2rBlsKI8ER1zNgXeFt7gp+DNkRa//eA== 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 24E175B5F for ; Fri, 20 Dec 2024 02:21:51 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tORha-0000as-Ob; Thu, 19 Dec 2024 20:21:15 -0500 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 1tORhX-0000aM-8l for help-guix@gnu.org; Thu, 19 Dec 2024 20:21:11 -0500 Received: from fout-a4-smtp.messagingengine.com ([103.168.172.147]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tORhO-00065z-5y for help-guix@gnu.org; Thu, 19 Dec 2024 20:21:07 -0500 Received: from phl-compute-10.internal (phl-compute-10.phl.internal [10.202.2.50]) by mailfout.phl.internal (Postfix) with ESMTP id C2ECF138029E for ; Thu, 19 Dec 2024 20:20:55 -0500 (EST) Received: from phl-imap-12 ([10.202.2.86]) by phl-compute-10.internal (MEProxy); Thu, 19 Dec 2024 20:20:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=michzappa.com; h=cc:content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to; s=fm2; t=1734657655; x=1734744055; bh=TmFUSbyS1xe7yoI6qjoP/fuDYXlUE0zA nETDDn2oUnw=; b=Z97vxusQYN7afsd8rSvwj3IZ7QlQOPkadOy7vEIeVVN8nJT4 No7TN17a3PRdicEdzgmy7fQXVh3tcv7ABIzHG3NQw7rexeNJyPxfWRBVpDB2kDe2 kfbsqIq/sYiYwnJqfKCZaRed+J8kEX1aiIGq90pf/QNuzPXgLK/9C8p/b80zpvOd 4/tPN7PtrsTrg4PYA2vJe909rnevLmRCdseX2qGJKKFdXDWZ8lT5OO6hD1DP6whc HReaaa3vn5md2fo8hG7x7PSLKAmzwmXtIy4OY0N0/H9IgSkt1YqDN3hYa488/1Mt GoLfBtFQ97J2fc5yuFEVyk2szhb/Gl7H4BknBg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1734657655; x= 1734744055; bh=TmFUSbyS1xe7yoI6qjoP/fuDYXlUE0zAnETDDn2oUnw=; b=b u1k6vel0XZsXCQM8QsXSGpTqH/hBUZK9jGhhl+k3HNhWnqThVwWnX+cTAMETeo8y TdXlK8DXgqklbza4sfDhkgS3/6JhNUsORQdFnTDjkNRVxXhaGx0bKCCKxctBcIXL l7saVSVi9P6i6AD8L8Ll1mJuaLemvsGOBv1agF9G/QtgliGwUZ0DZH0GGsxulIoR nkoailxxS+WGCn1ikmHFhgM5r3FJVMV7qXxRmG87ZjXus2Y5KNJUJvGQaJs+XPVh oyrfrj5jE/KZiGwyJhlYNm7nN2ASgwJiQtGCPEF3oHSs36I/oI10ihrB+e46zj3n 4+yOb3C+7pIs6h81HrVNA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddruddtuddgfeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefoggffhf fvkffutgesrgdtreerredttdenucfhrhhomhepfdfoihgthhgrvghlucgkrghpphgrfdcu oehmvgesmhhitghhiigrphhprgdrtghomheqnecuggftrfgrthhtvghrnhepgeegleelud eijeegleevjefhfeehueekuefgvdeuieetleeluedufeektefgheelnecuffhomhgrihhn pehgnhhurdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepmhgvsehmihgthhiirghpphgrrdgtohhmpdhnsggprhgtphhtthhopedupdhm ohguvgepshhmthhpohhuthdprhgtphhtthhopehhvghlphdqghhuihigsehgnhhurdhorh hg X-ME-Proxy: Feedback-ID: i7c6149b1:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 50B541C20066; Thu, 19 Dec 2024 20:20:55 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface MIME-Version: 1.0 Date: Thu, 19 Dec 2024 20:20:35 -0500 From: "Michael Zappa" To: help-guix@gnu.org Message-Id: Subject: setuptools in dependencies of rewritten Python package Received-SPF: pass client-ip=103.168.172.147; envelope-from=me@michzappa.com; helo=fout-a4-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -1.43 X-Spam-Score: -1.43 X-Migadu-Queue-Id: 24E175B5F X-TUID: LuO0TA3k1A8C Hello all, I have an interesting problem regarding substituting out a different version of Python. Guix Generation --------------------------- ```` guix 91f5036 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: 91f50366e5bc54951851e99f5600f9abb628b6ec ```` Scenario --------------- I am trying to write a Guix package for a Python project which needs v3.12. Thus, I am using `(package-input-rewriting `((,python . ,python-next)) #:deep? #t)` to rewrite the package definition. However, this fails in the build phase for the dependency `python-pip` - where it cannot find `setuptools`. ``` starting phase `build' running "python setup.py" with command "build" and parameters () Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'setuptools' ``` Root Cause Analysis -------------------------------- This error is reproducible via the CLI. `guix build python-pip` succeeds as expected. But `guix build --with-input=python=python-next python-pip` fails with the same error. Re: `guix shell --container -D python-pip`. In `$GUIX_ENVIRONMENT/lib/python3.10/site-packages/` setuptools is present. Re: `guix shell --container --with-input=python=python-next -D python-pip`. In `$GUIX_ENVIRONMENT/lib/python3.12/site-packages/` setuptools is not present. Where did it go?? Am I misunderstanding the effect of package-input-rewriting or is there a knock-on effect from the substitution? I see the changing usage of `--with-ensurepip` in the various python definitions but it is turned on in `python-next` so I don't see how that's the problem. Thank you, Michael