Hi there,
This is basically an updated copy/paste of my issue report that I made more than two weeks ago and got no response yet.
The latest version of the golang package depends on version of Fedora. Currently this versions matrix looks like the following:
Fedora version | golang version |
---|---|
Fedora Rawhide | 1.24.1-1.fc43 |
Fedora 42 | 1.24.1-1.fc42 |
Fedora 41 | 1.23.7-1.fc41 |
Fedora 40 | 1.22.12-1.fc40 |
Fedora seems to have some strange policy and besides patch level updates doesn’t provide versions of Go newer than the version that was chosen for the particular Fedora release. For instance I’m using Fedora 41 and I will never get Go 1.24.x before I upgrade it to Fedora 42 that isn’t released yet.
This can bring a critical issue that prevents upgrading dependencies of Go projects. For example I can’t upgrade dependencies of my project automatically because the newer version of one of its dependencies needs Go >= 1.24.0 that I can’t install officially on my Fedora 41, and this is the error that I get:
$ go get -u ./...
go: github.com/ory/client-go@v1.17.2 requires go >= 1.24.0 (running go 1.23.7; GOTOOLCHAIN=local)
I can run go get -u github.com/ory/client-go@v1.15.17 manually, but what about the rest of the dependencies? I’m blocked and will not be able to upgrade all other dependencies automatically for several months now. Upgrading them one by one is very inconvenient.
Fedora 42 is planned for release after about two months from now. But I’m not planning to upgrade my Fedora to version 42 at the day 1 after it will be released, so for me it will happen even later.
On the other hand Fedora provides several versions of Java:
java-1.8.0-openjdk
java-11-openjdk
java-17-openjdk
java-21-openjdk
java-latest-openjdk (OpenJDK 23)
Please do something like that with the golang packages as well. If you go to https://go.dev/dl/ you will see two sets of Go versions that you can download there:
- Stable versions - currently provides two versions 1.24.1 and 1.23.7 of Go
- Archived versions - provides all older versions of Go
Please provide at least the same stable versions in all supported releases of Fedora. It’s much fewer than the bunch of versions of Java that you provides now. I can’t wait months for Fedora 42 just to be able to run go get -u ./...
without a fear of blocking errors like the above.
This is completely unfair and unjustified that Go is more restricted in Fedora than Java.