From patchwork Sun Apr 6 12:37:09 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 41354 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 1CB9327BBE2; Sun, 6 Apr 2025 13:39:31 +0100 (BST) 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,URIBL_BLOCKED autolearn=ham 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 2809A27BBEB for ; Sun, 6 Apr 2025 13:39:30 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1u1PGU-0005m4-Ib; Sun, 06 Apr 2025 08:38:18 -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 1u1PGH-0005aV-Ip for guix-patches@gnu.org; Sun, 06 Apr 2025 08:38:05 -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 1u1PGH-00055H-9n for guix-patches@gnu.org; Sun, 06 Apr 2025 08:38:05 -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:References:In-Reply-To:Date:From:To:Subject; bh=P6G4LA+kIDs0suuzmnuJBkqMYwfsoDrh0C9K/iVxZ3A=; b=glv5odRr8QGVO/ta5NPblBkcBBRGk7F2+YSnLx+WcwXmBGQcTd1z3fj3gM5MfZ5svY2dg36SeGT4IE3byXR+90Ei++qRJKtA7oPSbZHdVichwD8B8CznZ5VFekXEPIYgCGB+NKZXAJr7cGflZGrPNrpUDVOsg85/FCtckqRL/POtFFbGillTOtmj9aBP3neQFLpo+eBqMr9ti/OQugPHcGkbAW6bzOyPDUV0ZcTi1nega4OQVPBT/CTO0KXZWBE+3rjotlwCSkAkrNklEVbymfoNzNU/o6XCEOv04h8kv1jQglyQZetWGwzIlUFe1My1vXPz6y5O/Pl9rkjRnSd3pw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1u1PGH-0001UD-4n; Sun, 06 Apr 2025 08:38:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77575] [PATCH 07/21] gnu: pomegranate: Disable tests. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org, guix-patches@gnu.org Resent-Date: Sun, 06 Apr 2025 12:38:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77575 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77575@debbugs.gnu.org Cc: Nicolas Graves , lars@6xq.net, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org X-Debbugs-Original-Xcc: lars@6xq.net, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org Received: via spool by 77575-submit@debbugs.gnu.org id=B77575.17439430735516 (code B ref 77575); Sun, 06 Apr 2025 12:38:05 +0000 Received: (at 77575) by debbugs.gnu.org; 6 Apr 2025 12:37:53 +0000 Received: from localhost ([127.0.0.1]:46356 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u1PG4-0001Qo-Dt for submit@debbugs.gnu.org; Sun, 06 Apr 2025 08:37:52 -0400 Received: from 2.mo563.mail-out.ovh.net ([46.105.33.33]:38085) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u1PFz-0001PE-Og for 77575@debbugs.gnu.org; Sun, 06 Apr 2025 08:37:48 -0400 Received: from director3.derp.mail-out.ovh.net (director3.derp.mail-out.ovh.net [152.228.215.222]) by mo563.mail-out.ovh.net (Postfix) with ESMTPS id 4ZVsLf1k6Kz1fFC; Sun, 6 Apr 2025 12:37:46 +0000 (UTC) Received: from director3.derp.mail-out.ovh.net (director3.derp.mail-out.ovh.net. [127.0.0.1]) by director3.derp.mail-out.ovh.net (inspect_sender_mail_agent) with SMTP for <77575@debbugs.gnu.org>; Sun, 6 Apr 2025 12:37:46 +0000 (UTC) Received: from mta10.priv.ovhmail-u1.ea.mail.ovh.net (unknown [10.110.118.126]) by director3.derp.mail-out.ovh.net (Postfix) with ESMTPS id 4ZVsLf0xQ6z7wVq; Sun, 6 Apr 2025 12:37:46 +0000 (UTC) Received: from ngraves.fr (unknown [10.1.6.1]) by mta10.priv.ovhmail-u1.ea.mail.ovh.net (Postfix) with ESMTPSA id C083FDA396C; Sun, 6 Apr 2025 12:37:45 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-98R0028b0ad655-e434-4f6b-9c15-205354141f22, C919729AFBE9AB1136EE71DE75FB1B1DBE8A85BF) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 90.92.117.144 Date: Sun, 6 Apr 2025 14:37:09 +0200 Message-ID: <20250406123732.31301-7-ngraves@ngraves.fr> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250406123732.31301-1-ngraves@ngraves.fr> References: <20250406123732.31301-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 8474085650141274850 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdduleejvdelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepgeefvdeutdevhffffeetieefveekfefhleeuueelvddvteduueelveegueejtdeknecuffhomhgrihhnpehphihthhhonhdrohhrghenucfkphepuddvjedrtddrtddruddpledtrdelvddruddujedrudeggeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepjeejheejheesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpoffvtefjohhsthepmhhoheeifegmpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=P6G4LA+kIDs0suuzmnuJBkqMYwfsoDrh0C9K/iVxZ3A=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1743943066; v=1; b=5txfwOZ3/SMkx2gtX/H8pM+HYCyA8WN0yjwYigYqjP+yV1XKzpKCEsAmAyV2u0anuCP3BYNV V8C6Ov1wPna/AvwjrgNgEUqYo+NJsZpPIqW8Tlzaes2jEaWweHqvYMFKp1MhHgM6dZiW5FWcUdv GU6lanZ8wzWlnkfkNng2w8y+mD/+/EFoZEzBi8nQKAqcAn6DtRj1YRJ5VPxkTMU4f2IVREsiyBw GrVkdosPeEh7NuIQQdWvkIfrPQh93B1g3yljfNzwb7j5pr9oZolq5tuU9lmWXnOXoHD1DyW2Aqf V6IActn+hWkmZqGLkxx5HKj1yDJM5MGy6MYeQarTrrAVw== 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-xyz.scm (pomegranate): Disable tests. [build-system]: Switch to pyproject. [arguments]{tests?}: Disable them. {phases}: Remove 'check phase replacement. [native-inputs]: Add python-setuptools, python-wheel. Remove python-nose. --- gnu/packages/python-xyz.scm | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index ebcb30a611..d457d89de7 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -5925,15 +5925,12 @@ (define-public python-pomegranate ;; Delete generated Cython C files. (snippet '(for-each delete-file (find-files "." "\\.c$"))))) - (build-system python-build-system) + (build-system pyproject-build-system) (arguments (list - #:phases - '(modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "python" "setup.py" "test"))))))) + ;; XXX: Update to python@3.11 broke some python-nose functionality. + ;; Tests are broken but the package itself is most likely fine. + #:tests? #f)) (propagated-inputs (list python-joblib python-networkx @@ -5942,8 +5939,9 @@ (define-public python-pomegranate python-scipy)) (native-inputs (list python-cython - python-nose - python-pandas)) + python-pandas + python-setuptools + python-wheel)) (home-page "https://pypi.python.org/pypi/pomegranate/") (synopsis "Graphical models library for Python") (description