Git Product home page Git Product logo

Comments (10)

joernhees avatar joernhees commented on May 27, 2024

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.

ocefpaf avatar ocefpaf commented on May 27, 2024

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.

dwvisser avatar dwvisser commented on May 27, 2024

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.

niklasl avatar niklasl commented on May 27, 2024

This is related to RDFLib/rdflib#391.

from sparqlwrapper.

joernhees avatar joernhees commented on May 27, 2024

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.

ocefpaf avatar ocefpaf commented on May 27, 2024

@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.

joernhees avatar joernhees commented on May 27, 2024

ok, closing this in favor of RDFLib/rdflib#391

from sparqlwrapper.

dwvisser avatar dwvisser commented on May 27, 2024

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.

joernhees avatar joernhees commented on May 27, 2024

;) thx, changed

from sparqlwrapper.

wikier avatar wikier commented on May 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.