guix-commits
[Top][All Lists]
Advanced

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

08/10: gnu: python-pyscss: Adjust for newer python.


From: guix-commits
Subject: 08/10: gnu: python-pyscss: Adjust for newer python.
Date: Tue, 5 Dec 2023 08:11:42 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 7b4623b44b051a520ff4fe1c46bb74f2f4f4a492
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Dec 5 14:03:43 2023 +0200

    gnu: python-pyscss: Adjust for newer python.
    
    * gnu/packages/python-web.scm (python-pyscss)[source]: Add snippet to
    adjust python imports.
    
    Change-Id: I0073089ed505a55f08aec2f0cc0ffa2a2c7963e4
---
 gnu/packages/python-web.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 9d8f3c156f..06b578dac7 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1330,7 +1330,12 @@ Encryption} (JOSE) Web Standards.")
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0701hziiiw67blafgpmjhzspmrss8mfvif7fw0rs8fikddwwc9g6"))))
+        (base32 "0701hziiiw67blafgpmjhzspmrss8mfvif7fw0rs8fikddwwc9g6"))
+       (snippet
+        #~(begin (use-modules (guix build utils))
+                 (substitute* "scss/types.py"
+                   (("from collections import Iterable")
+                    "from collections.abc import Iterable"))))))
     (build-system python-build-system)
     (arguments
      ;; XXX: error in test collection, possible incompatibility with Pytest 6.



reply via email to

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