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 pre-8.0 versions of GHC #74

Merged
merged 1 commit into from
Oct 25, 2024
Merged

Conversation

RyanGlScott
Copy link
Member

Unfortunately, it is no longer possible to reasonably test versions of GHC prior to 8.0 on modern versions of Linux, macOS, or Windows, as these versions of GHC all run into subtle OS incompatibility issues. While we could leave all of the old, pre-8.0 code paths around in base-orphans, this runs the risk of bitrotting very quickly. As such, I have opted to remove these code paths here. Given that GHC 7.10.3 was released nearly a decade ago, I believe that the risk of breaking anyone's workflows by doing this is very minimal.

(It's somewhat unfortunate that we have to drop compatibility like this in an explicitly compatibility-oriented library like base-orphans, but so be it.)

@sol
Copy link
Member

sol commented Oct 25, 2024

Recently, I dropped GHC 7.10.3 support for hspec for the same reason.

Unfortunately, it is no longer possible to reasonably test versions of GHC
prior to 8.0 on modern versions of Linux, macOS, or Windows, as these versions
of GHC all run into subtle OS incompatibility issues. While we could leave all
of the old, pre-8.0 code paths around in `base-orphans`, this runs the risk of
bitrotting very quickly. As such, I have opted to remove these code paths here.
Given that GHC 7.10.3 was released nearly a decade ago, I believe that the risk
of breaking anyone's workflows by doing this is very minimal.

(It's somewhat unfortunate that we have to drop compatibility like this in an
explicitly compatibility-oriented library like `base-orphans`, but so be it.)
@RyanGlScott RyanGlScott merged commit fe07cb1 into master Oct 25, 2024
24 checks passed
@RyanGlScott RyanGlScott deleted the drop-pre-8.0-support branch October 25, 2024 10:43
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

Successfully merging this pull request may close these issues.

2 participants