timbre

2018-01-29T19:58:58.000819Z

I keep getting dependency errors involving encore when trying to use timbre with codax(https://github.com/dscarpetti/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 <http://goo.gl/qBbLvC> 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?

2018-01-29T20:00:38.000471Z

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

tanzoniteblack 2018-01-29T20:05:12.000833Z

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

tanzoniteblack 2018-01-29T20:05:47.000405Z

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"

2018-01-29T20:11:10.000419Z

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

tanzoniteblack 2018-01-29T20:13:33.000392Z

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