Golang 1.21
Summary
Update of Go (golang package) to the upcoming version 1.21 in Fedora 39.
Owner
- Name: Alejandro Sáez Morollón
- Email: asm@redhat.com
Current status
- Targeted release: Fedora Linux 39
- Last updated: 2023-09-28
- devel thread
- FESCo issue: #3023
- Tracker bug: #2233274
- Release notes tracker: #1008
Detailed Description
Update of Go (golang package) to the upcoming version 1.21 in Fedora 39. Go 1.21 is expected to be released in August 2023. A mass rebuild of all of the dependent packages is required.
Feedback
No feedback yet.
Benefit to Fedora
Up-to-date and latest Go release will be delivered to Fedora users. Being close to upstream allows us to avoid security issues and provide more up-to-date features. Therefore Fedora will be providing a reliable development platform for Go language and projects written in it.
For a complete list of changes, see upstream change notes at https://tip.golang.org/doc/go1.21
Scope
- Proposal owners:
Rebase Golang package in Fedora 39, and help resolve possible issues found during package rebuilds.
- Other developers:
Fix possible issues, with help from Golang maintainers.
- Release engineering: #Releng issue number
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 Community Initiatives: It doesn't align directly with the current objectives but it helps maintain the quality of the project.
Upgrade/compatibility impact
No upgrade or compatibility impact.
How To Test
- Install golang 1.21 from rawhide and use it to build your application(s)/package(s).
- Scratch build against rawhide.
- Your application/package built using golang 1.21 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: ~2000.
Contingency Plan
- Contingency mechanism: Revert to Go 1.20.X if significant issues are discovered
- Contingency deadline: Beta freeze
- Blocks release? No
Documentation
https://tip.golang.org/doc/go1.21