GNU bug report logs - #77541
[PATCH 01/38] gnu: Add clipper2.

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Fri, 4 Apr 2025 19:11:01 UTC

Severity: normal

Tags: patch

Done: Nicolas Graves <ngraves <at> ngraves.fr>

Bug is archived. No further changes may be made.

Full log


Message #82 received at 77541 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 77541 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH 27/38] gnu: python-pgpy: Fix tests.
Date: Fri,  4 Apr 2025 21:16:59 +0200
* 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")
-- 
2.49.0





This bug report was last modified 103 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.