diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-12-05 13:28:41 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-12-05 13:43:42 +0200 |
commit | f2c6710129a05b60c433e9f6b9fdb31d38654d77 (patch) | |
tree | 86098339738f4e2526c5fd7f5e0fb03bbdd5ed13 /gnu/packages/databases.scm | |
parent | cde11d1cd41aa2036d0759f29f308380e85588be (diff) | |
download | guix-f2c6710129a05b60c433e9f6b9fdb31d38654d77.tar.gz guix-f2c6710129a05b60c433e9f6b9fdb31d38654d77.zip |
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
Diffstat (limited to 'gnu/packages/databases.scm')
-rw-r--r-- | gnu/packages/databases.scm | 6 |
1 files changed, 5 insertions, 1 deletions
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 |