Skip to content

Remove github.com/gogo/protobuf and github.com/golang/protobuf from containerd's direct dependencies#6867

Merged
estesp merged 4 commits intocontainerd:mainfrom
kzys:remove-gogo
Apr 28, 2022
Merged

Remove github.com/gogo/protobuf and github.com/golang/protobuf from containerd's direct dependencies#6867
estesp merged 4 commits intocontainerd:mainfrom
kzys:remove-gogo

Conversation

@kzys
Copy link
Copy Markdown
Member

@kzys kzys commented Apr 27, 2022

This PR removes github.com/gogo/protobuf and github.com/golang/protobuf from containerd's direct dependencies. We are not using the former anymore and the latter is superseded by google.golang.org/protobuf.

While gogo isn't actually used, it is still referenced from .proto files
and its corresponding Go package is imported from the auto-generated
files.

Signed-off-by: Kazuyoshi Kato <[email protected]>
@k8s-ci-robot
Copy link
Copy Markdown

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Apr 27, 2022

Build succeeded.

Kazuyoshi Kato added 2 commits April 27, 2022 21:31
Signed-off-by: Kazuyoshi Kato <[email protected]>
Signed-off-by: Kazuyoshi Kato <[email protected]>
@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Apr 27, 2022

Build succeeded.

@kzys kzys marked this pull request as ready for review April 27, 2022 22:10
Copy link
Copy Markdown
Member

@estesp estesp left a comment

Choose a reason for hiding this comment

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

LGTM

@akhilerm
Copy link
Copy Markdown
Member

@dmcgowan Thoughts on backporting this change to 1.6 release? This came up while I was trying to fix proto failures in https://github.com/containerd/containerd/actions/runs/10555067168/job/29237977904?pr=10595. From go 1.22, the go get command cannot be used to fetch the modules. This change is already present in release/1.7 as part of this PR.

So wanted to know thoughts on removing the gogo direct dependency from release/1.6 also.

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.

5 participants