Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop support for GHC 7.x and hvr/ppa install method #60

Open
andreasabel opened this issue Dec 30, 2023 · 4 comments
Open

Drop support for GHC 7.x and hvr/ppa install method #60

andreasabel opened this issue Dec 30, 2023 · 4 comments

Comments

@andreasabel
Copy link
Member

I'd say the time is ripe now for dropping installation support for GHC 7.

@MaximilianAlgehed
Copy link

We still try to support old versions of GHC running on ubuntu 20.04 in QuickCheck and I'm working on trying to migrate our CI to haskell-actions/setup instead of the current haskell-ci generated CI script. However, this would make it impossible for me to do so.

@andreasabel
Copy link
Member Author

Thanks for the feedback, @MaximilianAlgehed.
There is no rush in dropping GHC 7 now.
Do you have a policy how long you want to support GHC 7? (GHC 8.0 was released in May 2016, so that is becoming 8 years soon.)

At some point, GHA will pull the plug on ubuntu-20.04, and that will be the end for the ppa:hvr/ghc install method. If they follow the same schedule as for 18.04, brownouts could already start in Fall 2024: https://github.blog/changelog/2022-08-09-github-actions-the-ubuntu-18-04-actions-runner-image-is-being-deprecated-and-will-be-removed-by-12-1-22/

@MaximilianAlgehed
Copy link

I think @nick8325 is best positioned to decide when / if to drop ghc 7 support. If we are forced to migrate away from ubuntu-20.04 I don't think we have the option to maintain ghc 7 support in any meaningful way in ci. However, we do still support hugs so it would be sad to have to drop ghc 7 support so soon.

One option when we loose ppa:hvr/ghc is to "simply" download and install from haskell.org - assuming that executable keeps working with newer versions of e.g. lib-c. Would it be an option for haskell-actions/setup to support an install method like that?

@andreasabel
Copy link
Member Author

Would it be an option for haskell-actions/setup to support an install method like that?

I think binary installs should be handled by ghcup; I do see not point in duplicating this feature here. Maybe you could add a release channel to ghcup that handles legacy GHCs on certain machines. (E.g. macOS only properly supports GHC 7.10 and up.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants