From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.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 kAtDIY8qXmeHmwAAqHPOHw:P1 (envelope-from ) for ; Sun, 15 Dec 2024 01:02:07 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id kAtDIY8qXmeHmwAAqHPOHw (envelope-from ) for ; Sun, 15 Dec 2024 02:02:07 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=retrospec.tv header.s=fm3 header.b=euOERn6b; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=jHfCvRWU; 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"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734224527; 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=B04zxAtwSDdzRxOwz6Q4fseN/dd4cpCQiVyLA4yEn8g=; b=TIqbBoru9XkbUFuFmLrhXoAbIK/95JS7G3G8D8XYACUfWiN09g15gGUQzw2Xn4ilGJq76x Q0XH7BWQohsWDAA7MzMg3Olf8fJHFoOsNHNgudixY8E4QqzswPDS1h9LquuXy85a4pFOt0 be4hA97DUhdheDxuzWttOwBTApbFyCqP0rnwwdB3SV7g9fB31/HnfjNnwlfe7lRkGETMGO gMJskXgTDUjwf0/7rFGSz0YmVrcg3Ip00CNn3uSyWicowpayQMWXFsufPxJ1DCf95E6xSj GiyOhdoZkQYFRnf5xXeEkikXgGFl5+9Y4Oow1WwA1jw7wULKsHKTnuioznii/Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=retrospec.tv header.s=fm3 header.b=euOERn6b; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=jHfCvRWU; 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"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734224527; a=rsa-sha256; cv=none; b=s52opP7D2XUPlUV7+a3UDIEH4PSessq5WUvBdngx2314Hx27N7SQRwGbPlICAmxd1uHNM4 kk5ptUANMkHIfxP1TWhHgLcpgWDLnGE4pcMY3HRh7kGdRHoIkPcM7oKlwcKP6ipMvJ7/gr 77G+MKezzlZZkYgutCpfMEDt7+ysTgBfS90rtGyFFabQHG52Yjyc0K+i19q/xhvn84u1I2 qIptE0w0W6ZpklpGJ1NsjxBepr4ucus/7ZhRTDVzmR+Ctejq5RjhWDf4mSOgE8dbpxyQP0 chYsBoQ5oWcEPNhjhDKFFZQcxP+Xagwa6idnpWvoriWTom0yOQ82SXVxTweswQ== 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 12A01551B1 for ; Sun, 15 Dec 2024 02:02:06 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tMd0b-0008FT-GV; Sat, 14 Dec 2024 20:01:21 -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 1tMd0Z-0008F6-EX for guix-devel@gnu.org; Sat, 14 Dec 2024 20:01:19 -0500 Received: from fhigh-a5-smtp.messagingengine.com ([103.168.172.156]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tMd0U-0003EA-It; Sat, 14 Dec 2024 20:01:19 -0500 Received: from phl-compute-04.internal (phl-compute-04.phl.internal [10.202.2.44]) by mailfhigh.phl.internal (Postfix) with ESMTP id B621B1140224; Sat, 14 Dec 2024 20:01:07 -0500 (EST) Received: from phl-imap-08 ([10.202.2.84]) by phl-compute-04.internal (MEProxy); Sat, 14 Dec 2024 20:01:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=retrospec.tv; 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=fm3; t=1734224467; x=1734310867; bh=B04zxAtwSD dzRxOwz6Q4fseN/dd4cpCQiVyLA4yEn8g=; b=euOERn6bvXVbBD3xdBDDzfOeph RxQFYMWwzYi5o5+c2dT5la7c+8eL5lt+D2tZA4KWgrgUi/pHf4KrLdS1qkbnkedF LAOi2EZvJr0YkbTYOAMqlC6XBppRZcwz2tHZ1ML8xhyM4DOj/CzPoJukpckaWdiO 0Atn0ENRxaNzLxNE6veerTwxgGTXMyX6SYE0cQsv294gtiDZZrSfZcmzIdNsyeUx 0YdYcb9PvBEruvXn0Llp3CnKBo8U1pcUXHBhWQhKZpJfv6TSbQpTMj32nQ10f0GD KSxg+5DI/+fwGLKIYdJwWcfVofKz9uVWw7aMHuwk572TT/kl41b3A27Al5vA== 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-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1734224467; x=1734310867; bh=B04zxAtwSDdzRxOwz6Q4fseN/dd4cpCQiVy LA4yEn8g=; b=jHfCvRWUwMHViWaTeYTqScpOq0ermmZ8EqIAJsQiYzl7a8Xg40I fE2JFrQQkw0/5RX5yhxd10IK3JuhqQZLNaCTrFEG6vNngh9fEzIS54RMBnqFnS78 L2lEgnYhSIw6VQouQvjBhrh7hOuxzezvSmdGiY8kfkc3XjJfAXgz/IVG/ZKu1Xrb i3jTJn2v3lHk0VTGwvgrXC0VpzdimeRrtg1VIYbAlF3ooZ9eV0Q9r9TCpV4r+KlM GyeZi2j5P6t+wPz0VGkeZO7Vb5HOKrIULLJKnCgSQYF3cA1hrs93JTp4S0dZWK0v bPYzn9QRrA6L9NY8km8AiuYFLWNRHGFEjJQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrledtgddvlecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnth hsucdlqddutddtmdenucfjughrpefoggffhffvvefkjghfufgtsegrtderreertdejnecu hfhrohhmpedfkfgrnhcugfhurhgvfdcuoehirghnsehrvghtrhhoshhpvggtrdhtvheqne cuggftrfgrthhtvghrnhepfeetgfdvvdethfejuddtgfduheelfefgueetkeevgfdtueef keeiudfgtdefleffnecuffhomhgrihhnpegtohguvggsvghrghdrohhrghenucevlhhush htvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehirghnsehrvghtrhho shhpvggtrdhtvhdpnhgspghrtghpthhtohepledpmhhouggvpehsmhhtphhouhhtpdhrtg hpthhtoheplhgrrhhsseeigihqrdhnvghtpdhrtghpthhtohepthgrnhhguhihsegsihho nhgvlhgrnhgurdhorhhgpdhrtghpthhtohepmhgvsegsohhnfhgrtggvmhhunhihohhkih drtghomhdprhgtphhtthhopeejgeejudehseguvggssghughhsrdhgnhhurdhorhhgpdhr tghpthhtohepjhhgrghrthesughishhmrghilhdruggvpdhrtghpthhtohepshhhrghrlh grthgrnhhushesghhmrghilhdrtghomhdprhgtphhtthhopehguhhigidquggvvhgvlhes ghhnuhdrohhrghdprhgtphhtthhopehluhguohesghhnuhdrohhrghdprhgtphhtthhope hmrghrihhushesghhnuhdrohhrgh X-ME-Proxy: Feedback-ID: id9014242:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 869E818A0068; Sat, 14 Dec 2024 20:01:06 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface MIME-Version: 1.0 Date: Sun, 15 Dec 2024 01:00:43 +0000 From: "Ian Eure" To: jgart , =?UTF-8?Q?Ludovic_Court=C3=A8s?= , "Sharlatan Hellseher" Cc: 74715@debbugs.gnu.org, me@bonfacemunyoki.com, lars@6xq.net, marius@gnu.org, guix-devel@gnu.org, tanguy@bioneland.org Message-Id: <382af619-0dcd-4b4e-9e26-3576766c7aca@app.fastmail.com> In-Reply-To: <5bd6cd85e473f53effc8a876b94b22ba86837471@dismail.de> References: <87bjxo8phy.fsf@gmail.com> <87r06f72sl.fsf@gmail.com> <875xnn37d2.fsf_-_@gnu.org> <5bd6cd85e473f53effc8a876b94b22ba86837471@dismail.de> Subject: Re: bug#74715: Request for merging "python-team" branch Content-Type: multipart/alternative; boundary=da21b493f47446609f1ddfa6fad26496 Received-SPF: pass client-ip=103.168.172.156; envelope-from=ian@retrospec.tv; helo=fhigh-a5-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_MSPIKE_H2=-0.001, 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 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 12A01551B1 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -8.76 X-Spam-Score: -8.76 X-TUID: LYq5QJ2WWloj --da21b493f47446609f1ddfa6fad26496 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi all, Since this merge landed, the builds for several Python packages in my pe= rsonal channel broke. Any package using pyproject-build-system for a Py= thon project using setuptools seems to be affected. This python-manhole= package[1] is an example. It's about as simple as they can get, with = no inputs or custom build steps. It's failing with: ------------------------------------------------------------ starting phase `build' Using 'setuptools.build_meta' to build wheels, auto-detected '#f', overr= ide '#f'. Prepending '[]' to sys.path, auto-detected '#f', override '#f'. Traceback (most recent call last): File "", line 6, in File "/gnu/store/jjcka1g6sk2cvwx8nm4fdwpdq3vll0v0-python-3.10.7/lib/py= thon3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 992, in _find_and_load_unlo= cked File "", line 241, in _call_with_frames_r= emoved File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1004, in _find_and_load_unl= ocked ModuleNotFoundError: No module named 'setuptools' error: in phase 'build': uncaught exception: %exception #<&invoke-error program: "python" arguments: ("-c" "import sy= s, importlib, json\nbackend_path =3D json.loads (sys.argv[1]) or []\nbac= kend_path.extend (sys.path)\nsys.path =3D backend_path\nconfig_settings = =3D json.loads (sys.argv[4])\nbuilder =3D importlib.import_module(sys.ar= gv[2])\nbuilder.build_wheel(sys.argv[3], config_settings=3Dconfig_settin= gs)" "[]" "setuptools.build_meta" "dist" "{}") exit-status: 1 term-signa= l: #f stop-signal: #f>=20 phase `build' failed after 0.0 seconds command "python" "-c" "import sys, importlib, json\nbackend_path =3D jso= n.loads (sys.argv[1]) or []\nbackend_path.extend (sys.path)\nsys.path =3D= backend_path\nconfig_settings =3D json.loads (sys.argv[4])\nbuilder =3D= importlib.import_module(sys.argv[2])\nbuilder.build_wheel(sys.argv[3], = config_settings=3Dconfig_settings)" "[]" "setuptools.build_meta" "dist" = "{}" failed with status 1 build process 10 exited with status 256 ------------------------------------------------------------ Since it's complaining about setuptools, I thought I might need to add t= hat to the native-inputs. Alas, that fails with a different error: ------------------------------------------------------------ starting phase `build' Using 'setuptools.build_meta' to build wheels, auto-detected '#f', overr= ide '#f'. Prepending '[]' to sys.path, auto-detected '#f', override '#f'. usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: -c --help [cmd1 cmd2 ...] or: -c --help-commands or: -c cmd --help error: invalid command 'bdist_wheel' ------------------------------------------------------------ Is there somewhere I can find out how to fix these packages for the upda= ted pyproject-build-system? Should they be getting switched to python-b= uild-system? Noting also that the PyPI module for `guix import' hardcodes the pyproje= ct-build-system, so it will generate unbuildable definitions for any Pyt= hon project which uses setuptools. Thanks, -- Ian [1]: https://codeberg.org/ieure/atomized-guix/src/branch/main/atomized/p= ackages/python-xyz.scm#L22 On Fri, Dec 13, 2024, at 5:00 PM, jgart wrote: > Hi Sharlatan, >=20 > Guix cheerleader here. Go for it! Merge ahoy! > =F0=9F=A6=9C=F0=9F=A6=86 > LGTM >=20 >=20 --da21b493f47446609f1ddfa6fad26496 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Hi all,

Since this merge landed, the builds for several Py= thon packages in my personal channel broke.  Any package using pypr= oject-build-system for a Python project using setuptools seems to be aff= ected.  This python-manhole package[1] is an example.  It= 's  about as simple as they can get, with no inputs or custom build= steps.  It's failing with:

----------= --------------------------------------------------
startin= g phase `build'
Using 'setuptools.build_meta' to build whe= els, auto-detected '#f', override '#f'.
Prepending '[]' to sys.path, auto-detected '#f', ove= rride '#f'.
Tracebac= k (most recent call last):
  File "<string>", line 6, in <module>
  File "/gnu/store/jjcka1g= 6sk2cvwx8nm4fdwpdq3vll0v0-python-3.10.7/lib/python3.10/importlib/__init_= _.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level= )
  File "<f= rozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib= ._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap&= gt;", line 992, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>"= , line 241, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", = line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _= find_and_load
 = File "<frozen importlib._bootstrap>", line 1004, in _find_and_loa= d_unlocked
ModuleNot= FoundError: No module named 'setuptools'
error: in phase 'build': uncaught exception:
%exception #<&invok= e-error program: "python" arguments: ("-c" "import sys, importlib, json\= nbackend_path =3D json.loads (sys.argv[1]) or []\nbackend_path.extend (s= ys.path)\nsys.path =3D backend_path\nconfig_settings =3D json.loads (sys= .argv[4])\nbuilder =3D importlib.import_module(sys.argv[2])\nbuilder.bui= ld_wheel(sys.argv[3], config_settings=3Dconfig_settings)" "[]" "setuptoo= ls.build_meta" "dist" "{}") exit-status: 1 term-signal: #f stop-signal: = #f> 
phase `= build' failed after 0.0 seconds
command "python" "-c" "import sys, importlib, json\nbackend_= path =3D json.loads (sys.argv[1]) or []\nbackend_path.extend (sys.path)\= nsys.path =3D backend_path\nconfig_settings =3D json.loads (sys.argv[4])= \nbuilder =3D importlib.import_module(sys.argv[2])\nbuilder.build_wheel(= sys.argv[3], config_settings=3Dconfig_settings)" "[]" "setuptools.build_= meta" "dist" "{}" failed with status 1
build process 10 exited with status 256
------------------------------------------------------------
<= div>
Since it's complaining about setuptools, I thought I = might need to add that to the native-inputs.  Alas, that fails with= a different error:

-----------------------= -------------------------------------
starting phase `buil= d'
Using 'setuptools.build_meta' to build wheels, auto-det= ected '#f', override '#f'.
Prepending '[]' to sys.path, auto-detected '#f', override '#f'.
usage: -c [global_opt= s] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: -c --help [cmd1 cmd2 ...]
   or: -c --help= -commands
 &nbs= p; or: -c cmd --help

error: invalid com= mand 'bdist_wheel'
---------------------------------------= ---------------------

Is there somewhere I = can find out how to fix these packages for the updated pyproject-build-s= ystem?  Should they be getting switched to python-build-system?
=

Noting also that the PyPI module for `guix imp= ort' hardcodes the pyproject-build-system, so it will generate unbuildab= le definitions for any Python project which uses setuptools.

Thanks,

  -- Ian
=


On Fri, Dec 13, 2024, at= 5:00 PM, jgart wrote:
Hi Sharlatan,

Guix cheerleader = here. Go for it! Merge ahoy!
=F0=9F=A6=9C=F0=9F=A6=86
<= /div>
LGTM


=
--da21b493f47446609f1ddfa6fad26496--