Skip to content

Conversation

@vemonet
Copy link

@vemonet vemonet commented Dec 21, 2022

Hi @raar1 , I upgraded the nanopub dependency to use >=2.0.0, which remove the need for java

I did not needed to make a lot of changes, the Nanopub publish is called only at 1 place. And nothing changes for the end users, apart for not needing java anymore

All tests pass, not 100% sure if everything goes as expected though, there are still some http://example.org/unpublished- steps in the final nanopubs sometimes, that's maybe normal, but you might want to have a check

I also brought changes similar to the one I made for the nanopub library to use pyproject.toml, hatch build backend, and pre-commit for the development workflow. Everything is described in the CONTRIBUTING.md

And I upgraded the rdflib dependency to >= 6.0.0

…make sure the files are properly formatted (similar to the nanopub package setup). Update nanopub dependency to 2.0.0 (no need for java anymore) and make the changes required. Update rdflib dependency to v6. Remove some mocks from the tests (mainly related to the NanopubClient used for publishing that is not used anymore for this purpose). Make some changes to the tests (mainly related to URIs not valid). All tests pass successfully on python3.9
…ful anymore. Move conftest.py in the tests/ folder
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.

1 participant