lambdamusic / Ontospy

Python library and command-line interface for inspecting and visualizing RDF models aka ontologies.
http://lambdamusic.github.io/Ontospy/
MIT License
219 stars 52 forks source link

Remove retired package rdflib-jsonld from dependencies #99

Closed ajnelson-nist closed 2 years ago

ajnelson-nist commented 2 years ago

RDFLib folded the rdflib-jsonld package into the rdflib package in July. The repository has also since been put into an "archived" state: https://github.com/RDFLib/rdflib-jsonld/

Unfortunately, some time recently, including rdflib-jsonld in a build causes the build to break, as it uses a 2to3 function in some manner that raises an error.

This patch updates Ontospy's requirements to maintain the RDFLib JSON-LD functionality import, by requiring rdflib>=6.0.0 (the version that integrated the JSON-LD package).

Disclaimer: Participation by NIST in the creation of the documentation of mentioned software is not intended to imply a recommendation or endorsement by the National Institute of Standards and Technology, nor is it intended to imply that any specific software is necessarily the best available for the purpose.

Signed-off-by: Alex Nelson alexander.nelson@nist.gov

ajnelson-nist commented 2 years ago

The error with rdflib-jsonld related to 2to3 can be seen here: https://github.com/ajnelson-nist/Ontospy/runs/3537698475#step:5:664

ajnelson-nist commented 2 years ago

Further background on the 2to3 issue was posted here: https://github.com/RDFLib/pySHACL/issues/93

lambdamusic commented 2 years ago

Thanks