Re: Handling dependency conflicts

2017-03-17 Thread arthur
Daniel, I'll check out OSGi (you might be right about the cure being worse). I think Java 9 modules were originally supposed to include versioning as well, but currently "The State of the Module System" says "A module’s declaration does not include a version string, nor constraints upon th

Re: Handling dependency conflicts

2017-03-16 Thread Daniel Compton
One option to help with this is OSGi which does have support in Clojure. https://github.com/talios/clojure.osgi As Stuart alluded to in his message, the cure to dependency conflicts (OSGi) may be worse than the disease. I’d guess that the venn diagram of people using both Clojure and OSGi is prett

Re: Handling dependency conflicts

2017-03-16 Thread arthur
Howard, thanks for posting that library. I've passed on the info to some of the other developers at work. That kind of tool is highly valuable, I'll likely start using it soon. Gary, the MrAnderson approach sounds similar to shading; I'll take a look today. Stuart, the most common approach boi

Re: Handling dependency conflicts

2017-03-14 Thread Howard Lewis Ship
We have some very, very complex projects that bring in boat-loads of dependencies, some of which will have version conflicts, if left unchecked. I've created a Leiningen plugin, vizdeps, to make it easier to see the artifact tree, identify and repair conflicts, and determine why any particular art

Re: Handling dependency conflicts

2017-03-13 Thread Stuart Sierra
This is a well-known problem in the JVM world, not just Clojure. The most common approach is: Always use the latest versions, and don't break backwards-compatibility. Most open-source Java and Clojure libraries are careful about not breaking backwards-compatibility. So in general, you're safe c

Re: Handling dependency conflicts

2017-03-13 Thread Gary Trakhman
MrAnderson is one possible answer to the question, it's used in CIDER: https://github.com/benedekfazekas/mranderson On Mon, Mar 13, 2017 at 4:13 PM wrote: > Hello All, > > > I have a general inquiry regarding conflicting dependencies in > Clojure projects and how they affect applications at

Handling dependency conflicts

2017-03-13 Thread arthur
Hello All, I have a general inquiry regarding conflicting dependencies in Clojure projects and how they affect applications at runtime. I believe this is a common problem faced by many languages in this day and age where we try not to reinvent the wheel by depending on the work of others.