Closed eggplants closed 2 years ago
nose
is not working in Python 3.10 due to AttributeError: module 'collections' has no attribute 'Callable'
.
Maybe it has been not maintained since 2016: https://github.com/nose-devs/nose
nose
is not working in Python 3.10 due toAttributeError: module 'collections' has no attribute 'Callable'
.
yes we did a huge overhaul on the main repo (https://github.com/RDFLib/rdflib) - will have to do same here.
For continued development, I think we need to replace nosetests with pytests.
that is what we did in https://github.com/RDFLib/rdflib - any PRs to do the same here will be welcome.
I have just changed testing tool from nose to unittest.
𝙍𝙚𝙖𝙙𝙮 𝙛𝙤𝙧 𝙧𝙚𝙫𝙞𝙚𝙬…
@eggplants so are you saying that if you reject those changes proposed by @aucampia and keep using unittest instead of nose then everything works fine? If so, we should stick with unittest here for now? I'm happy with that.
@nicholascar Yes. It looks like the tests under test/
was written in such a way that it was ok to use unittest instead of nose.
OK, well then let's merge in now and see if the actions work nicely. So I'll merge and we should put in another small PR after this one to test things out.
Looking at failure on master now, will make a PR to fix shortly.
.travis.yml
.github/workflows/test.yml
Test run: https://github.com/eggplants/sparqlwrapper/actions/runs/1651950750