Great Boris. You can bump the dependency from rdflib>5.0.0 to rdflib>=6.0.0!
If you want to add this to the RDFlib family of repositories, like your pyTARQL, please let me know and I'll create a repo for you. If you do though, could you convert to a BSD 3-clause license? That would keep the license the same as the main RDFlib license. and preferably the same change for pyTARQL! Thanks, Nick On Thu, Aug 5, 2021 at 6:55 AM Boris Pelakh <pel...@gmail.com> wrote: > I have the initial skeleton built ( > https://github.com/sa-bpelakh/sparql-endpoint-fixture), but ran into an > issue with requests_mock (see > https://stackoverflow.com/questions/68655684/mocked-urls-not-being-forward-to-handler-when-using-requests-mock-in-another-fix). > I will continue on it as I get bandwidth, still need to add the graph > protocol functionality as well as figure out how to inject > externally-provided 'from <graph>' and 'from named <graph>' into queries. > > On Tuesday, August 3, 2021 at 6:54:18 AM UTC-4 > nichol...@surroundaustralia.com wrote: > >> Hi Boris, I have not done this but I think it would be a very handy thing >> to have, so count me in on assisting with rebuilding, if noone has one to >> directly reuse. >> >> Nick >> >> On Tue, Aug 3, 2021 at 12:23 AM Boris Pelakh <pel...@gmail.com> wrote: >> >>> I wrote once a pytest fixture >>> <https://docs.pytest.org/en/6.2.x/fixture.html> that intercepted HTTP >>> requests and emulated a SPARQL endpoint for use in unit tests using an >>> in-memory RDFLIB Graph. Unfortunately that code is no longer accessible >>> (buried inside a proprietary app), and before I reproduced the work, I was >>> wondering if anyone else has created a similar beast. >>> >>> -- >>> http://github.com/RDFLib >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "rdflib-dev" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to rdflib-dev+...@googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/rdflib-dev/711590fb-b2c9-42dc-a5a1-cd68860ee335n%40googlegroups.com >>> <https://groups.google.com/d/msgid/rdflib-dev/711590fb-b2c9-42dc-a5a1-cd68860ee335n%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- > http://github.com/RDFLib > --- > You received this message because you are subscribed to the Google Groups > "rdflib-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to rdflib-dev+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rdflib-dev/e9e4866d-61a0-4203-92a9-1403552a075an%40googlegroups.com > <https://groups.google.com/d/msgid/rdflib-dev/e9e4866d-61a0-4203-92a9-1403552a075an%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- http://github.com/RDFLib --- You received this message because you are subscribed to the Google Groups "rdflib-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to rdflib-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rdflib-dev/CAP7nqh2t8dY%3DUd_bLYJ5Q8uNHSKng-NovcqFti-EXtkmCj2%3DJg%40mail.gmail.com.