Skip to content

Incompatible with Ecto 3.5.5 #85

@kmacdough

Description

@kmacdough

Adding dependency {timex_ecto: "~> 3.0.0"} creates a dependency conflict:

Failed to use "ecto" (version 3.5.5) because
  ecto_sql (version 3.5.3) requires ~> 3.5.0
  phoenix_ecto (version 4.2.1) requires ~> 3.0
  timex_ecto (versions 3.2.1 to 3.4.0) requires ~> 2.2
  mix.lock specifies 3.5.5

Attempting to bypass this conflict with {ecto: "~> 3.5.5", override: true} generates the following error:

== Compilation error in file lib/types/date.ex ==
** (CompileError) lib/types/date.ex:58: Ecto.Date.__struct__/0 is undefined, cannot expand struct Ecto.Date. Make sure the struct name 
is correct. If the struct name exists and is correct but it still cannot be found, you likely have cyclic module usage in your code    
    lib/types/date.ex:58: (module)
could not compile dependency :timex_ecto, "mix compile" failed. You can recompile this dependency with "mix deps.compile timex_ecto", update it with "mix deps.update timex_ecto" or clean it with "mix deps.clean timex_ecto"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions