aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-12-05 14:03:43 +0200
committerEfraim Flashner <efraim@flashner.co.il>2023-12-05 15:10:33 +0200
commit7b4623b44b051a520ff4fe1c46bb74f2f4f4a492 (patch)
treec5ef9253c795dc61772e2f6767ded8385465cd1b /gnu
parent31b63a7a8c3aa469d2735115925ff86cc44e8d39 (diff)
downloadguix-7b4623b44b051a520ff4fe1c46bb74f2f4f4a492.tar.gz
guix-7b4623b44b051a520ff4fe1c46bb74f2f4f4a492.zip
gnu: python-pyscss: Adjust for newer python.
* gnu/packages/python-web.scm (python-pyscss)[source]: Add snippet to adjust python imports. Change-Id: I0073089ed505a55f08aec2f0cc0ffa2a2c7963e4
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-web.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 9d8f3c156f..06b578dac7 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1330,7 +1330,12 @@ Encryption} (JOSE) Web Standards.")
(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.