Skip to content

Drop support for anything below GHC 8.0.0, base 4.9.0.0, Cabal 2.0.0.0#11630

Open
zlonast wants to merge 2 commits intohaskell:masterfrom
zlonast:zlonast/old-mkVersion
Open

Drop support for anything below GHC 8.0.0, base 4.9.0.0, Cabal 2.0.0.0#11630
zlonast wants to merge 2 commits intohaskell:masterfrom
zlonast:zlonast/old-mkVersion

Conversation

@zlonast
Copy link
Collaborator

@zlonast zlonast commented Mar 17, 2026

We don't have any testing for such old versions of ghc. Since this code isn't used, I assume it doesn't work, but it's difficult to confirm otherwise.

We just dropped everything below (ghc 8.0.0, base 4.9.0.0, cabal 2.0.0.0)

Template Α: This PR modifies behaviour or interface

Include the following checklist in your PR:

@zlonast
Copy link
Collaborator Author

zlonast commented Mar 17, 2026

Should we drop compilers below 8.6? Or 8.8?

@zlonast zlonast force-pushed the zlonast/old-mkVersion branch 3 times, most recently from 1cd54e4 to 27e6671 Compare March 17, 2026 19:15
@ffaf1
Copy link
Collaborator

ffaf1 commented Mar 17, 2026

This does modify behaviour, does it not?

@zlonast zlonast force-pushed the zlonast/old-mkVersion branch 2 times, most recently from 9f262e4 to 2547133 Compare March 17, 2026 20:17
@zlonast
Copy link
Collaborator Author

zlonast commented Mar 18, 2026

@ffaf1 It seems to me that if I can't compile the code with an old compiler, then this doesn't count as a change in behavior.

@ffaf1
Copy link
Collaborator

ffaf1 commented Mar 18, 2026

@ffaf1 It seems to me that if I can't compile the code with an old compiler, then this doesn't count as a change in behavior.

Makes sense!

@zlonast zlonast mentioned this pull request Mar 21, 2026
6 tasks
@zlonast zlonast requested review from ffaf1 and ulysses4ever March 21, 2026 19:33
, Z.zVersionDigits = show $ versionNumbers $ packageVersion pkg_descr
, Z.zSupportsCpp = supports_cpp
, Z.zSupportsNoRebindableSyntax = supports_rebindable_syntax
, Z.zSupportsCpp = True
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the same problem, is it not?
Will zSuppoerCpp ever be False?
Or is it different?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought about it and tried to remove as much code as possible that just looks like True or False

@zlonast zlonast force-pushed the zlonast/old-mkVersion branch from 314c399 to ca8e7bb Compare March 23, 2026 15:10
@zlonast zlonast changed the title Remove old mkVersion We just dropped everything below (ghc 8.0.0, base 4.9.0.0, cabal 2.0.0.0) Mar 23, 2026
@zlonast zlonast force-pushed the zlonast/old-mkVersion branch from 9e5e88e to f0bc384 Compare March 24, 2026 09:19
@zlonast zlonast mentioned this pull request Mar 24, 2026
6 tasks
@zlonast zlonast force-pushed the zlonast/old-mkVersion branch from fce4414 to 3b62aac Compare March 24, 2026 09:31
@zlonast
Copy link
Collaborator Author

zlonast commented Mar 24, 2026

Unknown package cabal-dev-scripts

🤔

@@ -0,0 +1,11 @@
---
synopsis: "We just dropped everything below (ghc 8.0.0, base 4.9.0.0, cabal 2.0.0.0)"
packages: [cabal-dev-scripts, cabal-install-solver, cabal-install, Cabal-syntax, Cabal]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We do not release cabal-dev-scripts, so you can remove it from here.

Comment on lines +7 to +10
We don't have any testing for such old versions of ghc.
Since this code isn't used, I assume it doesn't work,
but it's difficult to confirm otherwise.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is going to end up in release notes, sentences with “I” do not conform to a normal changelog style.
Just say we drop support fro anything below xyz.

@@ -0,0 +1,11 @@
---
synopsis: "We just dropped everything below (ghc 8.0.0, base 4.9.0.0, cabal 2.0.0.0)"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove "",

Suggested change
synopsis: "We just dropped everything below (ghc 8.0.0, base 4.9.0.0, cabal 2.0.0.0)"
synopsis: Drop support for anything below GHC 8.0.0, base 4.9.0.0, Cabal 2.0.0.0

@zlonast zlonast changed the title We just dropped everything below (ghc 8.0.0, base 4.9.0.0, cabal 2.0.0.0) Drop support for anything below GHC 8.0.0, base 4.9.0.0, Cabal 2.0.0.0 Mar 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants