From Fedora Project Wiki

Golang 1.26

Summary

Update of Go (golang package) to the upcoming version 1.26 in Fedora 44.

Owner

Current status

Detailed Description

Update of Go (golang package) to the upcoming version 1.26 in Fedora 44. Go 1.26 is expected to be released in February 2026. A mass rebuild of all the dependent packages is required.

Feedback

Not feedback yet.

Benefit to Fedora

Fedora users will receive the most current and recent Go release. Being close to upstream allows us to avoid security issues and provide more updated features. Consequently, Fedora will provide a reliable development platform for the Go language and projects written in it.

For a complete list of changes, see upstream change notes at https://tip.golang.org/doc/go1.26

Scope

  • Proposal owners:

Rebase the Golang package in Fedora 44 and help resolve any issues found during the rebuild.

  • Other developers:

Fix potential issues with the help of the Golang package maintainers.

Rebuild of dependent packages as part of planned mass-rebuild.

  • Policies and guidelines: N/A (not needed for this Change)
  • Trademark approval: N/A (not needed for this Change)
  • Alignment with the Fedora Strategy:

Upgrade/compatibility impact

No upgrade or compatibility impact.


Early Testing (Optional)

Do you require 'QA Blueprint' support? N

How To Test

  1. Install golang 1.26 from rawhide and use it to build your application(s)/package(s).
  2. Perform a scratch build against rawhide.
  3. Your application/package built using golang 1.26 should work as expected.


User Experience

Users will have a newer version of Go, with new features described in the release notes and security fixes.

Dependencies

dnf repoquery -q  --releasever=rawhide --disablerepo='*' --qf='%{name}' --enablerepo=fedora-source --enablerepo=updates-source --enablerepo=updates-testing-source --archlist=src --whatrequires 'golang'
dnf repoquery -q  --releasever=rawhide --disablerepo='*' --qf='%{name}' --enablerepo=fedora-source --enablerepo=updates-source --enablerepo=updates-testing-source --archlist=src --whatrequires 'compiler(go-compiler)'
dnf repoquery -q  --releasever=rawhide --disablerepo='*' --qf='%{name}' --enablerepo=fedora-source --enablerepo=updates-source --enablerepo=updates-testing-source --archlist=src --whatrequires 'go-rpm-macros'
Omitted due to the number of packages listed.


Contingency Plan

  • Contingency mechanism: Revert to Go 1.25.X if significant issues are discovered
  • Contingency deadline: Beta freeze
  • Blocks release? No

Documentation

https://tip.golang.org/doc/go1.26

Release Notes