Open ajnelson-nist opened 2 years ago
But are they valid URIs? It is possible to disable logging per logger, and I think their is some hierarchical behavior here, so it should not be that difficult to disable these warnings. I'm busy with work on our test suite and actually conformance with the test suite requires us not parsing invalid URIs at all, so we are already more lenient than we should be, I think warnings for invalid URIs are reasonable.
oh wait, I think I completely missed your point :D - this should indeed be addressed.
No worries, it took me a second to eyeball the whitespace.
From what I'm seeing, it looks like some generative code is being misparsed. The snippet https://brickschema.org/schema/Brick#AED = does not look like a valid URI
looks a bit like what's being parsed as an IRI is https://brickschema.org/schema/Brick#AED =
.
One line to reproduce:
pipx run --spec git+https://github.com/RDFLib/rdflib.git@master#egg=rdflib python -c 'import rdflib; help(rdflib)'
We have the same issue. Can you maybe tell me about the status of the related PR?
I tried, using today's
master
branch (a3a46114
), to view the help menu after installingrdflib
into a fresh virtual environment. I was quickly overrun with warnings, such as:Steps to reproduce:
import rdflib
help(rdflib)