drewolson / scrivener

Pagination for the Elixir ecosystem

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Version 2.7.1 breaks compilation project because ex_doc

alexcastano opened this issue · comments

After upgrading from version 2.7.0 to version 2.7.1 we have the following compilation error:

Dependencies have diverged:
* ex_doc (Hex package)
  the :only option for dependency ex_doc

  > In mix.exs:
    {:ex_doc, "~> 0.22", [env: :prod, repo: "hexpm", hex: "ex_doc", only: :dev, runtime: false]}

  does not match the :only option calculated for

  > In deps/scrivener/mix.exs:
    {:ex_doc, ">= 0.0.0", [env: :prod, hex: "ex_doc", repo: "hexpm", optional: false]}

  Remove the :only restriction from your dep
** (Mix) Can't continue due to errors on dependencies

It seems it didn't like this change: https://diff.hex.pm/diff/scrivener/2.7.0..2.7.1#84732810-30-

Thank you for your time!

Mixed in 2.7.2, apologies.