From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id cFKSKCFCoWTmswAASxT56A (envelope-from ) for ; Sun, 02 Jul 2023 11:23:45 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id YB1BKCFCoWQQ2QAAauVa8A (envelope-from ) for ; Sun, 02 Jul 2023 11:23:45 +0200 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 A74633B091 for ; Sun, 2 Jul 2023 11:23:44 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qFtId-0007gw-2D; Sun, 02 Jul 2023 05:23:19 -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 1qFtIU-0007fI-Gn for help-guix@gnu.org; Sun, 02 Jul 2023 05:23:11 -0400 Received: from mx0.riseup.net ([198.252.153.6]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qFtIS-0003UP-Ej for help-guix@gnu.org; Sun, 02 Jul 2023 05:23:10 -0400 Received: from fews01-sea.riseup.net (fews01-sea-pn.riseup.net [10.0.1.109]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx0.riseup.net (Postfix) with ESMTPS id 4Qv3WF6Knsz9t3L; Sun, 2 Jul 2023 09:23:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1688289785; bh=z30hiewZrtraqjnsRmBBwO6Ze9M12FnAFPeMzDJczvw=; h=References:From:To:Cc:Subject:Date:In-reply-to:From; b=ULdzqeJqDsiU+DksRcaxFTSwtAf/FJDuZyrmj5qDV9jxm/Ge+1VmaYoTNJ6wT2Sjn pqdfa2r99psG5WFVDzkSg4yrGNkW4z+hxsgR7Kj1pw+4up+7dOe9+E3RhB0hB2uiuH 2SH6F936dWJuPea4r3wrVdGvKsQ4Qv3A88DGPhfQ= X-Riseup-User-ID: 01BFECD9FB8412F8182D8A5D1808426074BFBE56BA7A0BC2CB897EA0BDF36E90 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews01-sea.riseup.net (Postfix) with ESMTPSA id 4Qv3WF1WdjzJmsK; Sun, 2 Jul 2023 09:23:05 +0000 (UTC) References: From: Csepp To: Timothy Washington Cc: help-guix@gnu.org Subject: Re: Howto disable unit test runs, when building custom Python packages Date: Sun, 02 Jul 2023 11:21:15 +0200 In-reply-to: Message-ID: <87sfa6hdla.fsf@riseup.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=198.252.153.6; envelope-from=raingloom@riseup.net; helo=mx0.riseup.net 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1688289825; a=rsa-sha256; cv=none; b=WxPNNUswHrMrpGYyDodTgBZ/p/gwWN+PHwD57gvH6Pdks+U/WIHy1w5KhqpV0MuKlL8YVZ GTskrUei2m13o0EY8us5/izPSQ6IyYy2p3WG87ooGKBdx1fC30BsyrUD/+Db397Q0okxMI 7ZNXoGN9P23J6+hgDzmTtiMukY5Snkxl7KtDnbXi2eKQrHlDhYCuOp3W9jiKyYMqkw/f/Y ZlyBuMzRojggGjS5SkD+HjNJm39CMTLLlh3BZnLvl/B+IPFju+Lw80I9RGbWQMQgz1Y6Vs PZc9snAFVSSft3usoOMBdwA05nPBcS0yj9NWSJ00kO4KdT7TqHaUjqdqjOnPyQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=ULdzqeJq; dmarc=pass (policy=none) header.from=riseup.net; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1688289825; 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=z30hiewZrtraqjnsRmBBwO6Ze9M12FnAFPeMzDJczvw=; b=tFI9cckkoZ8ocKGjj+yABEe6w/kSSBVMCrJmAt0Dq/JjB618Z3Vg9KKq5c9Kz9E+Hs9NHO CfOOc1a1PGB8skQBTT2RKemqkOybGEikOaPA3uVSytJ8ZWVrfTmvij57mPwa/JWF7e8eNY UJqWEDwLcRLXZ9FjWA1rUjUJx+ns5pS332SslV6ziLjXlMn50AL8m7FxhG4MJ6neinKefF 8zwE94siBiVXOD96PyZl/hRPfCh8hlFy7PSarmkD8RHnnJyzQ0cY1wX3Pz2JyMzfecooJY EC21dwo2S8rzK95OFgBHiWvO5JfyvWuIX+9wAOY3DLmOtAByWiNBJXegIJAgBA== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=ULdzqeJq; dmarc=pass (policy=none) header.from=riseup.net; 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" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -6.62 X-Spam-Score: -6.62 X-Migadu-Queue-Id: A74633B091 X-TUID: 5eGVtLUhh/OI Timothy Washington writes: > I'm trying to figure out "Howto disable unit test runs, when building > custom Python packages". > I am trying to create a custom guix package of maurosoria/dirsearch > . > Using this config > , > "guix build" seems to work, except that it runs the project's unit tests. > But iIt fails when running the project's unit tests, with these logs > . > > Details are in this SO post > > . > But basically, when building a custom (Github hosted) Python package, how > can we disable unit test runs? > > Thanks > Tim Usually it should be as simple as: (arguments '(#:tests? #f)) If it runs the tests as part of the build step, then you'll need to either create a patch for it, use a custom source, or use substitute* to patch it programmatically.