Skip to content

Update various dependencies#138

Merged
stefanberger merged 3 commits into
containers:mainfrom
mtrmac:deps
May 27, 2026
Merged

Update various dependencies#138
stefanberger merged 3 commits into
containers:mainfrom
mtrmac:deps

Conversation

@mtrmac
Copy link
Copy Markdown
Contributor

@mtrmac mtrmac commented May 25, 2026

  • Update most dependencies, primarily to run CI against relevant versions (because downstream consumers will probably use the newer versions due to fresher version requirements in other packages).
  • Migrate from unmaintained gopkg.in/yaml.v3. The replacement is a direct continuation, should be non-invasive
  • Regenerate the protobuf code to avoid using a deprecated module.

Note the Go bump to 1.25 — but the CI is no longer testing 1.24 either.

Warning: I know very little about Protobuf / GRPC. AFAICT the change of the implementation should not affect the wire format, but my testing was limited to “do tests still pass”.

mtrmac added 3 commits May 22, 2026 00:53
Many are over a year old. Sure, that can be
(and is being) handled in downstream consumers,
but running the library's tests against the more
relevant implementations is valuable in itself.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
github.com/stretchr/testify still imports the old one, but
that is test-only and will not cause that YAML version to be
included in binaries of consumers of this library.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
…ng/protobuf

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Luap99 pushed a commit to containers/container-libs that referenced this pull request May 26, 2026
Almost a year ago, we were waiting for a hopefully-imminent /v4
to migrate. That's still not happened, so move now.

The remaining users are ocicrypt, which will be fixed by
containers/ocicrypt#138 , and
testify, which is test-only.

Fixes #187 .

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
@stefanberger
Copy link
Copy Markdown
Collaborator

Warning: I know very little about Protobuf / GRPC. AFAICT the change of the implementation should not affect the wire format, but my testing was limited to “do tests still pass”.

Same here. But from what I can see with my testing with imgcrypt it looks good. I will merge this soon.

@stefanberger stefanberger merged commit c03ceaa into containers:main May 27, 2026
5 checks passed
@mtrmac mtrmac deleted the deps branch May 27, 2026 16:33
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

Successfully merging this pull request may close these issues.

2 participants