Fork me on GitHub

I keep getting dependency errors involving encore when trying to use timbre with codax( (which uses nippy 2.12.2)

(defproject test "0.1.0-SNAPSHOT"
  :dependencies [[org.clojure/clojure "1.9.0"]
                 [com.taoensso/timbre "4.10.0"]
                 [codax "1.2.0"]])
then tring to require timbre leads to:
CompilerException clojure.lang.ExceptionInfo: Insufficient `com.taoensso/encore` version. You may have a Leiningen dependency conflict (see  for solution). {:min-version "2.87.0", :your-version "2.68.0"}, compiling:(taoensso/timbre.clj:21:1) 
However I've tried a large combination of exclusions (excluding nippy from codax and requiring my own codax, explicitly requiring encore, etc) to no avail. Anyone know what I might be missing?


lein deps :tree doesn't show any versions of encore besides the one in timbre


@jjttjj when all else fails, you can just use a managed dependency (i.e. add :managed-dependencies [com.taoensso/encore "2.87.0"] to your project.clj)


not elegant, but tells lein something akin to "if you ever see this dependency, even transiently, just override the version with the one I tell you"


@tanzoniteblack thanks for the heads up about managed-dependencies, but i'm still getting the exact same error somehow


try running lein clean and make sure you don't have something historical screwing things up?