-
Notifications
You must be signed in to change notification settings - Fork 565
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
update setup.py to include requests needed by Graph.parse() #1123
Conversation
i piut this comment on #1122 See the direction (pip install rdflib[sparql]) , fair enough... but a few things seem off - there seems to be inconsistency between requirements.txt and setup.py (and not sure if this is a good thing to have similar info in both places anyway?) |
Unless something changed very recently in the internals (which my review of the commit logs suggests it did not), rdflib doesn't depend on requests for fetching http resources. |
the Here: rdflib/rdflib/plugins/sparql/evaluate.py Lines 316 to 318 in e4fe0fd
And here:
Both related to SPARQL. The first instance is invoked by the SPARQL The only reason you would need The correct solution here would be to take the requirement out of I've been experimenting with a way of eliminating the need for |
So the HTTP request from parse works fine without requests? If so good and the doco is fine. |
Ok, so we can close this I guess. |
Fixes #1122
Proposed Changes
updates setup.py
suggest reviewing requirements.txt and setup.py and syncing.