From Fedora Project Wiki
(→‎Documentation: migration page)
(adding release notes tracker)
 
(One intermediate revision by one other user not shown)
Line 41: Line 41:
* FESCo issue: [https://pagure.io/fesco/issue/3133 #3133]
* FESCo issue: [https://pagure.io/fesco/issue/3133 #3133]
* Tracker bug: [https://bugzilla.redhat.com/show_bug.cgi?id=2258070 #2258070]
* Tracker bug: [https://bugzilla.redhat.com/show_bug.cgi?id=2258070 #2258070]
* Release notes tracker: <will be assigned by the Wrangler>
* Release notes tracker: [https://gitlab.com/fedora/docs/fedora-linux-documentation/release-notes/-/issues/138 #138]


== Detailed Description ==
== Detailed Description ==
Line 113: Line 113:
<!-- If you cannot complete your feature by the final development freeze, what is the backup plan?  This might be as simple as "Revert the shipped configuration".  Or it might not (e.g. rebuilding a number of dependent packages).  If you feature is not completed in time we want to assure others that other parts of Fedora will not be in jeopardy.  -->
<!-- If you cannot complete your feature by the final development freeze, what is the backup plan?  This might be as simple as "Revert the shipped configuration".  Or it might not (e.g. rebuilding a number of dependent packages).  If you feature is not completed in time we want to assure others that other parts of Fedora will not be in jeopardy.  -->
* Contingency mechanism:
* Contingency mechanism:
** Change owner will drop the new builds and revert dist-git back to the versions in F39
** Change owner will drop the new builds and revert dist-git back to the versions in F40
* Contingency deadline: Beta Freeze
* Contingency deadline: Beta Freeze
<!-- Does finishing this feature block the release, or can we ship with the feature in incomplete state? -->
<!-- Does finishing this feature block the release, or can we ship with the feature in incomplete state? -->

Latest revision as of 14:25, 14 October 2024

Haskell GHC 9.6 and Stackage LTS 22

Summary

Update the GHC Haskell compiler from major version 9.4 to 9.6 and Haskell packages from Stackage LTS 21 to LTS 22 versions.

Owner


Current status

Detailed Description

For Fedora 41, the main GHC Haskell compiler package will be updated from version 9.4.5 to the latest stable 9.6.6 release (rebasing the ghc package from the ghc9.6 package). Along with this, Haskell packages in Stackage (the stable Haskell source package distribution) will be updated from the versions in LTS 21 to latest LTS 22 release. Haskell packages not in Stackage will be updated to the latest appropriate version in the upstream Hackage package repository.

Feedback

Benefit to Fedora

Fedora users will have the latest stable Haskell compiler release, package tools, and current Haskell packages from latest Stackage LTS.

GHC 9.6.6 is the latest current stable version of GHC with various enhancements and fixes (see the release notes linked in the Documentation section for more details about new features and improvements in 9.6).

Scope

  • Proposal owners:
    • update rawhide ghc9.4 is build against itself [done]
    • rebase ghc to 9.6.6 and obsolete ghc9.6 [done]
    • refresh packagings with the latest cabal-rpm release if needed [done before mass rebuild]
    • update packages to latest Stackage LTS 22 versions using cabal-rpm [used lts-22.29]
    • build all the packages in a Koji sidetag repo in dependency order using fbrnch [done]
    • push the sidetag through Bodhi to rawhide [done]
    • obsolete deprecated packages [in progress]
    • build ghc9.10 using the new Haskell packages [in progress]
  • Other developers: no actions should be needed
  • Policies and guidelines: N/A (not needed for this Change)
  • Trademark approval: N/A (not needed for this Change)
  • Alignment with Community Initiatives: N/A

Upgrade/compatibility impact

Any dropped packages will have obsoletes added. Otherwise there should not be any direct upgrade impact.

Users' Haskell projects will get built with ghc-9.6 when they next build them and might need some minor code tweaks (see the release notes linked below).

How To Test

  • install ghc and cabal-install
  • install pandoc, ShellCheck, ghcid, git-annex, hadolint, stack, xmonad, Agda
  • install ghc-*-devel or ghc-*-prof or ghc-*-doc
  • cabal-rpm builddep <favouritepackage>; cabal install <favouritepackage>
  • install ghc8.10, ghc9.0, ghc9.2, ghc9.4, or ghc*devel
  • test upgrades of F40 Haskell packages to F41

User Experience

Users will have the most recent stable major version of ghc and Haskell libraries and tools available to them. This makes it easier to build the latest versions of Haskell projects.

In particular cabal-install will also be updated from 3.8 to 3.10, pandoc will be updated to 3.1.11, and stack to 2.15.

Dependencies

Contingency Plan

  • Contingency mechanism:
    • Change owner will drop the new builds and revert dist-git back to the versions in F40
  • Contingency deadline: Beta Freeze
  • Blocks release? No

Documentation

Release Notes

GHC has been updated to major version 9.6 and Haskell packages to Stackage LTS 22 versions.