guix-commits
[Top][All Lists]
Advanced

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

03/10: gnu: python-alchemy-mock: Adjust for newer python.


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

efraim pushed a commit to branch master
in repository guix.

commit f2c6710129a05b60c433e9f6b9fdb31d38654d77
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Dec 5 13:28:41 2023 +0200

    gnu: python-alchemy-mock: Adjust for newer python.
    
    * gnu/packages/databases.scm (python-alchemy-mock)[source]: Add snippet
    to adjust python module imports.
    
    Change-Id: Id41dd77ff7cd243f8026ad416d12dc01bf68f467
---
 gnu/packages/databases.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index f0ea100c3b..2ab982f333 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -3596,7 +3596,11 @@ You might also want to install the following optional 
dependencies:
               (uri (pypi-uri "alchemy-mock" version))
               (sha256
                (base32
-                "0ylxygl3bcdapzz529n8wgk7vx9gjwb3ism564ypkpd7dbsw653r"))))
+                "0ylxygl3bcdapzz529n8wgk7vx9gjwb3ism564ypkpd7dbsw653r"))
+             (snippet
+              #~(begin (use-modules (guix build utils))
+                       (substitute* "alchemy_mock/comparison.py"
+                         (("collections\\.Mapping") 
"collections.abc.Mapping"))))))
     (build-system python-build-system)
     (arguments
      '(#:phases (modify-phases %standard-phases



reply via email to

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