Skip to content

build(deps): bump tags.cncf.io/container-device-interface from 0.8.1 to 1.0.0#11522

Merged
estesp merged 1 commit intomainfrom
dependabot/go_modules/tags.cncf.io/container-device-interface-1.0.0
Mar 19, 2025
Merged

build(deps): bump tags.cncf.io/container-device-interface from 0.8.1 to 1.0.0#11522
estesp merged 1 commit intomainfrom
dependabot/go_modules/tags.cncf.io/container-device-interface-1.0.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 10, 2025

Bumps tags.cncf.io/container-device-interface from 0.8.1 to 1.0.0.

Release notes

Sourced from tags.cncf.io/container-device-interface's releases.

specs-go/v1.0.0

What's Changed

Full Changelog: cncf-tags/container-device-interface@specs-go/v0.8.0...specs-go/v1.0.0

v1.0.0

What's Changed

New Contributors

Full Changelog: cncf-tags/container-device-interface@v0.8.1...v1.0.0

Commits
  • 40e4c31 Merge pull request #260 from bart0sh/PR026-Bump-version-to-v1.0.0
  • 6784e01 Bump version to v1.0.0
  • a097fb1 Merge pull request #258 from elezar/document-release-process
  • 8aa91e1 Add RELEASE.md with steps to create a release
  • 3a09dd0 Merge pull request #257 from bart0sh/PR025-prepare-1.0.0
  • 2a62da8 Preparation for release 1.0.0
  • 012c8be Merge pull request #256 from klihub/fixes/codespell-release-branches
  • 842db48 .github: run codespell for release branches, too.
  • a582593 Merge pull request #254 from klihub/fixes/refresh-sigsegv-with-nil-watcher
  • 1de2560 pkg/cdi: add test case for post-EMFILE recovery.
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Mar 10, 2025
@github-project-automation github-project-automation bot moved this to Needs Triage in Pull Request Review Mar 10, 2025
@k8s-ci-robot
Copy link

Hi @dependabot[bot]. Thanks for your PR.

I'm waiting for a containerd member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@djdongjin
Copy link
Member

/ok-to-test

@estesp
Copy link
Member

estesp commented Mar 12, 2025

Kind of painful that CDI seems to rely on yaml v2 vs. v3 like the rest of containerd ecosystem. Wonder if we can get them to migrate to v3 so we don't have 2 complete versions of the yaml package imported.

@djdongjin
Copy link
Member

Kind of painful that CDI seems to rely on yaml v2 vs. v3 like the rest of containerd ecosystem. Wonder if we can get them to migrate to v3 so we don't have 2 complete versions of the yaml package imported.

@estesp based on this comment they explicitly choose v2 to avoid introducing a new dep (cncf-tags/container-device-interface#236 (comment))

However it seems CDI already had both v2/v3 as indirect dependencies before that change (https://github.com/cncf-tags/container-device-interface/pull/236/files#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6L20-L21), and yaml v2 and v3 have the same dependencies:

https://github.com/go-yaml/yaml/blob/v3.0.1/go.mod
https://github.com/go-yaml/yaml/blob/v2.4.0/go.mod

So my understanding is there shouldn't be difference for CDI to choose v3 or v2. Did I miss anything? @elezar

@estesp
Copy link
Member

estesp commented Mar 13, 2025

yeah, I guess my comment was mostly that we now have another 10k lines of vendored code, with that being the addition of the entire v2 yaml project, while we already have v3 vendored. I'm not sure it's a huge deal, but I happened to notice it.

Copy link
Member

@AkihiroSuda AkihiroSuda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Having multiple YAML libraries is annoying, but probably not a blocker to merge this

@github-project-automation github-project-automation bot moved this from Needs Triage to Review In Progress in Pull Request Review Mar 19, 2025
@AkihiroSuda AkihiroSuda requested a review from estesp March 19, 2025 07:49
@elezar
Copy link
Contributor

elezar commented Mar 19, 2025

So my understanding is there shouldn't be difference for CDI to choose v3 or v2. Did I miss anything? @elezar

@djdongjin that is correct. There should be no functional difference and we elected to stick with v2 at that stage because that was what was being imported by the sigs.k8s.io/yaml v1.3.0.

Note that the v3 dependency is due to the github.com/stretchr/testify/assert package bein used in tests.

We could look at released a v1.0.1 package that only bumps the YAML dependency, but I don't know whethere there are unforseen issues with this. Note that sigs.k8s.io/yaml v1.4.0 seems to have forked the v2 dependencies (or at least some subset of the functionality).

We have created https://github.com/cncf-tags/container-device-interface/pull/262/files to switch to v3.

Bumps [tags.cncf.io/container-device-interface](https://github.com/cncf-tags/container-device-interface) from 0.8.1 to 1.0.0.
- [Release notes](https://github.com/cncf-tags/container-device-interface/releases)
- [Changelog](https://github.com/cncf-tags/container-device-interface/blob/main/RELEASE.md)
- [Commits](cncf-tags/container-device-interface@v0.8.1...v1.0.0)

---
updated-dependencies:
- dependency-name: tags.cncf.io/container-device-interface
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/go_modules/tags.cncf.io/container-device-interface-1.0.0 branch from f871c4d to 6670d41 Compare March 19, 2025 15:25
@estesp estesp added this pull request to the merge queue Mar 19, 2025
Merged via the queue into main with commit 8d500ee Mar 19, 2025
58 checks passed
@github-project-automation github-project-automation bot moved this from Review In Progress to Done in Pull Request Review Mar 19, 2025
@dependabot dependabot bot deleted the dependabot/go_modules/tags.cncf.io/container-device-interface-1.0.0 branch March 19, 2025 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code ok-to-test size/XXL

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

5 participants