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

Conflicting dependencies with prometheus_ex #11

Open
ecly opened this issue Jul 31, 2018 · 5 comments
Open

Conflicting dependencies with prometheus_ex #11

ecly opened this issue Jul 31, 2018 · 5 comments

Comments

@ecly
Copy link

ecly commented Jul 31, 2018

Forgive me if there is a reason for this, but at the moment there is a dependency conflict for prometheus versions between prometheus_ex and prometheus_process_collector.

Following deps:
{:prometheus_ex, "~> 3.0.2"}
{:prometheus_process_collector, "~> 1.3.1"}

Results in:

Resolving Hex dependencies...

Failed to use "prometheus" (versions 4.0.0 to 4.2.0) because
prometheus_ex (version 3.0.2) requires ~> 4.0
prometheus_process_collector (version 1.3.1) requires ~> 3.4

For the time being i'll try overriding it to 4.0 and see if that works.

@deadtrickster
Copy link
Owner

yes, override will work

@ecly
Copy link
Author

ecly commented Jul 31, 2018

@deadtrickster I hadn't seen #10 - I guess that will solve it as well

@epinault
Copy link

@ecly what are the steps to override it?

@ecly
Copy link
Author

ecly commented Aug 14, 2018

@epinault throw the following in your mix.exs, causing all others deps depending on prometheus to use the following version:
{:prometheus, "~> 4.0", override: true}

@epinault
Copy link

ah thanks!

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

No branches or pull requests

3 participants