From Fedora Project Wiki

Revision as of 15:04, 12 December 2024 by Amoloney (talk | contribs) (Announcing the Change proposal)

Golang 1.24

This is a proposed Change for Fedora Linux.
This document represents a proposed Change. As part of the Changes process, proposals are publicly announced in order to receive community feedback. This proposal will only be implemented if approved by the Fedora Engineering Steering Committee.

Summary

Update of Go (golang package) to the upcoming version 1.24 in Fedora 42.

Owner

Current status

  • Targeted release: Fedora Linux 42
  • Last updated: 2024-12-12
  • Announced
  • Discussion thread
  • FESCo issue: <will be assigned by the Wrangler>
  • Tracker bug: <will be assigned by the Wrangler>
  • Release notes tracker: <will be assigned by the Wrangler>

Detailed Description

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

Feedback

No 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.24

Scope

  • Proposal owners:

Rebase the Golang package in Fedora 42 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:

It helps maintain the quality of the project, even though it doesn't align directly with the current objectives.

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.24 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.24 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.23.X if significant issues are discovered
  • Contingency deadline: Beta freeze
  • Blocks release? No

Documentation

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

Release Notes