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
This commit is contained in:
Efraim Flashner 2024-02-27 10:59:00 +02:00
parent 0ae4b8c42a
commit f5f64cd773
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -629,7 +629,13 @@ (define-public python-databind-json
(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