Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

relax ecto version constraint #25

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

NikitaNaumenko
Copy link

Make it possible to use Ecto higher version than 3.8.3

@chasers chasers mentioned this pull request Jun 11, 2023
@chasers
Copy link

chasers commented Jun 11, 2023

We need ecto 3.9.5+ for Erlang 26 it seems.

@scvalex
Copy link

scvalex commented Nov 22, 2023

I just ran into this in a new Phoenix project. It looks like the latest ecto_sql depends on ecto ~> 3.10.0, so adding etso to the project fails unless you downgrade ecto_sql.

Failed to use "ecto" (version 3.10.3) because
  ecto_sql (version 3.10.2) requires ~> 3.10.0
  etso (version 1.1.0) requires ~> 3.8.3
  phoenix_live_dashboard (version 0.8.3) requires ~> 3.6.2 or ~> 3.7
  mix.lock specifies 3.10.3

@scvalex
Copy link

scvalex commented Nov 22, 2023

In case anybody else runs into this, you can override the ecto version in mix.exs with the following. This applies to indirect dependencies as well, so it silences the above failure about ecto_sql and etso wanting different versions.

{:ecto, "~> 3.10.3", override: true},

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants