rrrene / credo

A static code analysis tool for the Elixir language with a focus on code consistency and teaching.
http://credo-ci.org/
MIT License
4.91k stars 414 forks source link

Dependency divergence on compile #1134

Closed fmarigarcia closed 3 weeks ago

fmarigarcia commented 3 months ago

Environment

What were you trying to do?

Run our scheduler app: mix run --no-halt

Expected outcome

App running correctly

Actual outcome

Unchecked dependencies for environment dev:

  • jason (Hex package) the :only option for dependency jason

    In /elixir/deps/credo/mix.exs: {:jason, "~> 1.1", [env: :prod, hex: "jason", repo: "hexpm", optional: false]}

    does not match the :only option calculated for

    In /elixir/deps/goth/mix.exs: {:jason, "~> 1.1", [env: :prod, hex: "jason", repo: "hexpm", optional: false]}

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

rrrene commented 3 months ago

I am not sure what the "problem" is ...

Goth has a requirement for :jason of ~> 1.1 and :credo of ~1.0 ...

Excuse my ignorance, but what is it you are asking us to do?

rrrene commented 3 weeks ago

I apologize for the age/inactivity on this issue. I should have done a better job at resolving this properly. 😥

Please feel free to re-open this issue at your discretion.