me
/
guix
Archived
1
0
Fork 0

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
master
Efraim Flashner 2023-12-05 13:28:41 +02:00
parent cde11d1cd4
commit f2c6710129
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 5 additions and 1 deletions

View File

@ -3596,7 +3596,11 @@ You might also want to install the following optional dependencies:
(uri (pypi-uri "alchemy-mock" version)) (uri (pypi-uri "alchemy-mock" version))
(sha256 (sha256
(base32 (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) (build-system python-build-system)
(arguments (arguments
'(#:phases (modify-phases %standard-phases '(#:phases (modify-phases %standard-phases