GNU bug report logs - #75835
[PATCH 0/2] Update python-warcio to 1.7.5.

Previous Next

Package: guix-patches;

Reported by: Felix Gruber <felgru <at> posteo.net>

Date: Sat, 25 Jan 2025 18:41:02 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Felix Gruber <felgru <at> posteo.net>
To: 75835 <at> debbugs.gnu.org
Cc: Felix Gruber <felgru <at> posteo.net>, Lars-Dominik Braun <lars <at> 6xq.net>, Marius Bakke <marius <at> gnu.org>, Munyoki Kilyungi <me <at> bonfacemunyoki.com>, Sharlatan Hellseher <sharlatanus <at> gmail.com>, Tanguy Le Carrour <tanguy <at> bioneland.org>, jgart <jgart <at> dismail.de>
Subject: [bug#75835] [PATCH 1/2] gnu: python-certauth: Fix build.
Date: Sat, 25 Jan 2025 18:42:59 +0000
* gnu/packages/python-crypto.scm (python-certauth): Fix build.
[arguments]: Disable failing tests.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: I623638539fa25d4178fd4b0b4c201e5f91172542
---
 gnu/packages/python-crypto.scm | 19 +++++++++++++++++--
 1 file changed, 17 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index 6aa8e83d4d..849ec18c4b 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -446,7 +446,22 @@ (define-public python-certauth
          "1yxqfb5131wahjyw9pxz03bq476rcfx62s6k53xx4cqbzzgdaqkq"))))
     (build-system pyproject-build-system)
     (arguments
-     (list #:phases
+     (list #:test-flags
+           #~(list
+              "-k"
+              (string-append
+                ; Those tests uses PKCS12, which has been removed in
+                ; pyopenssl 23.3.0:
+                "not test_custom_not_before_not_after"
+                " and not test_ca_cert_in_mem"
+                ; Those tests try to download certificates:
+                " and not test_file_wildcard"
+                " and not test_file_wildcard_subdomains"
+                " and not test_in_mem_parent_wildcard_cert"
+                " and not test_in_mem_parent_wildcard_cert_at_tld"
+                " and not test_in_mem_parent_wildcard_cert_2"
+                ))
+           #:phases
            #~(modify-phases %standard-phases
                (add-after 'unpack 'adjust-test
                  (lambda _
@@ -458,7 +473,7 @@ (define-public python-certauth
     (propagated-inputs
      (list python-pyopenssl python-tldextract))
     (native-inputs
-     (list python-pytest-cov))
+     (list python-pytest-cov python-setuptools python-wheel))
     (home-page "https://github.com/ikreymer/certauth")
     (synopsis "Certificate authority creation tool")
     (description "This package provides a small library, built on top of
-- 
2.45.2





This bug report was last modified 116 days ago.

Previous Next


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