build: remove patch version pinning on go directive#1784
Merged
jamietanna merged 1 commit intomainfrom Sep 28, 2024
Merged
Conversation
go directive
f1748cd to
fd7ca65
Compare
Originally added in f77bd7b, we wanted to pin the version to ensure that we were targeting the latest version of Go 1.21. However, there's no real value here, and as noted in [0] it can be causing issues for some users. There's nothing explicitly in Go 1.21.x that we need to pin to, just that we need support for Go 1.21, so we can use Speakeasy's `openapi-overlay` library. Therefore we can relax the patch-version requirement, which will alleviate issues for consumers. This makes sure that we have _at a minimum_ a version of Go 1.21, and makes `go mod tidy` happy. [0]: osbuild/image-builder-crc#1352
fd7ca65 to
43d20e0
Compare
go directivego directive
Contributor
|
Thanks a bunch, I really appreciate this. To give some context for readers of this, most project maintainers do not take enterprise into account where the pace is a tiny bit slower. Of course, major security upgrades are fast but minors are not rolled out that often. In my case, ubi9 golang toolset was upgraded a day after our conversation and it is now on 1.21.13 so it was about two months late. Our pipelines are strictly ubi-based. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Originally added in f77bd7b, we wanted
to pin the version to ensure that we were targeting the latest version
of Go 1.21.
However, there's no real value here, and as noted in 0 it can be
causing issues for some users.
There's nothing explicitly in Go 1.21.x that we need to pin to, just
that we need support for Go 1.21, so we can use Speakeasy's
openapi-overlaylibrary.Therefore we can relax the patch-version requirement, which will
alleviate issues for consumers.