guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/09: gnu: python-databind-json: Allow newer versions of typing-extensi


From: guix-commits
Subject: 03/09: gnu: python-databind-json: Allow newer versions of typing-extensions.
Date: Wed, 28 Feb 2024 05:26:56 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit f5f64cd773018f102dab4b294e94df7ebcc073f9
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Feb 27 10:59:00 2024 +0200

    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(-)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]