From patchwork Fri Apr 4 19:16:59 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 41285 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 7A9CD27BBE9; Fri, 4 Apr 2025 20:19:18 +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=-7.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, 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 45A9627BBE2 for ; Fri, 4 Apr 2025 20:19:18 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1u0mZJ-0007Ef-1w; Fri, 04 Apr 2025 15:19:09 -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 1u0mZF-00078V-G7 for guix-patches@gnu.org; Fri, 04 Apr 2025 15:19: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 1u0mZE-0007wk-Qb for guix-patches@gnu.org; Fri, 04 Apr 2025 15:19: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=AOkgEjA6KIuSjFqq05WGTkfEjD+XslU9Nn26DF0V/BQ=; b=akFvh4DwYX0Ty14pb1DMIEABurdoWYZh7oPRbl/6Eud6TempSymKe4MUL+3umckQ2HGuN+O0RcjtNqpegQ/0wzuqWzwNr+4XjbjT895B3aFtZLd7H+8IgXmk3G2C+FqUPV2V5kSBmFXm3pwVK84QzGX1JA8R49jrTxn0cg+NzF7wAuoCP0QRQIaWq9Aki4mSGDgJGlWCTyL7fh/L+cy4MLMZrSVt5Izm07O3Dj6o4FGu897fGrYxVEVbbxJ+IlvaMfZfArMxENF3XEU0zUYbxP3a9YUF+mzk6z7sYjmfeeybvzQB6nPx4LNVmY029j34zuECMkUDmAO/7MxJPh672g==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1u0mZE-0007RA-In for guix-patches@gnu.org; Fri, 04 Apr 2025 15:19:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77541] [PATCH 27/38] gnu: python-pgpy: Fix tests. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 04 Apr 2025 19:19:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77541 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77541@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 77541-submit@debbugs.gnu.org id=B77541.174379429628372 (code B ref 77541); Fri, 04 Apr 2025 19:19:04 +0000 Received: (at 77541) by debbugs.gnu.org; 4 Apr 2025 19:18:16 +0000 Received: from localhost ([127.0.0.1]:40118 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u0mYR-0007NV-DR for submit@debbugs.gnu.org; Fri, 04 Apr 2025 15:18:15 -0400 Received: from 9.mo563.mail-out.ovh.net ([46.105.73.201]:36925) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u0mXy-0007HA-EX for 77541@debbugs.gnu.org; Fri, 04 Apr 2025 15:17:47 -0400 Received: from director2.derp.mail-out.ovh.net (director2.derp.mail-out.ovh.net [79.137.60.36]) by mo563.mail-out.ovh.net (Postfix) with ESMTPS id 4ZTpK45GdXz1Y12; Fri, 4 Apr 2025 19:17:44 +0000 (UTC) Received: from director2.derp.mail-out.ovh.net (director2.derp.mail-out.ovh.net. [127.0.0.1]) by director2.derp.mail-out.ovh.net (inspect_sender_mail_agent) with SMTP for <77541@debbugs.gnu.org>; Fri, 4 Apr 2025 19:17:44 +0000 (UTC) Received: from mta2.priv.ovhmail-u1.ea.mail.ovh.net (unknown [10.110.101.222]) by director2.derp.mail-out.ovh.net (Postfix) with ESMTPS id 4ZTpK44lMrzyF8; Fri, 4 Apr 2025 19:17:44 +0000 (UTC) Received: from ngraves.fr (unknown [10.1.6.7]) by mta2.priv.ovhmail-u1.ea.mail.ovh.net (Postfix) with ESMTPSA id 4BC0BBA3E48; Fri, 4 Apr 2025 19:17:44 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-107S001ac365a67-0209-45bd-98c2-70a246cf2e81, 5C763BAE2B049B0552D0CEA89988AE409CD35AAA) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 90.92.117.144 Date: Fri, 4 Apr 2025 21:16:59 +0200 Message-ID: <20250404191717.32747-27-ngraves@ngraves.fr> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250404191717.32747-1-ngraves@ngraves.fr> References: <20250404191717.32747-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 3483534315308376802 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdduledvvdeiucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpledtrdelvddruddujedrudeggeenucevlhhushhtvghrufhiiigvpeefnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepjeejheegudesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpoffvtefjohhsthepmhhoheeifegmpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=AOkgEjA6KIuSjFqq05WGTkfEjD+XslU9Nn26DF0V/BQ=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1743794264; v=1; b=i6e8YS/+XS2mq/cLmPVFL6l5lTQ1MhFNsXAiqpu701MrhohnAiorev2Xab9OK5NyBv4b9jCi t2uIijL1bO0BIAQNL8hRezisV33FRc08Zsi9ul3baW25OvxWQumEdvOOra/0oFVXrlO6Uv0KqIF B3DEb7H27Xlc+pX9Lm2Cw0V80YGqQDmYrafMjUmE/qW3gNyZvsSsiY6uK2WExaSRgJnlb3GBTQl NEiAv/x3kpZD1CtCfhKHoqchtuoc0jhaPVOCsTNJKbaISg6lqT0w9IR/L36+4c/NmFIX2k9ohtN gMmp3xjx/87lJ9JuG97rgfszWf75gK+/2yewX0UeCdvAg== 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-crypto.scm (python-pgpy): Fix tests. [build-system]: Switch to pyproject. [arguments]{phases}: Remove argument. {test-flags}: Ignore failing tests. [native-inputs]: Add python-setuptools. --- gnu/packages/python-crypto.scm | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index 13ad37bca8..fc57afb862 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -1634,17 +1634,14 @@ (define-public python-pgpy (uri (pypi-uri "PGPy" version)) (sha256 (base32 "10w3h934fi1ijx72ppn67a50yhkf8n1db6xx02gk2fjc7wsjx717")))) - (build-system python-build-system) + (build-system pyproject-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "pytest"))))))) + (list #:test-flags + ;; All broken tests are in this file. + ;; They fail with ValueError: key_size must be at least 1024-bits. + #~(list "--ignore" "tests/test_10_exceptions.py"))) (native-inputs - (list python-pytest - python-wheel)) + (list python-pytest python-setuptools python-wheel)) (propagated-inputs (list python-cryptography python-pyasn1)) (home-page "https://github.com/SecurityInnovation/PGPy") (synopsis "Python implementation of OpenPGP")