Skip to content

Conversation

shajmakh
Copy link
Member

go mod tidy automatically updates the Go directives to point to the minimum golang version that is required by the dependencies. Ideally this should run on every update that involves go.mod updates.

oauth2 v0.27.0 requires at least Go v1.23 hence runnig go mod tidy would automatically bump Go directive and toolchain to the minimum Go version needed, v1.23. This conflicts with openshift conventions of dependencies for related containers.

The bump to v0.27 was originally done in
#1211
but didn't have the bump of Go directive.
Since we want to proceed with 1.22 for 4.18 we want to downgrade oauth2 version to v0.26 at most while preserving goal of
a553b30 as v0.26 needs at least Go 1.18 https://github.com/golang/oauth2/blob/v0.26.0/go.mod which in turn will preserve the current Go v1.22 for 4.18.

`go mod tidy` automatically updates the Go directives to point to the
minimum golang version that is required by the dependencies. Ideally
this should run on every update that involves `go.mod` updates.

oauth2 v0.27.0 requires at least Go v1.23 hence runnig `go mod tidy`
would automatically bump Go directive and toolchain to the minimum Go
version needed, v1.23. This conflicts with openshift conventions of
dependencies for related containers.

The bump to v0.27 was originally done in
 openshift-kni#1211
but didn't have the bump of Go directive.
Since we want to proceed with 1.22 for 4.18 we want to downgrade oauth2
version to v0.26 at most while preserving goal of
openshift-kni@a553b30
as v0.26 needs at least Go 1.18 https://github.com/golang/oauth2/blob/v0.26.0/go.mod which
in turn will preserve the current Go v1.22 for 4.18.

Signed-off-by: Shereen Haj <[email protected]>
Copy link
Contributor

Caution

There are some errors in your PipelineRun template.

PipelineRun Error
numaresources-operator-digest-mirror-set no kind "ImageDigestMirrorSet" is registered for version "operator.openshift.io/v1alpha1" in scheme "k8s.io/client-go/kubernetes/scheme/register.go:83"

@openshift-ci openshift-ci bot requested review from swatisehgal and Tal-or July 14, 2025 14:10
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 14, 2025
Copy link
Member

@ffromani ffromani left a comment

Choose a reason for hiding this comment

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

/approve
/lgtm

thanks!

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jul 15, 2025
Copy link
Contributor

openshift-ci bot commented Jul 15, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ffromani, shajmakh

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

@openshift-merge-bot openshift-merge-bot bot merged commit 29246ff into openshift-kni:release-4.18 Jul 15, 2025
17 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants