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.94k stars 419 forks source link

Dependency divergence on compile #1134

Closed fmarigarcia closed 3 months ago

fmarigarcia commented 6 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 5 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 months 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.