guix-commits
[Top][All Lists]
Advanced

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

02/09: gnu: python-databind-core: Allow newer versions of typing-extensi


From: guix-commits
Subject: 02/09: gnu: python-databind-core: 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 0ae4b8c42aaa10a23643dd22d266ad38d44569f3
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Feb 25 10:57:02 2024 +0200

    gnu: python-databind-core: Allow newer versions of typing-extensions.
    
    * gnu/packages/python-xyz.scm (python-databind-core)[source]: Add
    snippet to allow newer versions of python-typing-extensions.
    
    Change-Id: I8515c4767d6241542a53746f3654074010ab25f1
---
 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 a012241dbd..b97ab7e86e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -578,7 +578,13 @@ workspaces.
        (method url-fetch)
        (uri (pypi-uri "databind.core" version))
        (sha256
-        (base32 "130hr19kbzizx9n2q7cwfzfk20ii3cqmqjrzb16psnafll303k2d"))))
+        (base32 "130hr19kbzizx9n2q7cwfzfk20ii3cqmqjrzb16psnafll303k2d"))
+       (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]