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

Incompatibility betweeen opentelemetry_oban and opentelemetry_bandit #428

Open
michelboaventura opened this issue Dec 11, 2024 · 3 comments · May be fixed by #435
Open

Incompatibility betweeen opentelemetry_oban and opentelemetry_bandit #428

michelboaventura opened this issue Dec 11, 2024 · 3 comments · May be fixed by #435
Labels
bug Something isn't working

Comments

@michelboaventura
Copy link

Describe the bug
I have this on my mix.exs

{:opentelemetry, "~> 1.3"},
{:opentelemetry_api, "~> 1.2"},
{:opentelemetry_bandit, "~> 0.2"},
{:opentelemetry_ecto, "~> 1.2"},
{:opentelemetry_exporter, "~> 1.6"},
{:opentelemetry_oban, "~> 1.1"}

Then when I run mix deps.get I'm getting (formatted for better reading):

Resolving Hex dependencies...
Resolution completed in 0.471s
Because opentelemetry_bandit >= 0.2.0-rc.1 depends on opentelemetry_semantic_conventions ~> 1.27 and
opentelemetry_oban >= 1.1.0 depends on opentelemetry_semantic_conventions ~> 0.2,
opentelemetry_bandit >= 0.2.0-rc.1 is incompatible with opentelemetry_oban >= 1.1.0.
And because your app depends on opentelemetry_bandit ~> 0.2, opentelemetry_oban >= 1.1.0 is forbidden.
So, because your app depends on opentelemetry_oban ~> 1.1, version solving failed.
** (Mix) Hex dependency resolution failed

Expected behavior
I'd like to use both bandit and oban at the same time.

@michelboaventura michelboaventura added the bug Something isn't working label Dec 11, 2024
@anthonator
Copy link

We're seeing the same issue between opentelemtry_cowboy and opentelemetry_oban.

Because opentelemetry_cowboy >= 1.0.0-rc.1 depends on opentelemetry_semantic_conventions ~> 1.27 and
opentelemetry_oban >= 1.1.0 depends on opentelemetry_semantic_conventions ~> 0.2,
opentelemetry_cowboy >= 1.0.0-rc.1 is incompatible with opentelemetry_oban >= 1.1.0.
And because your app depends on opentelemetry_cowboy 1.0.0, opentelemetry_oban >= 1.1.0 is forbidden.
So, because your app depends on opentelemetry_oban 1.1.1, version solving failed.

@bryannaegele
Copy link
Collaborator

{:opentelemetry_semantic_conventions, "~> 1.27", override: true}

@danschultzer
Copy link

I’ve opened this PR to resolve this: #435

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants