MilosMosovsky / terminator

🛡 Modern elixir ACL/ABAC library for managing granular user abilities and permissions
https://hexdocs.pm/terminator/
62 stars 12 forks source link

(Mix) Hex dependency resolution failed (postgrex version conflict) #4

Open ghost opened 2 years ago

ghost commented 2 years ago

I'm getting this issue when trying to install {:terminator, "~>0.5.2"}

Resolving Hex dependencies...

Failed to use "postgrex" (version 0.16.2) because ecto_sql (version 3.7.2) requires ~> 0.15.0 or ~> 0.16.0 or ~> 1.0 terminator (version 0.5.2) requires ~> 0.14.1 mix.lock specifies 0.16.2

elixir -v: 1.13.1

KristerV commented 1 year ago

yeah. i guess this library is unusable. too bad, looks comprehensive. i don't dare try fix this myself :D

➜ boocs master ✓ mix deps.get
Resolving Hex dependencies...
Resolution completed in 0.657s
Because oban >= 2.14.0 depends on postgrex ~> 0.16 and terminator >= 0.1.3 depends on postgrex ~> 0.14.1, oban >= 2.14.0 is incompatible with terminator >= 0.1.3.
And because your app depends on oban ~> 2.14, terminator >= 0.1.3 is forbidden.
So, because your app depends on terminator ~> 0.5.2, version solving failed.
** (Mix) Hex dependency resolution failed