From Fedora Project Wiki
Line 21: Line 21:


== Current status ==
== Current status ==
[[Category:ChangeAnnounced]]
[[Category:ChangeReadyForFesco]]
<!-- When your change proposal page is completed and ready for review and announcement -->
<!-- When your change proposal page is completed and ready for review and announcement -->
<!-- remove Category:ChangePageIncomplete and change it to Category:ChangeReadyForWrangler -->
<!-- remove Category:ChangePageIncomplete and change it to Category:ChangeReadyForWrangler -->
Line 41: Line 41:


* [https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/UGKFJDHBBZZNDBAVOX2OPXFTWJ2ADXBD/ devel thread]
* [https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/UGKFJDHBBZZNDBAVOX2OPXFTWJ2ADXBD/ devel thread]
* FESCo issue: <will be assigned by the Wrangler>
* FESCo issue: [https://pagure.io/fesco/issue/2844 #2844]
* Tracker bug: <will be assigned by the Wrangler>
* Tracker bug: <will be assigned by the Wrangler>
* Release notes tracker: <will be assigned by the Wrangler>
* Release notes tracker: <will be assigned by the Wrangler>

Revision as of 17:11, 26 July 2022

Haskell GHC 8.10.7 & Stackage LTS 18.28

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

The GHC Haskell compiler will be updated from minor version 8.10.5 to 8.10.7, and Haskell packages will be updated to Stackage LTS 18.28 minor versions.

Owner

Current status

  • devel thread
  • FESCo issue: #2844
  • Tracker bug: <will be assigned by the Wrangler>
  • Release notes tracker: <will be assigned by the Wrangler>

Detailed Description

For Fedora 37, the GHC Haskell compiler will be updated from version 8.10.5 to 8.10.7 release (rebasing from the ghc8.10 package). Along with this, Haskell packages in Stackage (the stable Haskell source package distribution) will be updated to the final LTS 18.28 minor 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 a newer more stable Haskell compiler, tools, and current Haskell packages from final Stackage LTS 18.

GHC 8.10.7 contains some important bug fixes (see the release notes linked in the Documentation section for more details).

Scope

  • Proposal owners:
    • rebase ghc to 8.10.7
    • update ghc-rpm-macros to the final version for F37
    • update packages to latest Stackage LTS 18 versions using cabal-rpm
    • build all the packages in a Koji sidetag repo in dependency order using fbrnch
    • push the sidetag through Bodhi to Rawhide before the mass rebuild [done]
  • 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 Objectives:

Upgrade/compatibility impact

There should not be any significant upgrade impact, except that ghc-8.10.7 conflicts with ghc8.10: users should remove ghc8.10 from their system before upgrading.

Users' Haskell projects will get built with ghc-8.10.7 when they next build: 8.10.7 should be quite compatible with 8.10.5.


How To Test

  • install ghc and cabal-install
  • install pandoc, ShellCheck, ghcid, git-annex, hadolint, stack, xmonad
  • install ghc-*-devel or ghc-*-prof or ghc-*-doc
  • cabal-rpm builddep <favouritepackage>; cabal install <favouritepackage>
  • test upgrades of F36 Haskell packages to F37


User Experience

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

Dependencies

Contingency Plan

  • Contingency mechanism: (What to do? Who will do it?)
    • Change owner can revert back to the versions in F36.
  • Contingency deadline: Beta Freeze
  • Contingency mechanism: (What to do? Who will do it?) N/A (not a System Wide Change)
  • Contingency deadline: N/A (not a System Wide Change)
  • Blocks release? N/A (not a System Wide Change), Yes/No


Documentation

Release Notes

The Haskell GHC compiler has been updated from 8.10.5 to 8.10.7 with some important bugfixes.