rekado pushed a commit to branch python-team
in repository guix.

commit b69ab1ade04eed7c6fa59646cd74a16daa0049b7
Author: Ricardo Wurmus <rek...@elephly.net>
AuthorDate: Fri Dec 27 22:19:06 2024 +0100

    gnu: python-rdflib-6: Accept newer isodate.
    
    * gnu/packages/rdf.scm (python-rdflib-6)[arguments]: Add phase 
'compatibility.
    
    Change-Id: I4b4c880b169c6606707c1e973af9488c07d18992
---
 gnu/packages/rdf.scm | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/rdf.scm b/gnu/packages/rdf.scm
index c446b099ea..58a485553e 100644
--- a/gnu/packages/rdf.scm
+++ b/gnu/packages/rdf.scm
@@ -390,7 +390,16 @@ powerful language for representing information.")
              "--ignore=rdflib/__init__.py"
              "--ignore=test/test_misc/test_parse_file_guess_format.py"
              ;; Exceeds maximum recursion depth
-             "-k" "not test_literal_addsub")))
+             "-k" "not test_literal_addsub")
+      #:phases
+      '(modify-phases %standard-phases
+         (add-after 'unpack 'compatibility
+           (lambda _
+             (substitute* "pyproject.toml"
+               (("^isodate = .*") "isodate = \">0.6.0\"\n"))
+             (substitute* "PKG-INFO"
+               (("^Requires-Dist: isodate .*")
+                "Requires-Dist: isodate (>=0.6.0)\n")))))))
     (native-inputs
      (list python-poetry-core python-pytest python-pytest-cov))
     (propagated-inputs

Reply via email to