guix-commits
[Top][All Lists]
Advanced

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

09/10: gnu: python-schedule: Adjust for newer python.


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

efraim pushed a commit to branch master
in repository guix.

commit f2561811fb1c2955509b8417fd341ec2e62e7ee8
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Dec 5 14:04:12 2023 +0200

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 28be393f0a..f54a9b0f88 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3675,7 +3675,12 @@ in the current session, Python, and the OS.")
       (uri (pypi-uri "schedule" version))
       (sha256
        (base32
-        "0vplyjcbfrq50sphlwya749z8p2pcyi2nycw3518i0qpd9a6189i"))))
+        "0vplyjcbfrq50sphlwya749z8p2pcyi2nycw3518i0qpd9a6189i"))
+      (snippet
+       #~(begin (use-modules (guix build utils))
+                (substitute* "schedule/__init__.py"
+                  (("collections\\.Hashable")
+                   "collections.abc.Hashable"))))))
     (build-system python-build-system)
     (native-inputs
      (list python-pytest python-mock))



reply via email to

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