commercialhaskell / stackage

Stable Haskell package sets: vetted consistent packages from Hackage
https://www.stackage.org/
MIT License
525 stars 797 forks source link

Skipping the GHC 9.8 LTS / GHC 9.10 Nightly #7462

Open ysangkok opened 1 week ago

ysangkok commented 1 week ago
LTS major version Y in X.Y.Z GHC version for .0 LTS GHC version in .0 LTS LTS release date for .0 Lag after first release of .1 release of next major GHC
15 .2 8.8.2 2020-02-16 37 days after 8.10.1
17 .3 8.10.3 2021-01-24 11 days before 9.0.1
19 .2 9.0.2 2022-03-17 139 days after 9.2.1
20 .5 9.2.5 2022-11-16 101 days after 9.4.1
21 .5 9.4.5 2023-06-20 102 days after 9.6.1
22 .3 9.6.3 2023-12-16 68 days after 9.8.1

GHC 9.10.1 was released on 2024-05-10, which is already 45 days ago. Cabal-install-3.12, which is compatible, just got a release candidate.

Given that GHC devs decided to deprioritize GHC 9.8, I wonder if it makes sense to just skip the GHC 9.8 LTS, and move nightly to GHC 9.10? Then the GHC 9.6 LTS could be kept alive for longer.

juhp commented 6 days ago

Hmm, this has crossed my mind too, though it does feel quite unconventional...

I do wish this would be formalized more by ghc versioning.

alaendle commented 6 days ago

Personally I tend to keep the current schema; so maybe just waiting for 9.6.6 (eta 2024-06-28 https://gitlab.haskell.org/ghc/ghc/-/milestones/401#tab-issues), create last lts-22, create lts-23 with ghc 9.8 and move nightly to ghc-9.10 feels more natural to me - and also means smaller steps (for us and potential stackage users that move from lts to lts).

DanBurton commented 4 days ago

I'd like to defer the decision until after 9.6.6 is released. We certainly want to keep making lts-22 releases until that happens in order to pick up that ghc release.

I'm still inclined to do lts-23 with ghc-9.8 and to delay the nightly switchover to 9.10 until after that begins. The de-prioritization of ghc-9.8 was not declared to be permanent, they are just temporarily prioritizing continued support of 9.6. They stated:

The next release in this series [9.8] will likely be scheduled after the 9.6.6 release.

endgame commented 18 hours ago

@ysangkok has flagged that Amazonka doesn't have a GHC 9.8-compatible release on Hackage. What's your timeframe on cutting 9.8 LTS? I don't really use Stack, but if we can get a 9.8-compatible release onto Hackage before LTS-23 snapshots start rolling out, that seems good for those that do.