gnu: python-rdflib-6: Accept newer isodate.

* gnu/packages/rdf.scm (python-rdflib-6)[arguments]: Add phase 'compatibility.

Change-Id: I4b4c880b169c6606707c1e973af9488c07d18992
This commit is contained in:
Ricardo Wurmus 2024-12-27 22:19:06 +01:00
parent 76d6d3d4f3
commit 6a445656d0
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -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