Prepare go version bump to 1.25#829
Open
cbosdo wants to merge 4 commits into
Open
Conversation
cbosdo
force-pushed
the
go-bump
branch
5 times, most recently
from
July 21, 2026 18:28
0d57f2e to
d7218a7
Compare
Contributor
Author
Changing the go.mod version to 1.25.0 fails the build for older distros like Debian 13 or Ubuntu 24.04. In order to still build for them, the mingo_build changes the go.mod of the fly. The spec file has also been adjusted for a similar hack. So, the code needs to build on 1.25.0, but not use features introduced after go1.19 to still build on Debian 12. The minimum go version will be raised as those distros become end of life
Go 1.25 is more picky about those: fix them all.
|
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.



What does this PR change?
Go 1.24+ already have a few additional checks that will become mandatory in 1.25. Let's prepare the bump before it's too late.
Test coverage
No tests: already covered
DONE
Links
Issue(s): #
Changelogs
Make sure the changelogs entries you are adding are compliant with https://github.com/uyuni-project/uyuni/wiki/Contributing#changelogs and https://github.com/uyuni-project/uyuni/wiki/Contributing#uyuni-projectuyuni-repository
If you don't need a changelog check, please mark this checkbox:
If you uncheck the checkbox after the PR is created, you will need to re-run
changelog_test(see below)Before you merge
Check How to branch and merge properly!