guix-commits
[Top][All Lists]
Advanced

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

05/08: gnu: python-txtorcon: Fix failing build.


From: guix-commits
Subject: 05/08: gnu: python-txtorcon: Fix failing build.
Date: Mon, 22 May 2023 11:11:45 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 75ae763b4e09f5f7f0b21d28b4f308bcb02f1876
Author: Juliana Sims <juli@incana.org>
AuthorDate: Sat May 13 13:31:38 2023 -0400

    gnu: python-txtorcon: Fix failing build.
    
    Oops, I forgot to add a copyright line - this version fixes that.
    
    * gnu/packages/python-crypto.scm (python-txtorcon): Fix failing build.
    
    Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
 gnu/packages/python-crypto.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index b1d94e85b8..be3ab5d0be 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -27,6 +27,7 @@
 ;;; Copyright © 2021, 2022, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
 ;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
 ;;; Copyright © 2022 Antero Mejr <antero@mailbox.org>
+;;; Copyright © 2023 Juliana Sims <juli@incana.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1253,7 +1254,12 @@ Password-Authenticated Key Exchange algorithm.")
         (uri (pypi-uri "txtorcon" version))
         (sha256
          (base32
-          "0fxzhsc62bhmr730vj9pzallmw56gz6iykvl28a5agrycm0bfc9p"))))
+          "0fxzhsc62bhmr730vj9pzallmw56gz6iykvl28a5agrycm0bfc9p"))
+        (modules '((guix build utils)))
+        (snippet
+         #~(substitute* "txtorcon/controller.py"
+             (("from collections import Sequence")
+              "from collections.abc import Sequence")))))
     (build-system python-build-system)
     (arguments
       ;; The tests fail immediately due to a missing file. Reported upstream:



reply via email to

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