From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.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 IKruNzx2XmeMBAEA62LTzQ:P1 (envelope-from ) for ; Sun, 15 Dec 2024 06:25:01 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id IKruNzx2XmeMBAEA62LTzQ (envelope-from ) for ; Sun, 15 Dec 2024 07:25:00 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b="ix/cASx0"; 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=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734243899; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=ZDo+YqXCLv41YyJW9Yz4qfHcpYiW9FJzB1+75LKqG58=; b=mkXLIQTf8AsjvDf7Ri8EGL2F9n2LQVpbbRKYMSvyKJYmddBNZ/c4YJrOjsi1BohhzbQEGz 0HR3TI6YagPQnGAfC1rmrWK5nfnVsTHzy1zI8hQorKAyk6kkDS2v5O4/JA4+mTM3TQaNPo aebgz6kv/nsbyTVqcNu6xDj8DMyLuN+xG/viX00AuFFztSjmYN1Pbnd/mwXNdL5Mc6qmpN mlxCNccdVQD+kta9Net9CQcPtV62cRak5otSOpZpr2N7/kbo7U2VnWvrSfYiRIoNjzD/Xz Dq2DcpOigzfrUL/m4mG6aDWwYKgdrzEdUPQo3tbmQJaRbAfRm12tOB/pIK55Iw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b="ix/cASx0"; 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=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734243899; a=rsa-sha256; cv=none; b=eURHROcakGaT3CbE5Qg4MrNLe8vl9BlJ/BBn4MutW1rxPrUzeV+kLhUmc31iCDw1b9WzZv gVXP1ImCm7D3e/xU0pQOt+Y7UaVdXzi59rkKIB7eajnNuXNzPdtRnsFaCupkCuhDhKSw8z aluVyjkR995z4OGBnPfRe4Xgb5NtbiCS3Qkr1lZubz7rVppbbHSkTxmq8VmCnEFeXwJVeS 3jN2iy+NsTigzD3t73l56ixYED5LRFHFBytutSfJ8KEcZbgPLPNZabjhYV/qTnSShuLKdb 3kYjgLjHb5a2ETKm2mtGu1AeGvK6khQXBsh/LwyubckWeBmc+loBsAQ57XrnqQ== 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 B17AE5E1C5 for ; Sun, 15 Dec 2024 07:24:59 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tMi3W-0000YI-IV; Sun, 15 Dec 2024 01:24:42 -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 1tMi3T-0000Xs-Nz for guix-devel@gnu.org; Sun, 15 Dec 2024 01:24:39 -0500 Received: from mail-4322.protonmail.ch ([185.70.43.22]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tMi3Q-0003NW-S7; Sun, 15 Dec 2024 01:24:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1734243872; x=1734503072; bh=ZDo+YqXCLv41YyJW9Yz4qfHcpYiW9FJzB1+75LKqG58=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=ix/cASx0kiDETXmlhjMxaWDNbkXRqmLxMePl9qoqGWSdffQNgbHupXC4qVUeKNWxa FyH93Oom1Kw5vDnA9wTBaYqPKYlz3554U5kJhya2F1Wc2dZkHwPDytW1BRnUWy3oGE FjVblxOshjT8U5tGfWLHfNhOOnNkT5UGzRiIJzb+eFTzCJFOYUze7Mbapal5h6MAEU 5tQ+hTxuChLk87Mk2mdlyVJ2aNDsEeSyWkSBjvIdK0NS1CHT4pS7cuvMF5McFLvBTZ WSDcfDfjjcz1Y5Tw/3pM2Su7i32UVCoXk04KAFDkfbhJJRefZcXtCsWxArqnDbufXs JRVeOHicqnqZg== Date: Sun, 15 Dec 2024 06:24:26 +0000 To: Ian Eure Cc: jgart , =?utf-8?Q?Ludovic_Court=C3=A8s?= , Sharlatan Hellseher , 74715@debbugs.gnu.org, me@bonfacemunyoki.com, lars@6xq.net, marius@gnu.org, guix-devel@gnu.org, tanguy@bioneland.org Subject: Re: bug#74715: Request for merging "python-team" branch Message-ID: <0cK3cZ-V-EL1FRp9WsX7kNpVwF2jL4zrAUY7Pvn5YMa4Ps1T1udAdnhM8aYPAuwYXQdC0CQMBV61qmfzMPGvehG1ziovhuubUCERBmAzsZQ=@protonmail.com> In-Reply-To: <382af619-0dcd-4b4e-9e26-3576766c7aca@app.fastmail.com> References: <87bjxo8phy.fsf@gmail.com> <87r06f72sl.fsf@gmail.com> <875xnn37d2.fsf_-_@gnu.org> <5bd6cd85e473f53effc8a876b94b22ba86837471@dismail.de> <382af619-0dcd-4b4e-9e26-3576766c7aca@app.fastmail.com> Feedback-ID: 34709329:user:proton X-Pm-Message-ID: c8faba731ac76284b53eab7955f2d0d14ed4913b MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.22; envelope-from=kaelyn.alexi@protonmail.com; helo=mail-4322.protonmail.ch 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_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: , Reply-to: Kaelyn From: Kaelyn via "Development of GNU Guix and the GNU System distribution." 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: B17AE5E1C5 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: 2.48 X-Spam-Score: 2.48 X-TUID: P0egRj92jOFH Hi Ian, On Saturday, December 14th, 2024 at 5:00 PM, Ian Eure wr= ote: > Hi all, >=20 > Since this merge landed, the builds for several Python packages in my per= sonal channel broke.=C2=A0 Any package using pyproject-build-system for a P= ython project using setuptools seems to be affected.=C2=A0=C2=A0This python= -manhole package[1] is an example.=C2=A0 It's=C2=A0 about as simple as they= can get, with no inputs or custom build steps.=C2=A0 It's failing with: >=20 > ------------------------------------------------------------ > starting phase `build' > Using 'setuptools.build_meta' to build wheels, auto-detected '#f', overri= de '#f'. > Prepending '[]' to sys.path, auto-detected '#f', override '#f'. > Traceback (most recent call last): > =C2=A0 File "", line 6, in > =C2=A0 File "/gnu/store/jjcka1g6sk2cvwx8nm4fdwpdq3vll0v0-python-3.10.7/li= b/python3.10/importlib/__init__.py", line 126, in import_module > return _bootstrap._gcd_import(name[level:], package, level) > =C2=A0 File "", line 1050, in _gcd_import > =C2=A0 File "", line 1027, in _find_and_load > =C2=A0 File "", line 992, in _find_and_load_= unlocked > =C2=A0 File "", line 241, in _call_with_fram= es_removed > =C2=A0 File "", line 1050, in _gcd_import > =C2=A0 File "", line 1027, in _find_and_load > =C2=A0 File "", line 1004, in _find_and_load= _unlocked > ModuleNotFoundError: No module named 'setuptools' > error: in phase 'build': uncaught exception: > %exception #<&invoke-error program: "python" arguments: ("-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 jso= n.loads (sys.argv[4])\nbuilder =3D importlib.import_module(sys.argv[2])\nbu= ilder.build_wheel(sys.argv[3], config_settings=3Dconfig_settings)" "[]" "se= tuptools.build_meta" "dist" "{}") exit-status: 1 term-signal: #f stop-signa= l: #f>=C2=A0 > 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 ba= ckend_path\nconfig_settings =3D json.loads (sys.argv[4])\nbuilder =3D impor= tlib.import_module(sys.argv[2])\nbuilder.build_wheel(sys.argv[3], config_se= ttings=3Dconfig_settings)" "[]" "setuptools.build_meta" "dist" "{}" failed = with status 1 > build process 10 exited with status 256 > ------------------------------------------------------------ >=20 > Since it's complaining about setuptools, I thought I might need to add th= at to the native-inputs.=C2=A0 Alas, that fails with a different error: >=20 > ------------------------------------------------------------ > starting phase `build' > Using 'setuptools.build_meta' to build wheels, auto-detected '#f', overri= de '#f'. > Prepending '[]' to sys.path, auto-detected '#f', override '#f'. > usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] > =C2=A0=C2=A0 or: -c --help [cmd1 cmd2 ...] > =C2=A0=C2=A0 or: -c --help-commands > =C2=A0=C2=A0 or: -c cmd --help >=20 > error: invalid command 'bdist_wheel' > ------------------------------------------------------------ I don't have any comment about the pyproject-build-system issue in general,= but I've done enough maintenance of Python packages in general to be famil= iar with this error. It should be as simple as adding `python-wheel` to the= native-inputs--it is the module that allows setuptools to generate .whl fi= les, and I'd be surprised if additional packages were needed (I've encounte= red having to add explicit setuptools and wheel dependencies to requirement= s.txt files for pip when changing the build environment of packages such as= changing distros or Python versions). HTH! Cheers, Kaelyn > Is there somewhere I can find out how to fix these packages for the updat= ed pyproject-build-system?=C2=A0 Should they be getting switched to python-= build-system? >=20 > Noting also that the PyPI module for `guix import' hardcodes the pyprojec= t-build-system, so it will generate unbuildable definitions for any Python = project which uses setuptools. >=20 > Thanks, >=20 > =C2=A0 -- Ian >=20 > [1]: https://codeberg.org/ieure/atomized-guix/src/branch/main/atomized/pa= ckages/python-xyz.scm#L22 >=20 > On Fri, Dec 13, 2024, at 5:00 PM, jgart wrote: >=20 > > Hi Sharlatan, > >=20 > > Guix cheerleader here. Go for it! Merge ahoy! > > =F0=9F=A6=9C=F0=9F=A6=86 > > LGTM > >=20 > >=20 >=20 >