(moving to F38) |
|||
(18 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
= Haskell GHC 9. | = Haskell GHC 9.2 & Stackage LTS 20 = | ||
== Summary == | == Summary == | ||
The GHC Haskell compiler will be updated from major version 8.10 to 9. | The GHC Haskell compiler will be updated from major version 8.10 to 9.2, | ||
and Haskell packages will be updated from Stackage LTS 18 to LTS | and Haskell packages will be updated from Stackage LTS 18 to LTS 20 versions. | ||
== Owner == | == Owner == | ||
Line 19: | Line 19: | ||
== Current status == | == Current status == | ||
[[Category: | [[Category:ChangeAcceptedF38]] | ||
<!-- 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 43: | Line 43: | ||
== Detailed Description == | == Detailed Description == | ||
For Fedora | For Fedora 38, the GHC Haskell compiler will be updated from version 8.10.7 to the latest stable 9.2.6 release (rebasing from the ghc9.2 package). | ||
Along with this, Haskell packages in [https://www.stackage.org Stackage] (the stable Haskell source package distribution) will be updated from the versions in LTS 18 to latest LTS | Along with this, Haskell packages in [https://www.stackage.org Stackage] (the stable Haskell source package distribution) will be updated from the versions in LTS 18 to latest LTS 20 release. | ||
Haskell packages not in Stackage will be updated to the latest appropriate version in the upstream [https://hackage.haskell.org Hackage] package repository. | Haskell packages not in Stackage will be updated to the latest appropriate version in the upstream [https://hackage.haskell.org Hackage] package repository. | ||
Line 53: | Line 53: | ||
Fedora users will have the latest stable Haskell compiler release, package tools, and current Haskell packages from Stackage LTS. | Fedora users will have the latest stable Haskell compiler release, package tools, and current Haskell packages from Stackage LTS. | ||
GHC 9. | GHC 9.2 is the current recommended version of GHC 9 and features performance improvements (particularly for aarch64 (new Native Code Generator) and s390x (llvm backend enabled with the new Hadrian build system), new language extension features (in particular Linear types support), and bugfixes (see the release notes linked in the Documentation section for more details). | ||
== Scope == | == Scope == | ||
* Proposal owners: | * Proposal owners: | ||
** update ghc8.10 is build against itself | ** update ghc8.10 is build against itself and use bundled libffi [done] | ||
** rebase ghc to 9. | ** update ghc9.0 is build against itself [done] | ||
** update ghc-rpm-macros to the final version for | ** rebase ghc to 9.2.6 [done] | ||
** refresh packagings with the latest cabal-rpm release | ** update ghc-rpm-macros to the final version for F38 [done] | ||
** update packages to latest [https://www.stackage.org/lts- | ** refresh packagings with the latest cabal-rpm release [done] | ||
** build all the packages in a Koji sidetag repo in dependency order using fbrnch | ** update packages to latest [https://www.stackage.org/lts-20 Stackage LTS 20] versions using cabal-rpm [updated to lts-20.8] | ||
** push the sidetag through Bodhi | ** build all the packages in a Koji sidetag repo in dependency order using fbrnch [done in f38-build-side-62436] | ||
** push the sidetag through Bodhi ([https://bodhi.fedoraproject.org/updates/FEDORA-2023-7a3a4921e3/ update]) | |||
* Other developers: no actions should be needed | * Other developers: no actions should be needed | ||
Line 84: | Line 85: | ||
Otherwise there should not be any direct upgrade impact. | Otherwise there should not be any direct upgrade impact. | ||
Users' Haskell projects will get built with ghc-9. | Users' Haskell projects will get built with ghc-9.2 when they next build them and might need some minor code tweaks. | ||
<!-- REQUIRED FOR SYSTEM WIDE CHANGES --> | <!-- REQUIRED FOR SYSTEM WIDE CHANGES --> | ||
== How To Test == | == How To Test == | ||
Line 94: | Line 94: | ||
* install ghc-*-devel or ghc-*-prof or ghc-*-doc | * install ghc-*-devel or ghc-*-prof or ghc-*-doc | ||
* cabal-rpm builddep <favouritepackage>; cabal install <favouritepackage> | * cabal-rpm builddep <favouritepackage>; cabal install <favouritepackage> | ||
* test upgrades of | * test upgrades of F37 Haskell packages to F38 | ||
<!-- REQUIRED FOR SYSTEM WIDE CHANGES --> | <!-- REQUIRED FOR SYSTEM WIDE CHANGES --> | ||
Line 102: | Line 102: | ||
This makes it easier to build the latest versions of Haskell projects. | This makes it easier to build the latest versions of Haskell projects. | ||
In particular `cabal-install` will also be updated from 3.2 to 3. | In particular `cabal-install` will also be updated from 3.2 to 3.6. | ||
== Dependencies == | == Dependencies == | ||
Line 112: | Line 112: | ||
== Contingency Plan == | == Contingency Plan == | ||
* Contingency mechanism: (What to do? Who will do it?) | * Contingency mechanism: (What to do? Who will do it?) | ||
** Change owner will drop the new builds and revert back to the versions in | ** Change owner will drop the new builds and revert back to the versions in F37 | ||
* Contingency deadline: Beta Freeze | * Contingency deadline: Beta Freeze | ||
Line 121: | Line 121: | ||
<!-- 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? --> | ||
* Blocks release? N/A (not a System Wide Change), Yes/No <!-- REQUIRED FOR SYSTEM WIDE CHANGES --> | * Blocks release? N/A (not a System Wide Change), Yes/No <!-- REQUIRED FOR SYSTEM WIDE CHANGES --> | ||
== Documentation == | == Documentation == | ||
* https://downloads.haskell.org/~ghc/9.0.2/docs/html/users_guide/9.0.1-notes.html | * https://downloads.haskell.org/~ghc/9.0.2/docs/html/users_guide/9.0.1-notes.html | ||
* https://downloads.haskell.org/~ghc/9.2.6/docs/html/users_guide/9.2.1-notes.html | |||
* https://downloads.haskell.org/~ghc/9. | |||
== Release Notes == | == Release Notes == | ||
The Haskell GHC compiler has been updated from 8.10. | The Haskell GHC compiler has been updated from 8.10.7 to 9.2.6 with many improvements. |
Latest revision as of 15:17, 1 March 2023
Haskell GHC 9.2 & Stackage LTS 20
Summary
The GHC Haskell compiler will be updated from major version 8.10 to 9.2, and Haskell packages will be updated from Stackage LTS 18 to LTS 20 versions.
Owner
- Name: Jens Petersen
- Email: petersen@redhat.com
- Name: Haskell SIG
- Email: haskell@lists.fedoraproject.org
Current status
- Targeted release: Fedora Linux 38
- Last updated: 2023-03-01
- devel thread
- FESCo issue: #2783
- Tracker bug: #2080355
- Release notes tracker: #827
Detailed Description
For Fedora 38, the GHC Haskell compiler will be updated from version 8.10.7 to the latest stable 9.2.6 release (rebasing from the ghc9.2 package). Along with this, Haskell packages in Stackage (the stable Haskell source package distribution) will be updated from the versions in LTS 18 to latest LTS 20 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 Stackage LTS.
GHC 9.2 is the current recommended version of GHC 9 and features performance improvements (particularly for aarch64 (new Native Code Generator) and s390x (llvm backend enabled with the new Hadrian build system), new language extension features (in particular Linear types support), and bugfixes (see the release notes linked in the Documentation section for more details).
Scope
- Proposal owners:
- update ghc8.10 is build against itself and use bundled libffi [done]
- update ghc9.0 is build against itself [done]
- rebase ghc to 9.2.6 [done]
- update ghc-rpm-macros to the final version for F38 [done]
- refresh packagings with the latest cabal-rpm release [done]
- update packages to latest Stackage LTS 20 versions using cabal-rpm [updated to lts-20.8]
- build all the packages in a Koji sidetag repo in dependency order using fbrnch [done in f38-build-side-62436]
- push the sidetag through Bodhi (update)
- 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
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.2 when they next build them and might need some minor code tweaks.
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 F37 Haskell packages to F38
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.2 to 3.6.
Dependencies
Contingency Plan
- Contingency mechanism: (What to do? Who will do it?)
- Change owner will drop the new builds and revert back to the versions in F37
- 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
- https://downloads.haskell.org/~ghc/9.0.2/docs/html/users_guide/9.0.1-notes.html
- https://downloads.haskell.org/~ghc/9.2.6/docs/html/users_guide/9.2.1-notes.html
Release Notes
The Haskell GHC compiler has been updated from 8.10.7 to 9.2.6 with many improvements.