guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: python-prov: Use python-rdflib@6.


From: guix-commits
Subject: branch master updated: gnu: python-prov: Use python-rdflib@6.
Date: Sun, 10 Mar 2024 19:42:36 -0400

This is an automated email from the git hooks/post-receive script.

arunisaac pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new b7ecce89bd gnu: python-prov: Use python-rdflib@6.
b7ecce89bd is described below

commit b7ecce89bd60e591f0bfab6e2845aaf91f2fe309
Author: Arun Isaac <arunisaac@systemreboot.net>
AuthorDate: Mon Feb 26 18:31:16 2024 +0000

    gnu: python-prov: Use python-rdflib@6.
    
    * gnu/packages/python-xyz.scm (python-prov)[arguments]: Add
    fix-rdflib-6-compatibility phase.
    [propagated-inputs]: Replace python-rdflib-5 with python-rdflib.
    
    Change-Id: I07de032e1b5e9b6e045904e3f6880b1acc6a9075
    Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
---
 gnu/packages/python-xyz.scm | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 07ca8a9723..c1e7343310 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23984,8 +23984,18 @@ manipulation, or @code{stdout}.")
          (base32
           "1vi2fj31vygfcqrkimdmk52q2ldw08g9fn4v4zlgdfgcjlhqyhxn"))))
     (build-system python-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'fix-rdflib-6-compatibility
+            (lambda _
+              ;; See https://github.com/trungdong/prov/issues/151
+              (substitute* "src/prov/tests/test_rdf.py"
+                (("\\.serialize\\(format=\"nt\"\\)")
+                 ".serialize(format=\"nt\", encoding=\"utf-8\")")))))))
     (propagated-inputs
-     (list python-dateutil python-lxml python-networkx python-rdflib-5))
+     (list python-dateutil python-lxml python-networkx python-rdflib))
     (native-inputs
      (list graphviz python-pydot))
     (home-page "https://github.com/trungdong/prov";)



reply via email to

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