Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove retired package rdflib-jsonld from dependencies #99

Merged

Conversation

ajnelson-nist
Copy link
Contributor

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 [email protected]

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 <[email protected]>
@ajnelson-nist
Copy link
Contributor Author

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
Copy link
Contributor Author

Further background on the 2to3 issue was posted here:
RDFLib/pySHACL#93

@lambdamusic lambdamusic merged commit 18087ad into lambdamusic:master Sep 22, 2021
@lambdamusic
Copy link
Owner

Thanks

@ajnelson-nist ajnelson-nist deleted the update_rdflib_jsonld_dependency branch October 1, 2021 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants