Skip to content

build: remove patch version pinning on go directive #1784

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

Merged
merged 1 commit into from
Sep 28, 2024

Conversation

jamietanna
Copy link
Member

@jamietanna jamietanna commented Sep 28, 2024

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.

@jamietanna jamietanna requested a review from a team as a code owner September 28, 2024 10:32
@jamietanna jamietanna changed the title defect/toolchain chore: remove patch version pinning on go directive Sep 28, 2024
@jamietanna jamietanna added the chore Any maintenance tasks that are regular, not as important to call out in the changelog label Sep 28, 2024
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
@jamietanna jamietanna changed the title chore: remove patch version pinning on go directive build: remove patch version pinning on go directive Sep 28, 2024
@jamietanna jamietanna merged commit 9c09ef9 into main Sep 28, 2024
34 checks passed
@jamietanna jamietanna deleted the defect/toolchain branch September 28, 2024 10:37
@lzap
Copy link
Contributor

lzap commented Sep 28, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Any maintenance tasks that are regular, not as important to call out in the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy