Sometimes when adding a dependency, you get an older version of ring
Repro
Edit the example project of sente by adding bidi as a dependency:
[bidi "2.1.3"]
Now when you run the example with lein start you get Assert failed: (every? valid-attr? attrs).
lein deps :tree reveals that bidi brought in an older version of ring.
Workaround
Prevent the older version from being brought in:
[bidi "2.1.3" :exclusions [ring/ring-core]]
It would be great if Sente could somehow raise a better exception, but I don't see a way to do that... I'm filing this issue just so that other people searching for it can find the cause.
Sometimes when adding a dependency, you get an older version of
ring
Repro
Edit the example project of sente by adding bidi as a dependency:
Now when you run the example with
lein start
you getAssert failed: (every? valid-attr? attrs)
.lein deps :tree
reveals that bidi brought in an older version ofring
.Workaround
Prevent the older version from being brought in:
It would be great if Sente could somehow raise a better exception, but I don't see a way to do that... I'm filing this issue just so that other people searching for it can find the cause.