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

go.mod: Update go version to 1.21 #427

Merged
merged 1 commit into from
May 1, 2024

Conversation

RamLavi
Copy link
Member

@RamLavi RamLavi commented May 1, 2024

What this PR does / why we need it:
The current version 1.19 is causing make generate to fail on format issue.
Updating to 1.21.
Also updating the deepcopy-gen flags as the older ones are no longer supported.

Special notes for your reviewer:

Release note:

NONE

@@ -1,6 +1,6 @@
module github.com/k8snetworkplumbingwg/kubemacpool

go 1.19
go 1.21.9
Copy link
Member

Choose a reason for hiding this comment

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

Thanks, did you run make vendor ?
asking because iirc a toolchain would be added once you do
but on the other hand i guess you did

Copy link
Member Author

Choose a reason for hiding this comment

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

did not. will do now

Copy link
Member Author

@RamLavi RamLavi May 1, 2024

Choose a reason for hiding this comment

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

FYI I ran it now, but the toolchain thing was not added. Maybe it's only on 1.22+?

Copy link
Member

Choose a reason for hiding this comment

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

maybe ye, anyhow once you ran we are good
(worth to add make vendor on CI unit tests on a followup)

Copy link
Member

Choose a reason for hiding this comment

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

btw seems it is from 1.21
https://go.dev/doc/toolchain
not sure why it is not added, but we will figure in the future, doesn't matter as long as everything works

The current version 1.19 is causing `make generate` to fail on format
issue.
Updating to 1.21.
Also updating the deepcopy-gen flags as the older ones are no longer
supported.
Also run make vendor.

Signed-off-by: Ram Lavi <[email protected]>
@RamLavi
Copy link
Member Author

RamLavi commented May 1, 2024

/cherry-pick release-0.43

@kubevirt-bot
Copy link
Collaborator

@RamLavi: once the present PR merges, I will cherry-pick it on top of release-0.43 in a new PR and assign it to you.

In response to this:

/cherry-pick release-0.43

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/test-infra repository.

@RamLavi
Copy link
Member Author

RamLavi commented May 1, 2024

/approve

@kubevirt-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: RamLavi

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubevirt-bot kubevirt-bot merged commit b46ad98 into k8snetworkplumbingwg:main May 1, 2024
5 checks passed
@kubevirt-bot
Copy link
Collaborator

@RamLavi: new pull request created: #429

In response to this:

/cherry-pick release-0.43

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/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants