gnu: python-pyscss: Adjust for newer python.

* gnu/packages/python-web.scm (python-pyscss)[source]: Add snippet to
adjust python imports.

Change-Id: I0073089ed505a55f08aec2f0cc0ffa2a2c7963e4
This commit is contained in:
Efraim Flashner 2023-12-05 14:03:43 +02:00
parent 31b63a7a8c
commit 7b4623b44b
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1330,7 +1330,12 @@ (define-public python-pyscss
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "0701hziiiw67blafgpmjhzspmrss8mfvif7fw0rs8fikddwwc9g6"))))
(base32 "0701hziiiw67blafgpmjhzspmrss8mfvif7fw0rs8fikddwwc9g6"))
(snippet
#~(begin (use-modules (guix build utils))
(substitute* "scss/types.py"
(("from collections import Iterable")
"from collections.abc import Iterable"))))))
(build-system python-build-system)
(arguments
;; XXX: error in test collection, possible incompatibility with Pytest 6.