aviabird / gringotts

A complete payment library for Elixir and Phoenix Framework
https://hexdocs.pm/gringotts/Gringotts.html
MIT License
481 stars 53 forks source link

Can't install due to outdated "decimal" dependency #192

Closed alexgleason closed 1 year ago

alexgleason commented 3 years ago

I tried adding Gringotts to my project, but it requires decimal 1.0 while newer Postgrex requires at least 1.5. This will likely affect all new Phoenix projects.

Resolving Hex dependencies...

Failed to use "decimal" because
  gringotts (version 1.1.0) requires ~> 1.0 *
  jason (version 1.2.2) requires ~> 1.0 or ~> 2.0 *
  money (version 1.8.0) requires ~> 1.0 or ~> 2.0 *
  postgrex (version 0.15.7) requires ~> 1.5 or ~> 2.0 *
  mix.lock specifies 2.0.0

* This requirement does not match pre-releases. To match pre-releases include a pre-release in the requirement, such as: "~> 2.0-beta".

** (Mix) Hex dependency resolution failed, change the version requirements of your dependencies or unlock them (by using mix deps.update or mix deps.unlock). If you are unable to resolve the conflicts you can try overriding with {:dependency, "~> 1.0", override: true}
pkrawat1 commented 1 year ago

Should be fixed now on latest release