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 ms8.migadu.com with LMTPS id uGGFH7ud0GXm8QAAe85BDQ:P1 (envelope-from ) for ; Sat, 17 Feb 2024 12:51:23 +0100 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 uGGFH7ud0GXm8QAAe85BDQ (envelope-from ) for ; Sat, 17 Feb 2024 12:51:23 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=zancanaro.id.au header.s=k1 header.b=L5bTgB+H; 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=pass (policy=none) header.from=zancanaro.id.au ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708170683; 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=gWpJpYuZ5yZW474HQ8i9N+mgD9dXL594q0ip59UEkxw=; b=Fnjf9dSeqeO99N3tBe/eUrwBa59rw8Dv2/GUpAt/G2jbZLmgfg5xunbo7Bat5ABwisa5bV q+W/ga68jG66UxJuvHHguLZhyQpMb8HqNI7euZawVTwgOTXPj0wcf48KM++f1lBQBn2JNR B1+KHoMJYfXO1Izt7O5CQUzM4wVtZa5NfTXA3Dya3CimfwrdNK7lCmY8mBoENvyCXQ+fEv LKmBcofAcjZV3rk4ovdu0QxZtqJEUCzowSZCh35O03h3tMXtO2fdnrNz8KXYSZnn6vHs9Q OKz8NhDIKluYCbOM8Gz2m5X4jeYsNmM9OdYfulbjebwwEK5nHHZhOq0RDcIC4A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=zancanaro.id.au header.s=k1 header.b=L5bTgB+H; 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=pass (policy=none) header.from=zancanaro.id.au ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708170683; a=rsa-sha256; cv=none; b=kVj7x8vUKpp9GlXOVC2r4txP5qGJ7F4i0+ZSLdpMJdIBxL6n5Ug7b9orAkZ4nJ3IkOtb5S uFa7rG1lg8SIdDGEvXmJfVxw4iirm5O5xYB2iNLcXzQdDr3ARmnsZthcWfKfv9QvYL7VVY v2CH1KI3D4UD+sG4La9YqOMLVhsfQpKM/TARtfuZbGn8pn8pam/389ol73oeVGho9qLrIC 6ElfA4pVjq/UmpHPDCKzdOrZgS/f8xwhJoIA63INRxbV5CgzVpN7u41dmfVtFAWIQezk7X qLtKJy3U7VE4aViR+X/4RZsHOzS3LE3cPDfQboph3acwY+2VQhtGyH8fviKD1A== 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 378A2727F3 for ; Sat, 17 Feb 2024 12:51:23 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rbJDY-0003wl-Vb; Sat, 17 Feb 2024 06:50:52 -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 1rbJDX-0003wZ-I8 for help-guix@gnu.org; Sat, 17 Feb 2024 06:50:51 -0500 Received: from voltorb.zancanaro.id.au ([45.77.50.64]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rbJDU-0008ER-PZ for help-guix@gnu.org; Sat, 17 Feb 2024 06:50:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=k1; bh=gWpJpYuZ5yZW474 HQ8i9N+mgD9dXL594q0ip59UEkxw=; h=date:references:in-reply-to:subject: cc:to:from; d=zancanaro.id.au; b=L5bTgB+H+5cjFdYhq3373EVK2nM93zzuCH/N0 dnG+FpZPFU9yixXlWkrFVzQMBQJMHdgLhsU7tOXYLQYsqVLfe86brWr6fjC9q65cUP2QIZ rF3nl1dGf8VMwVlappyjJwuQwlGjww0qQeSG/OU0xS25Kthj0ceWrdAmQtVEX0P4= Received: by voltorb.zancanaro.id.au (OpenSMTPD) with ESMTPSA id e783e9af (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sat, 17 Feb 2024 11:50:36 +0000 (UTC) From: Carlo Zancanaro To: Alexis Simon Cc: help-guix Subject: Re: Python package with some rust dependency In-Reply-To: (Alexis Simon's message of "Fri, 16 Feb 2024 16:02:45 -0800") References: <0fdf88c8-1f1a-420b-a27c-aa07cb273059@runbox.com> <875xyt8dna.fsf@zancanaro.id.au> <493a23e1-ab4e-4a29-b937-6b0455db3be0@runbox.com> <87jzn8vxz9.fsf@zancanaro.id.au> User-Agent: Gnus/5.13 (Gnus v5.13) Date: Sat, 17 Feb 2024 22:50:37 +1100 Message-ID: <87il2npawi.fsf@zancanaro.id.au> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=45.77.50.64; envelope-from=carlo@zancanaro.id.au; helo=voltorb.zancanaro.id.au 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, 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: 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-Spam-Score: -9.99 X-Spam-Score: -9.99 X-Migadu-Queue-Id: 378A2727F3 X-Migadu-Scanner: mx11.migadu.com X-TUID: lXhRhrPMZ4V6 Hi Alexis, On Fri, Feb 16 2024, Alexis Simon wrote: > ``` > error: in phase 'check-python-module': uncaught exception: > wrong-type-arg "apply" "Apply to non-list: ~S" (#f) (#f) > phase `check-python-module' failed after 0.0 seconds > ... > ice-9/boot-9.scm:1685:16: In procedure raise-exception: > In procedure apply: Apply to non-list: #f > ``` This error sounds like you're trying to call #f as a function. Since this is happening in the 'check-python-module phase, we can look at this code: > (add-after 'install-python-module 'check-python-module > (lambda* (#:key inputs #:allow-other-keys #:rest args) > (apply (assoc-ref py:%standard-phases 'check) args))) I assume that (assoc-ref py:%standard-phases 'check) is returning #f, which is causing the error. Given you don't use inputs, you could try the same thing as you've done for the other phases like: (add-after 'install-python-module 'check-python-module (assoc-ref py:%standard-phases 'check)) But I'm not sure that will help you if the assoc-ref is really returning #f. I guess in the worst case you could just leave out the check phase entirely. Also, as an aside, I'm not sure where the 'prepare-python-module phase is coming from. Does it actually exist? Carlo