summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-02-27 10:59:00 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-27 10:59:00 +0200
commitf5f64cd773018f102dab4b294e94df7ebcc073f9 (patch)
treec60a71414a2c5990156047db1bd9775ed17686ec /gnu/packages
parent0ae4b8c42aaa10a23643dd22d266ad38d44569f3 (diff)
gnu: python-databind-json: Allow newer versions of typing-extensions.
* gnu/packages/python-xyz.scm (python-databind-json)[source]: Add snippet to allow newer versions of python-typing-extensions. Change-Id: I9a8ec799d273ba6f92029afd2f5d2007f3579eb3
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/python-xyz.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b97ab7e86e..79e9edb8d8 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -629,7 +629,13 @@ Python dataclasses.")
(method url-fetch)
(uri (pypi-uri "databind.json" version))
(sha256
- (base32 "1lm864d7arfq0pw64hyc83bwn1z94wjg7a22q1xf0qkjynqs70gg"))))
+ (base32 "1lm864d7arfq0pw64hyc83bwn1z94wjg7a22q1xf0qkjynqs70gg"))
+ (snippet
+ #~(begin (use-modules (guix build utils))
+ ;; The problem with python-typing-extensions >= 4.7 is only
+ ;; with python-3.7.
+ (substitute* "pyproject.toml"
+ ((",<4.7.*") "\"\n"))))))
(build-system pyproject-build-system)
(arguments
(list