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

dependency conflict when updating containerd-shim-wasm to v0.8.0 #244

Open
Mossaka opened this issue Dec 5, 2024 · 3 comments
Open

dependency conflict when updating containerd-shim-wasm to v0.8.0 #244

Mossaka opened this issue Dec 5, 2024 · 3 comments

Comments

@Mossaka
Copy link
Member

Mossaka commented Dec 5, 2024

There is a dependency version conflict for tokio between containerd-shim-wasm v0.8.0 and opentelemetry-otlp v0.25.0 (via spin-telemetry).

Error messages

 cargo build
    Updating crates.io index
error: failed to select a version for `tokio`.
    ... required by package `opentelemetry-otlp v0.25.0`
    ... which satisfies dependency `opentelemetry-otlp = "^0.25"` of package `spin-telemetry v3.0.0 (https://github.com/fermyon/spin?tag=v3.0.0#737778e9)`
    ... which satisfies git dependency `spin-telemetry` (locked to 3.0.0) of package `containerd-shim-spin-v2 v0.17.0 (/home/mossaka/developer/containerd-shim-spin/containerd-shim-spin)`
versions that meet the requirements `~1.38.0` are: 1.38.1, 1.38.0

all possible versions conflict with previously selected packages.

  previously selected package `tokio v1.41.1`
    ... which satisfies dependency `tokio = "^1.41.1"` of package `containerd-shim-wasm v0.8.0`
    ... which satisfies dependency `containerd-shim-wasm = "^0.8.0"` of package `containerd-shim-spin-v2 v0.17.0 (/home/mossaka/developer/containerd-shim-spin/containerd-shim-spin)`

Actions

We need to wait for the next Spin release to include this change that removes the tokio pin.

@kate-goldenring
Copy link
Collaborator

@Mossaka I think this should be resolved by bumping dependencies to Spin v3.1.1.

@kate-goldenring
Copy link
Collaborator

@Mossaka do you have a working PR for this? @fibonacci1729 is bumping to latest runwasi for his component dependencies changes and wants to make sure his changes can build off your progress here

@Mossaka
Copy link
Member Author

Mossaka commented Jan 8, 2025

No, I don't

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

2 participants