Comments (10)
they depend on each other as some of their features require the other lib...
pip will resolve this dependency when installing, resulting in both packages to be installed no matter which one you want.
not sure if this makes sense, but we're always open to suggestions ;)
from sparqlwrapper.
That is OK for local installation using pip. But conda (and other packaging systems) do not allow downloads during build time. I am trying to get in touch with linux packagers to see how they work around that.
I am not sure what is the best way to go, never saw a circular (hard) dependency before. As for soft dependencies, a simple patch removing it would be sufficient.
from sparqlwrapper.
My 2 cents: Stop (falsely) treating them as separate packages. Make a clean break and combine them into a single source tree. Alternative: when I've had this issue in Java, I would abstract out interfaces to depend on, then use dependency injection in initialization.
from sparqlwrapper.
This is related to RDFLib/rdflib#391.
from sparqlwrapper.
yupp... do we want to keep the discussion there?
Thing is that until now no one stepped ahead pulling out functionality into something like rdflib-core and it's probably not that small a change at all :-/
from sparqlwrapper.
@joernhees up to you. Feel free to close this issue. I am following RDFLib/rdflib#391 now.
As a packager I believe that the current approach is broken. No packaging system allows "free will" for pip to download while creating the binaries. I investigated how some Linux distros did it and I found out that, earlier versions of rdflib and sparqlwrapper did not have the circular dependency issue, so they had a version of each other to download when the upgrade happened.
from sparqlwrapper.
ok, closing this in favor of RDFLib/rdflib#391
from sparqlwrapper.
Do you mean RDFLib/rdflb#391?
-- Sent from my phone. Please forgive brevity.
From: JΓΆrn Heesmailto:[email protected]
Sent: β10/β27/β2014 10:58 AM
To: RDFLib/sparqlwrappermailto:[email protected]
Cc: Dale Vissermailto:[email protected]
Subject: Re: [sparqlwrapper] Possible circular dependecy (#46)
ok, closing this in favor of RDFLib/rdflib#39
Reply to this email directly or view it on GitHub:
#46 (comment)
from sparqlwrapper.
;) thx, changed
from sparqlwrapper.
I guess I arrived too late to this thread(s)...
Would help to move RDFLib to extras_require
also here?
from sparqlwrapper.
Related Issues (20)
- Next Release? HOT 20
- Introduce Lint tools
- Convert SPARQLWrapper.SmartWrapper to pandas dataframe HOT 6
- Removing https://rdflib.github.io/sparqlwrapper HOT 4
- Documentation format HOT 4
- using "describe" in a comment leads to error HOT 12
- Organize old PRs/Issues
- Make tests faster and more reliable.
- TLS changes in Python 3.10, insecure endpoint
- Allow earlier versions of rdflib HOT 2
- Test failures probably due to remote service issues
- Cannot install with conda for Python >=3.10 HOT 2
- QueryBadFormed: A bad request has been sent to the endpoint
- WikiData Not Returning CSV HOT 1
- Can't use SPARQLWrapper in nix-shell (somewhat OT)
- AWS Signature Version 4 Authentication Support HOT 2
- Align query result types with rdflib
- Unable to query the rdf:type HOT 3
- 405 (Method not allowed) for SELECT QUERY with # street address in comment HOT 2
- GraphDB 10.2.2: b'Missing parameter: query' on INSERT HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sparqlwrapper.