From f5f64cd773018f102dab4b294e94df7ebcc073f9 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 27 Feb 2024 10:59:00 +0200 Subject: 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 --- gnu/packages/python-xyz.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'gnu/packages/python-xyz.scm') 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 -- cgit v1.2.3