From patchwork Mon Mar 10 02:16:06 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 40040 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id F39AA27BBE2; Mon, 10 Mar 2025 02:19:56 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id B92AE27BBEA for ; Mon, 10 Mar 2025 02:19:55 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1trSi4-0001kR-5l; Sun, 09 Mar 2025 22:17:40 -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 1trShc-0001f3-0e for guix-patches@gnu.org; Sun, 09 Mar 2025 22:17:16 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1trSha-0007gp-IQ for guix-patches@gnu.org; Sun, 09 Mar 2025 22:17:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=rBtZRVTmBQn0k7mxS0KhdX3ixU09stJCekhyqAXQReA=; b=gePqcFySaGHTr2lqZTUEkxDVbHSD1cwIdk4Gxo72zrsvQl5bHSdqc1fDSefEBDm/hO82TEk/HLkfkmF2o7wgOWRFZXWs3pzCItkxM7XPtGel9HOMA9SE+pX579LIydH6U5KMOQFFMMTXC96EHI+uPgcNPcjOAMsDQWHw0QtLtkNrmJHIYUBe9WsomU3LHLksoSSSJmNdxYu2TeihOE75ElI0fFO46Wx6+NHnrERC+PdMwiLOfwNhQT0bg9QCcI/Yz7HmUJT6dQyQrQK/AETs9DRn6oxIWJSGlorPEHtt4jqZLslHEAios5+lbOqpjnsiC8CvhyMUNy883DQbEdo4Ig==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1trSha-0001AQ-CX for guix-patches@gnu.org; Sun, 09 Mar 2025 22:17:10 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#76835] [PATCH v3 01/40] gnu: gunicorn: Migrate 'check phase to pyproject-build-system. References: <20250307185027.11928-1-ngraves@ngraves.fr> In-Reply-To: <20250307185027.11928-1-ngraves@ngraves.fr> Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 10 Mar 2025 02:17:10 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 76835 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 76835@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 76835-submit@debbugs.gnu.org id=B76835.17415730234254 (code B ref 76835); Mon, 10 Mar 2025 02:17:10 +0000 Received: (at 76835) by debbugs.gnu.org; 10 Mar 2025 02:17:03 +0000 Received: from localhost ([127.0.0.1]:35294 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1trShR-00016C-41 for submit@debbugs.gnu.org; Sun, 09 Mar 2025 22:17:02 -0400 Received: from 6.mo581.mail-out.ovh.net ([188.165.39.218]:43217) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1trShN-00015o-Er for 76835@debbugs.gnu.org; Sun, 09 Mar 2025 22:16:59 -0400 Received: from director2.ghost.mail-out.ovh.net (unknown [10.109.140.34]) by mo581.mail-out.ovh.net (Postfix) with ESMTP id 4ZB0rl0ds5z1Db8 for <76835@debbugs.gnu.org>; Mon, 10 Mar 2025 02:16:54 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-w6wtx (unknown [10.111.182.62]) by director2.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 8FD501FE8B; Mon, 10 Mar 2025 02:16:54 +0000 (UTC) Received: from ngraves.fr ([37.59.142.99]) by ghost-submission-5b5ff79f4f-w6wtx with ESMTPSA id L7HMDJZLzmeXCQIAYM+2vw (envelope-from ); Mon, 10 Mar 2025 02:16:54 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-99G003756542c9-e177-48fe-aa34-9dca14f870e2, 031A57722FDA369A3035EBF391DEEA525A5E801E) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 90.92.117.144 Date: Mon, 10 Mar 2025 03:16:06 +0100 Message-ID: <20250310021652.17530-1-ngraves@ngraves.fr> X-Mailer: git-send-email 2.48.1 MIME-Version: 1.0 X-Ovh-Tracer-Id: 5446540802342511330 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdduudekudduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepkeffgeetfffgffejgeejvdffgfdtvdeuueetgfefuedvjeegvdegjeejveeuueevnecukfhppeduvdejrddtrddtrddupdeltddrledvrdduudejrddugeegpdefjedrheelrddugedvrdelleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjeeikeefheesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekudgmpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=rBtZRVTmBQn0k7mxS0KhdX3ixU09stJCekhyqAXQReA=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1741573015; v=1; b=KWcWFUlkFc7YUJOddQuGYok0NHNK6KTsB3UAALJbger84rWfX7etha4q20PztkOMzpxt6rNZ ELULnjM8StODWAl/HbM6JqxUMeHhuUv5Jd3O8003OmSuZtMRHUKkbJ0SKovzm73/bHQw+AZj6Sx J9cBXjTjOr8Ka5uJn0R1C6lcwcGhMzZTRWFrzh0w+CHgJNoItdVnLEreL2fF1Z7K1QNzcakqg5l h1+a9DR915VzkcV1H5nvtUr8hrdsvdAwGeluiflJbH0dNDdedysn/fkyCsMJi1f2rOShx/w8mX7 5mEtV063EvIBbOScTH4qu97gnnLSvsTDz9GgR+sQiB9nA== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-web.scm (gunicorn)[arguments] {phases}: Remove 'check phase and migrate its flags to... {test-flags}: ...here. --- gnu/packages/python-web.scm | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 7495616f2e..4765ab2358 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -7304,23 +7304,17 @@ (define-public gunicorn (outputs '("out" "doc")) (build-system pyproject-build-system) (arguments - `(#:phases + `(#:test-flags + ;; Disable the geventlet tests because eventlet uses dnspython, which + ;; does not work in the build container due to lack of /etc/resolv.conf + '("--ignore=tests/workers/test_geventlet.py") + #:phases (modify-phases %standard-phases (add-after 'build 'build-doc (lambda _ (invoke "make" "-C" "docs" "PAPER=a4" "html" "info") (delete-file "docs/build/texinfo/Makefile") (delete-file "docs/build/texinfo/Gunicorn.texi"))) - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (if tests? - (begin - (invoke "pytest" "-vv" - ;; Disable the geventlet tests because eventlet uses - ;; dnspython, which does not work in the build - ;; container due to lack of /etc/resolv.conf, etc. - "--ignore=tests/workers/test_geventlet.py")) - (format #t "test suite not run~%")))) (add-after 'install 'install-doc (lambda* (#:key outputs #:allow-other-keys) (let* ((doc (string-append (assoc-ref outputs "doc")