Dependencies
joeyfironsrc opened this issue · comments
defp deps do
[
{:meck, github: "eproxus/meck", tag: "0.8.2", override: true},
{:edown, github: "uwiger/edown", tag: "0.7", override: true},
{:lager, github: "basho/lager", tag: "2.1.0", override: true},
{:exometer, github: "pspdfkit-labs/exometer"},
{:netlink, github: "Feuerlabs/netlink", ref: "d6e7188e", override: true},
]
end
The overrides gives me some problem when compiling with other packages (like erlcloud for example).
I get "different specs were given for the meck app".
I'll see if I can remove them; I think lager was being rude and I had to override them. You can also set overrides in your mix.exs to temporarily solve the problem.
@joelfperion I've tried removing the overrides and can't get things to compile. It's basically because exometer_core uses 2.0.3
of Lager, which creates a bit of dependency hell.
I think overrides in your mix.exs are the only option (other than getting exometer to update its version of Lager), and I don't control that.
Well thanks for giving it a shot. I will override on my mix file.
@joelfperion, I can open an issue on exometer_core to bump the lager version. We've been using it successfully with lager 2.1.0 for over a year in production.
Thanks for opening the issue.
I'm going to close this in favor of #88, which tracks high-level progress toward upgrading our exometer_core
dependency. That will remove our dependency on lager entirely, which will hopefully allow us to move forward with a clean hex.pm release.