hierarchical-namespaces icon indicating copy to clipboard operation
hierarchical-namespaces copied to clipboard

Unable to build with Go 1.22

Open erikgb opened this issue 1 year ago • 4 comments

While working on https://github.com/kubernetes-sigs/hierarchical-namespaces/pull/285, I notice that this project cannot be built with Go 1.22, so I had to install Go 1.21 to make any progress.

/help

erikgb avatar Mar 10 '24 11:03 erikgb

@erikgb: This request has been marked as needing help from a contributor.

Guidelines

Please ensure that the issue body includes answers to the following questions:

  • Why are we solving this issue?
  • To address this issue, are there any code changes? If there are code changes, what needs to be done in the code and what places can the assignee treat as reference points?
  • Does this issue have zero to low barrier of entry?
  • How can the assignee reach out to you for help?

For more details on the requirements of such an issue, please see here and ensure that they are met.

If this request no longer meets these requirements, the label can be removed by commenting with the /remove-help command.

In response to this:

While working on https://github.com/kubernetes-sigs/hierarchical-namespaces/pull/285, I notice that this project cannot be built with Go 1.22, so I had to install Go 1.21 to make any progress.

/help

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.

k8s-ci-robot avatar Mar 10 '24 11:03 k8s-ci-robot

I think a serious overhaul of dependencies in this project is required to fix this issue. That will also close a lot of reported vulnerabilities.

erikgb avatar Mar 10 '24 11:03 erikgb

I think a serious overhaul of dependencies in this project is required to fix this issue.

When #359 is merged, there should be pull requests submitted for that by Dependabot.

pjonsson avatar Mar 10 '24 23:03 pjonsson

Unfortunately it looks like there are some sizeable kubebuilder breaking changes that will require much more effort to get dependancies up to date. I'm working on finding some time/help with this effort.

rjbez17 avatar Feb 28 '25 15:02 rjbez17