guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/55: gnu: python-certauth: Fix test failure with newer PyOpenSSL.


From: guix-commits
Subject: 03/55: gnu: python-certauth: Fix test failure with newer PyOpenSSL.
Date: Thu, 21 Sep 2023 13:31:33 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit e592513d394735730d925ee4be6486fc16bb22b1
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sun Sep 10 04:04:38 2023 +0800

    gnu: python-certauth: Fix test failure with newer PyOpenSSL.
    
    * gnu/packages/python-crypto.scm (python-certauth)[arguments]: New field.
---
 gnu/packages/python-crypto.scm | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index e6483996fd..1ff742717c 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -2,7 +2,7 @@
 ;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
 ;;; Copyright © 2015-2021, 2023 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2015, 2016, 2017, 2019 Leo Famulari <leo@famulari.name>
-;;; Copyright © 2016, 2017, 2020, 2022 Marius Bakke <marius@gnu.org>
+;;; Copyright © 2016, 2017, 2020, 2022, 2023 Marius Bakke <marius@gnu.org>
 ;;; Copyright © 2017 Ben Sturmfels <ben@sturm.com.au>
 ;;; Copyright © 2016 Sou Bunnbu <iyzsong@gmail.com>
 ;;; Copyright © 2015 Cyril Roelandt <tipecaml@gmail.com>
@@ -441,6 +441,16 @@ blake3, a cryptographic hash function.")
         (base32
          "1yxqfb5131wahjyw9pxz03bq476rcfx62s6k53xx4cqbzzgdaqkq"))))
     (build-system python-build-system)
+    (arguments
+     (list #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'unpack 'adjust-test
+                 (lambda _
+                   ;; Newer PyOpenSSL no longer separates extensions with
+                   ;; newline (this can be removed for >1.3.0).
+                   (substitute* "test/test_certauth.py"
+                     (("7334\\\\n, DNS")
+                      "7334, DNS")))))))
     (propagated-inputs
      (list python-pyopenssl python-tldextract))
     (native-inputs



reply via email to

[Prev in Thread] Current Thread [Next in Thread]