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
This commit is contained in:
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

View file

@ -3596,7 +3596,11 @@ (define-public python-alchemy-mock
(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