~ruther/guix-local

f5f64cd773018f102dab4b294e94df7ebcc073f9 — Efraim Flashner 2 years ago 0ae4b8c
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
1 files changed, 7 insertions(+), 1 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +7 -1
@@ 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