Upgrade dependency to avoid license conflicts #313
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Background
Hello containerd team 👋
We are working on adding more resource guardrails into the Weaviate vector database, and in doing so need to read cgroup limits. Your library here is amazing, and exactly what we need. Unfortunately, we are having license compliance issues by depending on it.
Cgroups currently depends directly on ebpf v0.9.1. In this version of ebpf, this extract-vmlinux file was added to the repository, which contains a
GPL-2.0-only
clause, which is incompatible with our license compliance guidelines.The good news is, that with v0.11.0, ebpf removed this file, for similar license conflicts (commit message for the change in their repo):
Changes
This PR bumps the ebpf version from v0.9.1 -> v0.11.0 to avoid license compliance issues based on a single file in ebpf, which was introduced in v0.9.1, and removed in v0.11.0.
Tests
The patch has been verified by running tests locally on an Ubuntu (20.04 LTS) VM:
Contribution Guidelines
I have read your guidelines, and I have done my best to comply with them. If there is still something which needs to be done, I'm happy to do so.